Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33683 - SRC_URI syntax
Summary: SRC_URI syntax
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2003-11-17 09:42 UTC by Masatomo Nakano (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against portage.py (bugs.33683.patch,410 bytes, patch)
2003-11-18 08:51 UTC, Masatomo Nakano (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masatomo Nakano (RETIRED) gentoo-dev 2003-11-17 09:42:17 UTC
The latest portage in cvs doesn't use this syntax:
SRC_URI="cjk? ( http://foo/bar.tgz)"

It requires a space before bracket like this:
SRC_URI="cjk? ( http://foo/bar.tgz )"

Is it OK?
I think many ebuilds would encounter error.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-11-17 10:12:48 UTC
Yes, this has been encountered in the kde-i18n ebuilds.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-11-17 11:29:11 UTC
This appears to have been a regression from -r8 to -r15.  USE_EXPAND syntax within a SRC_URI doesn't work anymore either.

SRC_URI="linguas_nu? ( blah.tar.bz2 )"

always downloads the package whether or not linguas_nu is set.  the USE environment variable reflects the correct linguas_?? however.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-11-17 11:50:05 UTC
Upon further investigation, it seems a lot more random than that.  I can't explain how portage now decides which packages to download based on use expand, but it's definitely not right.
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-18 08:50:09 UTC
I just made a patch to fix this bug.
I know the patch is workaround.
But I think it's best way for now.

Thanks,
Masatomo
Comment 5 Masatomo Nakano (RETIRED) gentoo-dev 2003-11-18 08:51:22 UTC
Created attachment 20914 [details, diff]
patch against portage.py
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2003-11-28 05:02:42 UTC
included in cvs