It would be nice if -D worked togheter with --new-use. As it is now you allso have to give -u. Which means that if you want to recompile all packages that has had a change in use flags you allso have to upgrade all packages. So i would like to be able to do 'emerge -D --new-use' instead of doing 'emerge -uD --new-use'. Right now 'emerge -D --new-use' is the same as 'emerge --new-use' Reproducible: Always Steps to Reproduce:
All three have their own meanings and usage.
I will reopen this once sine I am not sure you understand the problem. Lets say that I install package "foo" and that as a dependecy the package "bar" gets installed. That is to say that "bar" will not be in the world file. Lets allso pretend that package bar uses the USE flag "unicode" and that I later change the USE flag "unicode". If i then run "emerge --newuse world" it will not show that the package "bar" should be compiled since it is not in the world file and --newuse does not check for the dependecies. It does not help to give the -D flag ither since it only works with the uppgrade flag (-u). So the only way to check if dependencies not in the world file needs to be recompiled is to run "emerge --newuse -D -u". That is to say I have to make an uppgrade wether I like it or not. I think that --newuse ither should check for dependecies or that the -D flag should work with the --newuse flag also. As it is now it is rather confusing. I have seen a lot of people sugesting folk to run "emerge --newuse -D" on the forum after they have changed the USE flags settings. If you dont agree youre free to close this bugg an I will not reopen it again. I just wanted to make sure that I made myself clear.
I have found the same bug (I agree with Stefan that this is a bug) today. I changed from USE=+xmms to USE=-xmms, and wanted to recompile the programs affected by that change (amarok, faad2 and mplayer). ######################################################### ### amarok, faad2 and mplayer are affected by xmms flag hab107 root # emerge -epv world | grep xmms [ebuild N ] media-sound/amarok-1.2.1 +arts -debug -gstreamer +kde +kdeenablefinal +mysql -noamazon +opengl +xine -xinerama -xmms* 0 kB [ebuild N ] media-libs/faad2-2.0-r3 -debug -xmms* 0 kB [ebuild N ] media-video/mplayer-1.0_pre6-r4 -3dfx +3dnow -3dnowext +X -aalib +alsa (-altivec) +arts +avi -bidi -cdparanoia -debug -dga -directfb -divx4linux +doc -dts -dv -dvb +dvd +dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad +matroska -matrox +mmx -mmxext +mpeg -mythtv -nas +nls +nvidia +oggvorbis +opengl +oss +png +real -rtc -samba +sdl +sse -sse2 +svga -tga +theora +truetype -v4l -v4l2 -xanim -xinerama -xmms* +xv +xvid -xvmc 0 kB ################################################################## ## A simple --newuse option only recompiles amarok (WHY??? BUG??) hab107 root # emerge -atvD --newuse world These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [ebuild R ] media-sound/amarok-1.2.1 +arts -debug -gstreamer +kde +kdeenablefinal +mysql -noamazon +opengl +xine -xinerama -xmms* 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] No Quitting. ############################################################ ### I had to add -u to force faad2 and mplayer to recompile ### I didn't want to update to latest version, i just wanted ### to remove xmms support hab107 root # emerge -atvDu --newuse world These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [nomerge ] media-video/kmplayer-0.8.3a +arts -debug +kdeenablefinal +xine -xinerama [ebuild R ] media-video/mplayer-1.0_pre6-r4 -3dfx +3dnow -3dnowext +X -aalib +alsa (-altivec) +arts +avi -bidi -cdparanoia -debug -dga -directfb -divx4linux +doc -dts -dv -dvb +dvd +dvdread -edl +encode -esd -fbcon -ggi +gif +gtk -i8x0 +ipv6 -jack -joystick +jpeg -libcaca -lirc -live -lzo +mad +matroska -matrox +mmx -mmxext +mpeg -mythtv -nas +nls +nvidia +oggvorbis +opengl +oss +png +real -rtc -samba +sdl +sse -sse2 +svga -tga +theora +truetype -v4l -v4l2 -xanim -xinerama -xmms* +xv +xvid -xvmc 0 kB [ebuild R ] media-libs/faad2-2.0-r3 -debug -xmms* 0 kB [ebuild R ] media-sound/amarok-1.2.1 +arts -debug -gstreamer +kde +kdeenablefinal +mysql -noamazon +opengl +xine -xinerama -xmms* 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] No --- Hope it helps.
Putting a hold on feature requests for portage as they are drowning out the bugs. Most of these features should be available in the next major version of portage. But for the time being, they are just drowning out the major bugs and delaying the next version's progress. Any bugs that contain patches and any bugs for etc-update or dispatch-conf can be reopened. Sorry, I'm just not good enough with bugzilla. ;)
--newuse implies -u now, so this should no longer be an issue.
Fixed a while ago, I am not 100% of the release version.
Ugh, I need to stop misclicking.