Seemed like it unmerges fine, but then: >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging dev-perl/PDL-2.4.0... No package files given... Grabbing a set. --- !found obj /usr/share/perl/gentoo-pods/5.8.0/PDL-2.4.0.pod.site <<< obj /usr/share/perl/gentoo-pods/5.8.0/PDL-2.4.0.pod . . These are the lines of interest, the one above, with "!found" and the trace output . <<< dir /usr/doc/PDL-2.4.0/html/PDL <<< dir /usr/doc/PDL-2.4.0/html <<< dir /usr/doc/PDL-2.4.0 Traceback (most recent call last): File "/usr/bin/emerge", line 1951, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1248, in merge if not unmerge("clean", [xsplit[0]]): File "/usr/bin/emerge", line 1452, in unmerge retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,unmerge_action not in ["clean","prune"]) File "/usr/lib/python2.2/site-packages/portage.py", line 1879, in unmerge mylink.unmerge(trimworld=mytrimworld) File "/usr/lib/python2.2/site-packages/portage.py", line 4238, in unmerge if len(objld)>0: TypeError: len() of unsized object I did an emerge -C PDL-2.4.0 afterwards, which went fine, but I tend to report each small bug, until we have a bugfree portage. :-) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 AMD Duron(tm) Processor GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.berlios.de/pub/gentoo-deutsch http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mmx mpeg ncurses nls pdflib png spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java ruby mysql postgres X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap snmp cdr scanner acl acpi acpi4linux artswrappersuid curl dga dnd doc dvd emacs faad fbcon firebird gd gtk2 hbci imap innodb jack jack-tmpfs jikes junit ladcca lcms libgda lirc maildir mbox mng moznocompose moznoirc moznomail mozsvg mozxmlterm oav openal plotutils pnp samba sasl slp sse tiff usb vim-with-x wmf xml xvid zeo -quicktime -guile -esd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -pipe -foptimize-sibling-calls -fomit-frame-pointer -funroll-loops -fforce-addr -msse -mmmx -m3dnow " CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache keeptemp keepwork"
Same issue here... I unmerged dev-perl/ExtUtils-MakeMaker, dev-perl/Test-Simple and dev-perl/File-Spec. Then emerged -u --deep world which after installing newest Perl, File-Spec, Test-Simple, Storable, crashed the same way when installing PDL.
I caught this bug, too. All I had to do was re-issue the emerge command to update that package.
*** Bug 25344 has been marked as a duplicate of this bug. ***
*** Bug 25408 has been marked as a duplicate of this bug. ***
*** Bug 25410 has been marked as a duplicate of this bug. ***
*** Bug 25513 has been marked as a duplicate of this bug. ***
*** Bug 26850 has been marked as a duplicate of this bug. ***
This happens to me and Strider when upgrading jpilot from 0.99.5 to 0.99.6 -- as a work-around I built packages for both versions and manually unmerge 0.99.5 and 0.99.6 (after the failed emerge) and remerged 0.99.6 .
well... If someone can duplicate this and post their /var/db/pkg/dev-perl/PDL* dirs via a tarball, we'll see what I can do about figuring this out.
I've just fixed this portage bug in CVS. And the ebuild has also problem. "/usr/doc" is symlink of "/usr/share/doc" in gentoo system. But the ebuild installs other files into /usr/doc/ and /usr/share/doc. anyone take care of this?
*** Bug 41632 has been marked as a duplicate of this bug. ***
Re: Comment #11: Is the CVS "fix" in portage-2.0.50-r9? I'm asking because I just received the same error ("TypeError: len() of unsized object") from portage-2.0.50-r9. (The Python line numbers are somewhat different than what is here. I'm guessing this is because of program changes in emerge since the original report. My exact error follows:) <<< dir /opt/tomcat/server mydirs[5] /opt/tomcat/common/endorsed obj /opt/tomcat/common/endorsed objld None Traceback (most recent call last): File "/usr/bin/emerge", line 2599, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1600, in merge retval=unmerge("clean", [xsplit[0]]) File "/usr/bin/emerge", line 1852, in unmerge retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action not in ["clean","prune"]) File "/usr/lib/portage/pym/portage.py", line 2494, in unmerge mylink.unmerge(trimworld=mytrimworld,cleanup=1) File "/usr/lib/portage/pym/portage.py", line 5386, in unmerge if len(objld)>0: TypeError: len() of unsized object Here is my emerge info: Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r9) ================================================================= System uname: 2.6.7-gentoo-r9 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /etc/tomcat5 /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/alias /var/qmail/control /var/spool/fax/etc /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.binarycompass.org ftp://gentoo.ccccom.com http://128.213.5.34/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.ccccom.com" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d acl acpi acpi4linux alsa amd antlr apache2 apm arts artswrappersuid avi berkdb bonobo caps cdr clamav crypt cups directfb dnd doc droproot dv dvd dvdr encode esd ethereal evo expat f77 fam fbcon foomaticdb foreign-package foreign-sysvinit freetds gb gcj gdgd-external gdbm gif ginac gnome gnomedb gnuplot gpm gstreamer gtk gtk2 gtkhtml guile idea imap imlib innodb ipv6 jabber jack java javamail jdepend jikes jpeg jsch junit jython kde kerberos ldap libg++ libgda libwww lids live log4j ltsp lua lzw-tiff mad maildir matroska mboxmcal mdb memlimit mikmod mmx motif mozilla moznoirc moznomail mpeg mysql ncurses nls nptl oav objc ocaml oci8 odbc ofx oggvorbis ooo-kde opengl openssh oss pam parse-clocks pda pdflibpear-db perl pg-hier pic pie plotutils png postgres ppds python qt quicktime radeon readline ruby ruby18 samba sasl sdk sdl skey slang slp snmp speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype type1 unicode usb utf8 video_cards_radeon wmf wxwin wxwindows x86 xalan xemacs xerces xml xml2 xmms xprint xv yahoo yv12 zeo zlib"
Bug has been fixed and released in stable portages on or before 2.0.51-r2