Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105685 - sys-apps/portage-2.0.51.22-r2: wrong use flag in /etc/portage/package.use
Summary: sys-apps/portage-2.0.51.22-r2: wrong use flag in /etc/portage/package.use
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 06:46 UTC by Toralf Förster
Modified: 2005-09-12 07:41 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2005-09-12 06:46:54 UTC
If I defined 2 use flags for the package www-servers/tomcat-5.0.27-r6
portage ignores the correct use flag "doc", if the other flag is wrong
("examples") is not used in the ebuild:

n22 /opt/tomcat5 # grep tomcat /etc/portage/package.use
www-servers/tomcat              doc
#www-servers/tomcat             examples
n22 /opt/tomcat5 # emerge -pv tomcat

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] www-servers/tomcat-5.0.27-r6  +doc -jikes 0 kB

Total size of downloads: 0 kB
n22 /opt/tomcat5 #
n22 /opt/tomcat5 #
n22 /opt/tomcat5 #
n22 /opt/tomcat5 # grep tomcat /etc/portage/package.use
www-servers/tomcat              doc
www-servers/tomcat              examples
n22 /opt/tomcat5 # emerge -pv tomcat

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] www-servers/tomcat-5.0.27-r6  -doc* -jikes 0 kB

Total size of downloads: 0 kB


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Sven Wegener gentoo-dev 2005-09-12 06:55:30 UTC
The second flag doesn't have to be invalid. If the atom in the second line is the
same as in the first line, it overwrites the first.
Comment 2 Toralf Förster gentoo-dev 2005-09-12 07:38:07 UTC
Ough, so I have to specify all use flags at one line ?
Comment 3 SpanKY gentoo-dev 2005-09-12 07:41:24 UTC
yes, as the manpage says