I just did a stage1 install and ran into bug #39318. To solve it, I (temporarily) disabled the java USE flag. I just re-enabled it, and ran a emerge -p --newuse world but emerge sais everything is fine: # emerge -pv --newuse world These are the packages that I would merge, in order: Calculating world dependencies ...done! Total size of downloads: 0 kB However: # emerge -pv db These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-java/java-config-1.2.11 15 kB [ebuild N ] dev-java/blackdown-jre-1.4.2.02 -browserplugin +mozilla 13,206 kB [ebuild N f ] dev-java/java-sdk-docs-1.4.2 0 kB [ebuild N ] dev-java/blackdown-jdk-1.4.2.02 -browserplugin +doc +mozilla 33,556 kB [ebuild R ] sys-libs/db-4.2.52_p2 -bootstrap +doc +java* -nocxx -tcltk 0 kB Total size of downloads: 46,777 kB clearly, db needs an update... I also tried the -D option, same result Reproducible: Always Steps to Reproduce: # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11-gentoo-r6-kraxel1-bigbrother-019 i686) ================================================================= System uname: 2.6.11-gentoo-r6-kraxel1-bigbrother-019 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups divx4linux doc dts dv dvb dvd dvdr eds emboss encode ethereal flac foomaticdb gdbm gif gpm gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber java jpeg kde ldap libg++ libwww lm_sensors mad maildir matroskamikmod mmx motif mozilla mp3 mpeg msn nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nocardbus offensive ogg oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline real rrdtool rtc samba sasl sdl spell sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs wmf xinerama xml2 xmms xv xvid yahoo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
What's the output of emerge -evp world show?
(In reply to comment #1) > What's the output of emerge -evp world show? I'm guessing that sys-libs/db will not be included in the output of "emerge -evp world". That is normal if sys-libs/db was merged as a dependency of another package that is not yet installed. That would make this bug a duplicate of bug 97616 and bug 100382.
(striped useless builds (I guess): [ebuild N ] sys-libs/db-4.2.52_p2 -bootstrap +doc +java* -nocxx -tcltk 0 kB [ebuild N ] dev-libs/cyrus-sasl-2.1.20 -authdaemond +berkdb +gdbm +java* -kerberos +ldap -mysql +pam -postgres +ssl -static 0 kB
(In reply to comment #3) > (striped useless builds (I guess): > > [ebuild N ] sys-libs/db-4.2.52_p2 -bootstrap +doc +java* -nocxx -tcltk 0 kB > [ebuild N ] dev-libs/cyrus-sasl-2.1.20 -authdaemond +berkdb +gdbm +java* > -kerberos +ldap -mysql +pam -postgres +ssl -static 0 kB This output suggests that sys-libs/db-4.2.52_p2 is not installed (ebuild N) but comment #0 showed that it was installed (ebuild R). Have you uninstalled sys-libs/db-4.2.52_p2 between comment #0 and comment #3? Please attach /var/lib/portage/world.
I needed some space so deleted that setup, if needed I'll remake it. I didn't unmerge anything. I tried a stage 1 setup, but failed (see comment #1), so I disabled java. to break the circular dependency. to return to the desired state, I re-added java to the use flags and wanted to update all packages that need to: emerge --newuse world. Aparently, none needed updates... the N on the emerge output is normal (I guess), since you asked to --emptytree. Which will pretend nothing is installed. A normal emerge db gives the output in comment #1. as said, I deleted the files, but since this was right after emerge system, I guess the world-file would be empty. (I can check this, if you reasy want to)
Okay, I see the problem. You didn't use emerge --deep (-D). You should use that if you want portage to update dependencies. The sys-libs/db package is not directly a part of the world or system classes. It is a dependency. Portage seems to be working correctly.
As said in initial post: > > I also tried the -D option, same result
I'm also having a similar problem. I tried emerging nuvexport, received a warning about not having mjpeg as an use flag. I added it to my make.conf and emerge -upvDN world doesn't show transcode, but finds many others for other use flags. I added the -u option because I read somewhere that it is required for -N to find the packages.
I think I figured out my problem. The package nuvexport didn't finish emerging so it wasn't added to the world file. Since it wasn't in the world file emerge -upvDN world didn't find transcode. So not related to this bug, sorry. Back to the bug, did the original submiter try the -u option along with newuse?
(In reply to comment #9) > did the original submiter try the -u option along with newuse? No I did not. As already mentioned, I removed the setup, so I can't try it now. If wanted I can try to reinstall and check it.
I had the same problem this night when I tried to recompile my KDE (3.4.2 split ebuilds) without the arts useflag. After adding -arts to the make.conf and emerge -C arts kdemultimedia-arts artsplugin-*, I ran emerge -pvD --newuse world. This only showed a couple of packets (around 10) to rebuild. I was surprised, but let it run for the night. This morning I discovered that several programs still search for the arts libraries. Inspired by comment #9, I tried emerge -pvDu --newuse world, which now showed another 20 packets or so to rebuild. So using -u with --newuse seems to show the complete list.
I just experienced the same problem: # emerge --newuse --deep --pretend world These are the packages that I would merge, in order: Calculating world dependencies ...done! (nothing!) Whereas, the following command gives me lots and lots of use flags with a *: # emerge --verbose --pretend `qpkg -I -nc` | grep '*' [ebuild R ] app-crypt/gnupg-1.4.1 +X -bzip2 -caps +curl* -ecc -idea -ldap +nls +readline (-selinux) -smartcard +zlib 0 kB [ebuild R ] dev-lang/swig-1.3.21 +X -guile -java +perl +php* +python -ruby +tcltk 0 kB [ebuild R ] dev-php/mod_php-4.4.0 +X -apache2 +berkdb +crypt +curl* -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap -informix +ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +nls -oci8 -odbc +pam +png -postgres -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB [ebuild R ] dev-php/php-4.4.0 +X +berkdb +crypt +curl* -debug -doc -fdftk -firebird -flash -freetds +gd -gd-external +gdbm -gmp -hardenedphp -imap -informix +ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mssql +mysql +ncurses +nls -oci8 -odbc +pam +png -postgres +readline -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB [trimmed.. I think you get the point] I think --newuse and --deep simply aren't working together at all. When --newuse is used, --deep is ignored.
Btw, emerge -pvDu --newuse world doesn't show me anything. Everything is up-to-date as far as the package versions are concerned.
(In reply to comment #13) > Btw, emerge -pvDu --newuse world doesn't show me anything. Everything is > up-to-date as far as the package versions are concerned. Does the ouput of "emerge -p depclean" show any of those packages? If so, it would indicate that you need to add some packages to the /var/lib/portage/world (or unmerge them).
(In reply to comment #14) > Does the ouput of "emerge -p depclean" show any of those packages? If so, it > would indicate that you need to add some packages to the /var/lib/portage/world > (or unmerge them). It shows some packages, but none of those of that should have shown with --newuse --deep.
Will make --newuse imply --update on the next round. The other bugs regarding -puDN not finding stuff - it's packages missing from your world file and/or changes deps with regard to changing use flags making installed packages no longer necessary.
Fixed in 2.0.53_rc5
.