Some days ago, my daily Code: emerge -uDvtp world told me to unmerge kde-env because it would conflict with new version of kde-libs. I did so. And emerged the new kde-libs version afterwards. And till yesterday and its 2.1.2_pre2-r3, all was OK. Then today, after the sync, same emerge -uDvtp world . OK Then emerge portage. OK Then Code: emerge -uDvtp world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [blocks B ] kde-base/kde-env (is blocking kde-base/kdelibs-3.5.4-r2) Traceback (most recent call last): File "/usr/bin/emerge", line 4207, in ? retval = emerge_main() File "/usr/bin/emerge", line 4202, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 3656, in action_build mydepgraph.display( File "/usr/bin/emerge", line 1586, in display if x[0] != "binary" and \ File "/usr/lib/portage/pym/portage.py", line 4865, in aux_get raise KeyError(mycpv) KeyError: 'kde-base/kde-3.4.3' emerge --info Portage 2.1.2_pre2-r5 (default-linux/ppc/ppc32/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8-l4 ppc) ================================================================= System uname: 2.6.17-gentoo-r8-l4 ppc 7447A, altivec supported Gentoo Base System version 1.12.5 Last Sync: Fri, 06 Oct 2006 20:30:01 +0000 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr fr_FR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X Xaw3d alsa altivec apache2 arts berkdb bitmap-fonts bonobo branding cdr cli crypt cscope cups dba dlloader dri dvd eds elibc_glibc emboss encode esd fbcon firefox flac flash fortran gb gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml input_devices_keyboard input_devices_mouse ipv6 isdnlog java jikes jpeg kde kdehiddenvisibility kernel_linux ldap libg++ libwww linguas_fr linguas_fr_FR mad mikmod mng mozdevelop mozsvg mp3 mpeg ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl pam pcre pdflib perl png povray ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba scanner sdl session spell spl ssl svg tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_ati video_cards_fbdev video_cards_r128 video_cards_radeon vorbis wmf xine xinerama xml xml2 xorg xosd xprint xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
pena portage # emerge -uDpvt world These are the packages that would be merged, in reverse order: Calculating world dependencies -Disabling stricter for glibc because it is already known to fail. Disabling stricter for glibc because it is already known to fail. Disabling stricter for glibc because it is already known to fail. -Disabling stricter for xorg-server because it is already known to fail. Disabling stricter for xorg-server because it is already known to fail. Disabling stricter for xorg-server because it is already known to fail. ... done! Traceback (most recent call last): File "/usr/bin/emerge", line 4207, in ? retval = emerge_main() File "/usr/bin/emerge", line 4202, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 3656, in action_build mydepgraph.display( File "/usr/bin/emerge", line 1586, in display if x[0] != "binary" and \ File "/usr/lib/portage/pym/portage.py", line 4865, in aux_get raise KeyError(mycpv) KeyError: 'dev-java/sun-jdk-1.3.1.17-r10'
Just on a note this was caused by a situation where sun-jdk-1.3* was removed and sun-jdk-1.4* had a revision bump. I was able to work around this issue by doing emerge -1 =sun-jdk-1.4*.
(In reply to comment #2) > Just on a note this was caused by a situation where sun-jdk-1.3* was removed > and sun-jdk-1.4* had a revision bump. I was able to work around this issue by > doing emerge -1 =sun-jdk-1.4*. > Plaah -uDpv works, but -t borks.
(In reply to comment #3) > (In reply to comment #2) > > Just on a note this was caused by a situation where sun-jdk-1.3* was removed > > and sun-jdk-1.4* had a revision bump. I was able to work around this issue by > > doing emerge -1 =sun-jdk-1.4*. > > > > Plaah -uDpv works, but -t borks. > Yes, it works less bad ;) I get : emerge -uDvp world These are the packages that would be merged, in order: Calculating world dependencies... done! [blocks B ] kde-base/kde-env (is blocking kde-base/kdelibs-3.5.4-r2) [blocks B ] >=kde-base/kdelibs-3.5.4-r2 (is blocking kde-base/kde-env-3-r4) [ebuild N ] kde-base/kde-env-3-r4 0 kB [ebuild U ] dev-lang/ruby-1.8.5-r1 [1.8.5] USE="ipv6 threads tk%* -cjk -debug% -doc -examples -socks5 (-tcltk%)" 0 kB [ebuild U ] media-plugins/gst-plugins-mad-0.10.4 [0.10.3] 703 kB [ebuild N ] app-text/xpdf-3.01-r8 USE="-nodrm" LINGUAS="-ar -el -he -ja -ko -la -ru -th -tr -zh_CN -zh_TW" 80 kB [ebuild U ] dev-util/darcs-1.0.8-r1 [1.0.8] USE="-doc" 0 kB [ebuild UD] x11-libs/qt-3.3.4-r8 [3.3.6-r2] USE="cups gif ipv6 opengl xinerama -debug -doc -examples (-firebird) -immqt -immqt-bc -mysql -nas -odbc -postgres -sqlite (-nis%)" 14,101 kB [ebuild U ] mail-filter/spamassassin-3.1.6 [3.1.5] USE="berkdb ipv6 ldap ssl -doc -mysql -postgres -qmail -sqlite -tools" 974 kB [ebuild NS ] dev-python/python-docs-2.3.5 1,213 kB [ebuild U ] dev-lang/python-2.3.5-r3 [2.3.5-r2] USE="berkdb doc* gdbm* ipv6 ncurses readline ssl tk%* -bootstrap -build -nocxx -ucs2 (-X%*) (-tcltk%*)" 7,069 kB
Created attachment 99056 [details, diff] fix "nomerge" display logic If someone is able to reproduce this problem, then please test this patch. If the patch is saved as /tmp/nomerge.patch, then it can be applied as follows: cd /usr/lib/portage patch -p0 < /tmp/nomerge.patch
(In reply to comment #5) > Created an attachment (id=99056) [edit] > fix "nomerge" display logic > > If someone is able to reproduce this problem, then please test this patch. If > the patch is saved as /tmp/nomerge.patch, then it can be applied as follows: > > cd /usr/lib/portage > patch -p0 < /tmp/nomerge.patch > (In reply to comment #5) > Created an attachment (id=99056) [edit] > fix "nomerge" display logic > > If someone is able to reproduce this problem, then please test this patch. If > the patch is saved as /tmp/nomerge.patch, then it can be applied as follows: > > cd /usr/lib/portage > patch -p0 < /tmp/nomerge.patch OK, this got back the tree. But I fall now in (a/the?) circular dependency trap: # emerge -uDvtp world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [blocks B ] kde-base/kde-env (is blocking kde-base/kdelibs-3.5.4-r2) [blocks B ] >=kde-base/kdelibs-3.5.4-r2 (is blocking kde-base/kde-env-3-r4) [ebuild U ] dev-util/darcs-1.0.8-r1 [1.0.8] USE="-doc" 0 kB [nomerge ] kde-base/kde-3.5.4 USE="-accessibility" [nomerge ] kde-base/kdeedu-3.5.4 USE="arts kdehiddenvisibility xinerama -debug -kdeenablefinal -kig-scripting" [nomerge ] kde-base/kdelibs-3.5.4-r2 USE="alsa arts cups kdehiddenvisibility spell ssl tiff xinerama -acl -debug -doc -fam -jpeg2k -kdeenablefinal -kerberos -legacyssl -lua -noutempter -openexr -zeroconf" [nomerge ] kde-base/kde-3.4.3 USE="-accessibility" [No ebuild?] [nomerge ] kde-base/kdegraphics-3.4.3-r2 USE="arts imlib opengl povray scanner tetex xinerama -debug -gphoto2 -kdeenablefinal -nodrm -openexr" [No ebuild?] [ebuild N ] app-text/xpdf-3.01-r8 USE="-nodrm" LINGUAS="-ar -el -he -ja -ko -la -ru -th -tr -zh_CN -zh_TW" 80 kB [nomerge ] kde-base/kdeaddons-3.4.3 USE="arts berkdb sdl xinerama -debug -kdeenablefinal -xmms" [No ebuild?] [nomerge ] kde-base/kdemultimedia-3.4.3 USE="alsa arts audiofile encode flac gstreamer mp3 theora vorbis xine xinerama -debug -jack -kdeenablefinal -musicbrainz -speex" [No ebuild?] [nomerge ] kde-base/kdelibs-3.4.3 USE="alsa arts cups spell ssl tiff xinerama -debug -doc -jpeg2k -kdeenablefinal -kerberos -openexr -zeroconf" [No ebuild?] [ebuild UD] x11-libs/qt-3.3.4-r8 [3.3.6-r2] USE="cups gif ipv6 opengl xinerama -debug -doc -examples (-firebird) -immqt -immqt-bc -mysql -nas -odbc -postgres -sqlite (-nis%)" 14,101 kB [nomerge ] kde-base/kdeadmin-3.4.3 USE="arts xinerama -debug -kdeenablefinal" [No ebuild?] [nomerge ] kde-base/kdebase-3.4.3-r1 USE="arts cups java opengl pam ssl xinerama -debug -hal -ieee1394 -kdeenablefinal -ldap (-lm_sensors) -logitech-mouse -openexr -samba" [No ebuild?] [nomerge ] kde-base/arts-3.4.3 USE="alsa arts esd mp3 vorbis xinerama -artswrappersuid -debug -hardened -jack -kdeenablefinal -nas" [No ebuild?] [ebuild N ] kde-base/kde-env-3-r4 0 kB [nomerge ] dev-libs/expat-2.0.0 USE="(-test%)" [ebuild U ] dev-lang/python-2.3.5-r3 [2.3.5-r2] USE="berkdb doc* gdbm* ipv6 ncurses readline ssl tk%* -bootstrap -build -nocxx -ucs2 (-X%*) (-tcltk%*)" 7,069 kB [ebuild NS ] dev-python/python-docs-2.3.5 1,213 kB and # emerge -p python These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-lang/python-2.4.3-r4
(In reply to comment #6) > OK, this got back the tree. But I fall now in (a/the?) circular dependency > trap: > # emerge -uDvtp world Could you file a new bug and attach --debug output for that command?
(In reply to comment #7) > (In reply to comment #6) > > OK, this got back the tree. But I fall now in (a/the?) circular dependency > > trap: > > # emerge -uDvtp world > > Could you file a new bug and attach --debug output for that command? Done, with id = #150415
The patch in comment #5 also worked for me. I was having the following error: ubik:~ # emerge -avtuDN world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! Traceback (most recent call last): File "/usr/bin/emerge", line 4207, in ? retval = emerge_main() File "/usr/bin/emerge", line 4202, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 3611, in action_build mydepgraph.display( File "/usr/bin/emerge", line 1586, in display if x[0] != "binary" and \ File "/usr/lib/portage/pym/portage.py", line 4865, in aux_get raise KeyError(mycpv) KeyError: 'app-editors/zim-0.07'
Thanks everyone. This has been released in 2.1.2_pre2-r6.