sys-apps/portage-2.1.5_rc8 is unable to handle some situation (probably related to blockers) on dependency calculation. Please let me know if you need some additional info like the list of packages I have installed or something else that might be of use. Reproducible: Always Steps to Reproduce: Actual Results: --- sys-apps/portage-2.1.5_rc8 --- # emerge -1av dev-python/pykde These are the packages that would be merged, in order: Calculating dependencies \Traceback (most recent call last): File "/usr/bin/emerge", line 8958, in <module> retval = emerge_main() File "/usr/bin/emerge", line 8952, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 8224, in action_build retval, favorites = mydepgraph.select_files(myfiles) File "/usr/bin/emerge", line 2932, in select_files self.altlist() File "/usr/bin/emerge", line 3700, in altlist self._serialized_tasks_cache = self._serialize_tasks() File "/usr/bin/emerge", line 4084, in _serialize_tasks parent_deps.remove(task) KeyError: <__main__.Package object at 0x1c5d950> xdune ~ # emerge -pv portage These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-apps/portage-2.1.5_rc8 USE="doc -build -epydoc (-selinux)" LINGUAS="-pl" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Expected Results: --- sys-apps/portage-2.1.5_rc7 --- # emerge -1av dev-python/pykde These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-libs/cyrus-sasl-2.1.22-r2 USE="berkdb crypt gdbm pam ssl -authdaemond -java -kerberos -ldap -mysql -ntlm_unsupported_patch -postgres -sample -srp -urandom" 1,572 kB [ebuild N ] dev-libs/dbus-qt3-old-0.70 USE="-debug" 216 kB [ebuild N ] kde-base/kdebase-pam-7 0 kB [ebuild N ] x11-apps/xsetroot-1.0.2 USE="-debug" 87 kB [ebuild N ] sys-devel/gdb-6.8 USE="nls -multitarget -test -vanilla" 15,314 kB [ebuild N ] www-misc/htdig-3.2.0_beta6-r3 USE="ssl" 3,033 kB [ebuild N ] x11-libs/libXfontcache-1.0.4 USE="-debug" 210 kB [ebuild N ] x11-apps/xset-1.0.4 USE="-debug" 102 kB [uninstall ] kde-base/kdeprint-3.5.9 USE="cups -arts -debug -kde -kdeenablefinal -kdehiddenvisibility -xinerama" [blocks b ] kde-base/kdeprint:3.5 (is blocking kde-base/kdebase-3.5.9-r3) [ebuild N ] kde-base/kdebase-3.5.9-r3 USE="cups hal ieee1394 opengl pam -arts -branding -debug -java -joystick -kdeenablefinal -kdehiddenvisibility -ldap -lm_sensors -logitech-mouse -openexr -samba -xcomposite -xinerama -xscreensaver" 39 kB [ebuild N ] dev-python/pykde-3.16.0-r1 USE="doc examples -debug" 1,582 kB [blocks B ] kde-base/kate:3.5 (is blocking kde-base/kdebase-3.5.9-r3) Total: 10 packages (10 new, 1 uninstall), Size of downloads: 22,149 kB Conflict: 2 blocks (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked xdune ~ # emerge -pv portage These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/portage-2.1.5_rc8 [2.1.5_rc7] USE="doc -build -epydoc (-selinux)" LINGUAS="-pl" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB
(In reply to comment #0) > sys-apps/portage-2.1.5_rc8 is unable to handle some situation (probably I've got the same error message today, while doing sth. else: Reproducible: Always Steps to Reproduce: tuxy / # emerge --update --newuse --deep world Calculating dependencies /Traceback (most recent call last): File "/usr/bin/emerge", line 8958, in <module> retval = emerge_main() File "/usr/bin/emerge", line 8952, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 8224, in action_build retval, favorites = mydepgraph.select_files(myfiles) File "/usr/bin/emerge", line 2932, in select_files self.altlist() File "/usr/bin/emerge", line 3700, in altlist self._serialized_tasks_cache = self._serialize_tasks() File "/usr/bin/emerge", line 4153, in _serialize_tasks scheduled_uninstalls.remove(uninst_task) KeyError: <__main__.Package object at 0x921344c> ### the same here, just the last line is different: tuxy / # emerge --pretend --update --newuse --deep world KeyError: <__main__.Package object at 0x921144c> ### the same here, just the last line is different: tuxy / # emerge --pretend --newuse --deep world KeyError: <__main__.Package object at 0x921544c> ### the same here, just the last line is different: tuxy / # emerge --pretend --update --deep world KeyError: <__main__.Package object at 0x921344c> ### the same here, just the last line is different: tuxy / # emerge --pretend --update --newuse world KeyError: <__main__.Package object at 0x90455cc> tuxy ~ # emerge --info Portage 2.1.5_rc8 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.7-r1, 2.6.19-gentoo-r2 i686) ================================================================= System uname: 2.6.19-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.86GHz Timestamp of tree: Fri, 09 May 2008 15:15:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.4.4-r4, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LDFLAGS="" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm berkdb cli cracklib crypt cups dri firefox fortran gdbm gif gpm gtk iconv ipv6 isdnlog jpeg kde libwww midi mudflap mysql mysqli ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png ppds pppd python qt3 readline reflection session spl sqlite ssl tcpd tiff tk unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 152667 [details, diff] fix the KeyError If this patch is saved as /tmp/keyerror.patch, then it can be applied as follows: patch /usr/lib/portage/bin/emerge /tmp/keyerror.patch
This is fixed in 2.1.5_rc8.
I havn't got 2.1.5_rc8 this morning instead I got 2.1.5_rc9. Unfortumately I have still the same problem. Am I doing sth wrong? tuxy ute # emerge --pretend --update --newuse world These are the packages that would be merged, in order: Calculating dependencies -Traceback (most recent call last): File "/usr/bin/emerge", line 8975, in <module> retval = emerge_main() File "/usr/bin/emerge", line 8969, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 8241, in action_build retval, favorites = mydepgraph.select_files(myfiles) File "/usr/bin/emerge", line 2933, in select_files self.altlist() File "/usr/bin/emerge", line 3701, in altlist self._serialized_tasks_cache = self._serialize_tasks() File "/usr/bin/emerge", line 4160, in _serialize_tasks scheduled_uninstalls.remove(uninst_task) KeyError: <__main__.Package object at 0x906f68c> tuxy ute # emerge --info Portage 2.1.5_rc9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.7-r1, 2.6.19-gentoo-r2 i686) ================================================================= System uname: 2.6.19-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.86GHz Timestamp of tree: Sat, 10 May 2008 04:45:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.4.4-r4, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE" LDFLAGS="" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm berkdb cli cracklib crypt cups dri firefox fortran gdbm gif gpm gtk iconv ipv6 isdnlog jpeg kde libwww midi mudflap mysql mysqli ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png ppds pppd python qt3 readline reflection session spl sqlite ssl tcpd tiff tk unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 152723 [details, diff] fix the KeyError from comment #4 (portage-2.1.5_rc9) That's a different but similar error. This patch will fix it. (In reply to comment #4) > I havn't got 2.1.5_rc8 this morning instead I got 2.1.5_rc9. Unfortumately I > have still the same problem. Am I doing sth wrong? > > tuxy ute # emerge --pretend --update --newuse world > > These are the packages that would be merged, in order: > > Calculating dependencies -Traceback (most recent call last): > File "/usr/bin/emerge", line 8975, in <module> > retval = emerge_main() > File "/usr/bin/emerge", line 8969, in emerge_main > myopts, myaction, myfiles, spinner) > File "/usr/bin/emerge", line 8241, in action_build > retval, favorites = mydepgraph.select_files(myfiles) > File "/usr/bin/emerge", line 2933, in select_files > self.altlist() > File "/usr/bin/emerge", line 3701, in altlist > self._serialized_tasks_cache = self._serialize_tasks() > File "/usr/bin/emerge", line 4160, in _serialize_tasks > scheduled_uninstalls.remove(uninst_task) > KeyError: <__main__.Package object at 0x906f68c> > > tuxy ute # emerge --info > Portage 2.1.5_rc9 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.7-r1, > 2.6.19-gentoo-r2 i686)
(In reply to comment #5) > Created an attachment (id=152723) [edit] > fix the KeyError from comment #4 (portage-2.1.5_rc9) That patch is included in 2.1.5_rc10.
(In reply to comment #6) > > fix the KeyError from comment #4 (portage-2.1.5_rc9) > > That patch is included in 2.1.5_rc10. > That's one thing I like with Linux, problems are sorted out very fast. Now everything is working fine, thanks