Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64021 - emerge --newuse doesn't work correctly
Summary: emerge --newuse doesn't work correctly
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 09:51 UTC by Marcin Kryczek (RETIRED)
Modified: 2004-09-14 12:25 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 Marcin Kryczek (RETIRED) gentoo-dev 2004-09-14 09:51:39 UTC
i'm using portage-2.0.51-pre23 and i've noticed that --newuse doesn't work well. here's an example:

<root@CogES>~: cat /var/db/pkg/x11-libs/wxGTK-2.4.2-r3/IUSE
debug no_wxgtk1 gtk2 odbc opengl unicode
<root@CogES>~: cat /var/db/pkg/x11-libs/wxGTK-2.4.2-r3/USE
3dnow X aalib alsa apache2 arts avi crypt cups dvd encode esd fbcon flash gif glut gphoto2 gpm gtk gtk2 imlib imlib2 java javascript jikes jpeg lcms libwww maildir mailwrapper mbox memlimit mikmod mmx motif moznocompose moznoirc moznomail mpeg mysql ncurses nls nocardbus nptl nvidia oggvorbis opengl oss pam pda pdflib perl png ppds python quicktime readline samba sasl sdl serial slang spell sse ssl tcltk tcpd tiff truetype v4l v4l2 videos vim-with-x wmf x86 xv xvid zlib

here we can see, that wxGTK makes use from gtk2 flag, which was turned on during instalation. now i've turned it off:

<root@CogES>~: emerge -pv wxGTK

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

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.4.2-r3  -debug -gtk2* -no_wxgtk1 -odbc +opengl -unicode 0 kB

here portage 'see' that this flag was changed. (BTW: i like this idea with '*' next to changed flag;>)

now let's try:
<root@CogES>~: emerge --newuse -pD world |grep wxGTK
<root@CogES>~:

ups - nothing here;/ 

at the end: wxGTK *exists* in my dependencies's tree:
<root@CogES>~: emerge -peD world |grep wxGTK
[ebuild  N    ] x11-libs/wxGTK-2.4.2-r3
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-09-14 12:25:42 UTC
Requires a -u otherwise -D isn't useful.