while updating to perl-5.8.0-r12, it failed: (...) Can't open /var/tmp/portage/perl-5.8.0-r12/image//usr/share/man/man3/CPAN::FirstTime.tmp for writing: No such file or directory at installman line 167 (...) /var/tmp/portage/perl-5.8.0-r12/image//usr/share/man/man3/CPAN::FirstTime.3 find: /var/tmp/portage/perl-5.8.0-r12/image/: No such file or directory find: /var/tmp/portage/perl-5.8.0-r12/image/: No such file or directory /usr/lib/portage/bin/dodoc: Changes* does not exist. /usr/lib/portage/bin/dodoc: Artistic does not exist. /usr/lib/portage/bin/dodoc: Copying does not exist. /usr/lib/portage/bin/dodoc: AUTHORS does not exist. man: prepallstrip: strip: >>> Completed installing into /var/tmp/portage/perl-5.8.0-r12/image/ >>> Merging dev-lang/perl-5.8.0-r12 to / Traceback (most recent call last): File "/usr/bin/emerge", line 1951, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1210, in merge retval=portage.doebuild(y,"merge",myroot,edebug) File "/usr/lib/python2.2/site-packages/portage.py", line 1765, in doebuild return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"]) File "/usr/lib/python2.2/site-packages/portage.py", line 1874, in merge return mylink.merge(pkgloc,infloc,myroot,myebuild) File "/usr/lib/python2.2/site-packages/portage.py", line 4685, in merge return self.treewalk(mergeroot,myroot,inforoot,myebuild) File "/usr/lib/python2.2/site-packages/portage.py", line 4339, in treewalk lcfile=open(inforoot+"/COUNTER","w") IOError: [Errno 2] No such file or directory: '/var/tmp/portage/perl-5.8.0-r12/build-info/COUNTER' [00:46]root@hjem:~> [11:48]root@hjem:~> emerge -p perl These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/perl-5.8.0-r12 Reproducible: Didn't try Steps to Reproduce: [11:48]root@hjem:~> emerge info Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.21 i686 Pentium Pro GENTOO_MIRRORS="http://ftp.gentoo.no http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb" 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="" USE="3dnow foomaticdb kde mad motif qt quicktime sdl xv mysql X perl gtk opengl x86 -gnome -xmms oss apm arts avi berkdb crypt -cups encode gdbm gif gpm imlib java jpeg libg++ libwww mikmod mmx mpeg ncurses nls oggvorbis pam pdflib png python readline slang spell ssl svga tcpd truetype xml2 zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentiumpro -O3 -pipe" CXXFLAGS="-march=pentiumpro -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" [12:05]root@hjem:~>
do you have enough free diskspace ? watch out bug #24991 too
I think this is irrelevant to the perl devs, as I consider this a portage/emerge issue. That I was low on disc-space here (which I probably wasn't, but that's beside my issue) has nothing to do with my bugreport! (In fact I retried the emerge now with plenty of diskspace aviable and the build did just fine) The case is that the building fails, and emerge/portage fails to detect this, and instead of bailing out with a proper error message it tries to continue and breakes itself in the process! Portage needs to do more (or better) sanity checks than it does at this point, which would prevent confusing errors like this.
he is correct ... it is not a perl issue ... however, this has already been reported ... but i cant find the original bug # ;x
This feature has been implemented in the current stable portage(2.0.50-r1/3)