Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60420 - Many packages "use" two or more of the same useflag.
Summary: Many packages "use" two or more of the same useflag.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 52160
Blocks:
  Show dependency tree
 
Reported: 2004-08-15 09:36 UTC by Xake
Modified: 2004-08-23 01:17 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 Xake 2004-08-15 09:36:49 UTC
Why does two packages say that they are using the same useflag twice?

For example the output from "emerge mozilla -pv" gives:
---
[ebuild     U ] net-www/mozilla-1.7.2 [1.7] +crypt -debug -debug +gnome +gtk2 +gtk2 +java +java -ldap -mozcalendar -mozdevelop -moznocompose -moznoirc -moznomail -moznoxft -moznoxft -mozsvg -mozxmlterm +ssl -xinerama -xprint  34,052 kB
---

And as you can see there are: 2x debug, 2x gtk2, 2x java and 2x moznoxft.

This is not the only ebuild I have seen giving doubled use-flags as output.
Should it be like this or is it something that is "wrong" in the ebuild?
Comment 1 Xake 2004-08-15 09:40:02 UTC
The "Why does two packages.." is wrong, read "two" as "many" as it is a typo.
Comment 2 Brian Harring (RETIRED) gentoo-dev 2004-08-15 21:15:06 UTC
This is indirectly a dupe of 52160; basically, due to 52160 not being fixed, eclass's/ebuilds do IUSE="${IUSE} blah".
Aside from that, portage 2.0.51_pre* has code to ensure no duplicate flags come through.


*** This bug has been marked as a duplicate of 52160 ***
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-08-15 21:21:24 UTC
hmm. I'm a tool, better to mark 52160 as a blocker for this.
Comment 4 Brian Harring (RETIRED) gentoo-dev 2004-08-22 19:29:34 UTC
.50-r10 now correctly preserves IUSE; so this bug is a visual bug, specific to eclass/ebuild's.
Note .51 parses IUSE and reduces it to unique flags; .50 doesn't, but the base bug is related to ebuilds/eclass.
Comment 5 Xake 2004-08-23 01:17:10 UTC
So there's still a bug in the mozilla ebuild?
Why then close and not reassign (or mark as a dupe of one pointing in that direction)?