Summary: | portage-2.1.9.25 does not allow capitals in filenames within /etc/portage/package.use/ | ||
---|---|---|---|
Product: | Portage Development | Reporter: | David Flogeras <dflogeras2> |
Component: | Core - Configuration | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Flogeras
2011-01-02 16:09:35 UTC
It works for me, so I guess you must have some other cause at work here. The code is located in the grablines functions inside /usr/lib/portage/pym/portage/util/__init__.py. It only ignores files that start with "." or end with "~". The files are processed in alphabetical order. Hmm, I put some print statements in the grablines function and can confirm it has parsed the file when it is named with all caps. If I have a file /etc/portage/package.use/PORTAGE, containing just: sys-apps/portage -doc it parses it, but ignores the -doc: Calculating dependencies... done! [ebuild R ] sys-apps/portage-2.1.9.25 USE="doc (ipc) -build -epydoc -python3 (-selinux)" LINGUAS="-pl" 0 kB Same results if the file is named /etc/portage/package/use/Portage However, if I have a file /etc/portage/package.use/pORTAGE it works as expected (or /etc/portage/package.use/portage, etc.)... Anything but starting with a capital letter I guess. The sort function puts the file starting with capitals at the beginning of the list, but that shouldn't matter. Anything else I can try/tell you? My guess is that you have multiple settings for sys-apps/portage, and in this case the order of processing due to file names can make a difference. This might locate the settings: grep -r sys-apps/portage /etc/portage/package.use If that doesn't find it, it may be to due to wildcard settings like these: sys-apps/* */portage wow, I am an idiot. funny thing is, both the original cause of my "bug", and the "sys-apps/portage -doc" (an example I just made up for the sake of this report because I thought I would pick a package I *definitely* hadn't modified myself) had other overrides. embarrassing... sorry to waste the classroom's time! |