I have a few oddities that I'm trying to work out. The first is this: I don't want qt-2 on my system. I have USE=qt and I have qt-3, and all the packages I use apart from games-action/chromium use qt-3. However, I can disable qt support in chromium by setting USE=-qt for it. So, having unmerged qt-2 and chromium, I did this: # emerge -uDp world These are the packages that I would merge, in order: Calculating world dependencies ...done! # cat /etc/portage/package.use games-action/chromium -qt # emerge -av chromium These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] x11-libs/qt-2.3.2-r1 +gif -nas +opengl 0 kB [ebuild N ] games-action/chromium-0.9.12-r5 +alsa +arts +esd +oggvorbis +qt +sdl +svga 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] no Quitting. # USE=-qt emerge -av chromium These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] games-action/chromium-0.9.12-r5 +alsa +arts +esd +oggvorbis -qt +sdl +svga 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] yes ...chromium merges... # emerge -uDp world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild N ] x11-libs/qt-2.3.2-r1 # As you can see, package.use just didn't take effect, and after the successful merge portage is detecting a dependency on qt-2 despite the fact that clearly nothing is dependent on it. Surely --deep must *know* that I did USE=-qt? Such information is stored in the package database... and I can't for the life of me see what's wrong with my package.use. Can someone please shed some light on this for me? :) # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-rc1-mm1) ================================================================= System uname: 2.6.3-rc1-mm1 i686 AMD Athlon(tm) XP 3200+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=387,sse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -mfpmath=387,sse" DISTDIR="/usr/portage/distfiles" FEATURES="ccache fixpackages sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow S3TC X aalib acpi acpi4linux alsa apm arts avi cdr clanJavaScript clanVoice crypt cups curl dga directfb doc emacs encode esd fbcon flash foomaticdb gd gdbm ggi gif gimpprint gphoto2 gpm gtk gtk2 guile imap imlib ipv6 java javascript jikes jpeg justify libg++ libwww mad mbox mikmod mmx motif mozilla mpeg msn music ncurses nls noqmax nptl offensive oggvorbis opengl oss pam passfile pda pdflib perl php pic png python qt quicktime readline ruby18 samba sdl slang spell sse ssl stencil-buffer svga tcltk tcpd tetex tiff truetype usb videos wmf x86 xml xml2 xmms xv xvid zlib" (You can see why I want to get package.use working!)
Further chronicles of... the qt version that time forgot! # mv /usr/portage/x11-libs/qt/qt-2.3.2-r1.ebuild . # emerge -uDp world These are the packages that I would merge, in order: Calculating world dependencies / emerge: there are no masked or unmasked ebuilds to satisfy "=x11-libs/qt-2*". !!! Problem with ebuild games-action/chromium-0.9.12-r5 !!! Possibly a DEPEND/*DEPEND problem. !!! Depgraph creation failed. # cat /var/db/pkg/games-action/chromium-0.9.12-r5/DEPEND virtual/glibc || ( sdl? ( media-libs/libsdl media-libs/smpeg ) virtual/glut ) oggvorbis? ( media-libs/libvorbis ) qt? ( =x11-libs/qt-2* ) media-libs/openal virtual/x11 !bootstrap? ( sys-devel/patch ) !bootstrap? ( sys-devel/patch ) theferret root # cat /var/db/pkg/games-action/chromium-0.9.12-r5/USE 3dnow S3TC X aalib acpi acpi4linux alsa apm arts avi cdr clanJavaScript clanVoice crypt cups curl dga directfb doc emacs encode esd fbcon flash foomaticdb gd gdbm ggi gif gimpprint gphoto2 gpm gtk gtk2 guile imap imlib ipv6 java javascript jikes jpeg justify libg++ libwww mad mbox mikmod mmx motif mozilla mpeg msn music ncurses nls noqmax nptl offensive oggvorbis opengl oss pam passfile pda pdflib perl php pic png python quicktime readline ruby18 samba sdl slang spell sse ssl stencil-buffer svga tcltk tcpd tetex tiff truetype usb videos wmf x86 xml xml2 xmms xv xvid zlib
The saga continues... Now I have this stuff in my /etc/portage/package.use : games-action/chromium -qt media-gfx/blender -mozilla media-libs/openvrml -javascript And yet *still* none of it applies, and emerge -uD world *still* tries to ruin everything. :(
tracked this down to being an old setting of USE_ORDER in /etc/make.globals. ferret has not closed the bug because it is as yet unknown why make.globals was not replaced or picked up by etc-update on updating to 2.0.50[-r1]
note: make.globals is still not replaced... even though the emerge said it is being replaced >>> /etc/make.globals nothing appearing in /etc/update, no ._cfg* files, nothing Come to think of it, I never have much to do in /etc/update.. but I've definitely made some changes with it (e.g., with each new udev version) http://users.ox.ac.uk/~worc1588/junk/make.conf http://users.ox.ac.uk/~worc1588/junk/make.globals
make.globals is replaced in pkg_postinst now, so it won't show up in etc-update. Please post `emerge -v --info | grep USE_ORDER`.
I'm afraid I can't. My power supply has died and so my machine is pretty much dead until I can get a replacement... I'm not sure what to do about this... either you can wait for me to get a new PSU and work out what's going on, or you can resolve this bug. All I know is, that after making a change to make.globals then doing "emerge portage", my change persisted (which as I understand it, is undesirable).
My system as it was no longer exists, so this bug is no longer replicatable. Closing.