I have started seeing this a lot when emergeing. Both installing new and updating. Every now and again after an update, the next emerge will result in that the installation is done again, followed by a successful auto-clean. emerge info at the end of this. --matti Reproducible: Sometimes Steps to Reproduce: 1. emerge <foo> Actual Results: >>> Install gkrelltop-2.2 into /var/tmp/portage/gkrelltop-2.2/image/ category x11-plugins man: prepallstrip: strip: >>> Completed installing into /var/tmp/portage/gkrelltop-2.2/image/ >>> Merging x11-plugins/gkrelltop-2.2 to / Lockfile removed: /var/db/pkg/x11-plugins/gkrelltop-2.2.portage_lockfile --- /usr/ --- /usr/share/ --- /usr/share/doc/ >>> /usr/share/doc/gkrelltop-2.2/ >>> /usr/share/doc/gkrelltop-2.2/README.gz --- /usr/lib/ --- /usr/lib/gkrellm2/ --- /usr/lib/gkrellm2/plugins/ >>> /usr/lib/gkrellm2/plugins/gkrelltop2.so * Caching service dependencies... [ ok ] >>> x11-plugins/gkrelltop-2.2 merged. >>> Recording x11-plugins/gkrelltop in "world" favorites file... --- Couldn't find x11-plugins/gkrelltop to clean. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... Lockfile removed: /var/db/pkg/net-p2p/gift-0.11.4.portage_lockfile Lockfile removed: /var/db/pkg/net-p2p/-MERGING-gift-0.11.4.portage_lockfile INCOMPLETE MERGE: /var/db/pkg/net-p2p/-MERGING-gift-0.11.4 Lockfile removed: /var/db/pkg/x11-plugins/gkrelltop-2.2.portage_lockfile Lockfile removed: /var/db/pkg/x11-plugins/-MERGING-gkrelltop-2.2.portage_lockfile INCOMPLETE MERGE: /var/db/pkg/x11-plugins/-MERGING-gkrelltop-2.2 Lockfile removed: /var/db/pkg/x11-plugins/gkrelltop-2.2.portage_lockfile Lockfile removed: /var/db/pkg/x11-plugins/gkrelltop-2.2.portage_lockfile ...Lockfile removed: /var/db/pkg/x11-plugins/gkrelltop-2.2.portage_lockfile >>> No outdated packages were found on your system. Portage 2.0.50_pre19 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1-mm4) ================================================================= System uname: 2.6.1-mm4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.linux.no/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups encode esd foomaticdb gdbm gif gnome gnome2 gpm gtk gtk2 guile imlib java jpeg kde ldap libg++ libwww mad mikmod motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml xml2 xmms xv zlib"
Don't know if this can have anything to do with this: glibc is built with nptl, and the whole system is rebuild with linux-headers-2.6.0.
Looks like this have disappeared with > portage-2.0.50_pre19 when I reported it.
i'm getting this since upgrading to 2.0.50-r1
I'm seeing this as well with portage-2.0.50-r1, i.e.: emerge clean media-gfx/imagemagick selected: 5.5.6-r1 protected: 5.5.7.15 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging media-gfx/imagemagick-5.5.6-r1... No package files given... Grabbing a set. --- !mtime obj /usr/share/man/man5/quantize.5.gz --- !mtime obj /usr/share/man/man4/miff.4.gz --- !mtime obj /usr/share/man/man1/montage.1.gz --- !mtime obj /usr/share/man/man1/mogrify.1.gz --- !mtime obj /usr/share/man/man1/import.1.gz --- !mtime obj /usr/share/man/man1/identify.1.gz --- !mtime obj /usr/share/man/man1/display.1.gz --- !mtime obj /usr/share/man/man1/convert.1.gz --- !mtime obj /usr/share/man/man1/conjure.1.gz --- !mtime obj /usr/share/man/man1/composite.1.gz --- !mtime obj /usr/share/man/man1/animate.1.gz --- !mtime obj /usr/share/man/man1/Magick-config.1.gz --- !mtime obj /usr/share/man/man1/Magick++-config.1.gz --- !mtime obj /usr/share/man/man1/ImageMagick.1.gz --- !found dir /usr/share/ImageMagick --- !mtime obj /usr/lib/libMagick.la --- !mtime obj /usr/lib/libMagick.a --- !found obj /usr/lib/libMagick-5.5.6-Q16.so.0.0.0 --- !found sym /usr/lib/libMagick-5.5.6-Q16.so.0 --- !mtime obj /usr/lib/libMagick++.la --- !mtime obj /usr/lib/libMagick++.a --- !found obj /usr/lib/libMagick++-5.5.6-Q16.so.0.0.0 --- !found sym /usr/lib/libMagick++-5.5.6-Q16.so.0 --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/type.mgk --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/type-windows.mgk --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/type-solaris.mgk --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/type-ghostscript.mgk --- !found dir /usr/lib/ImageMagick-5.5.6-Q16/modules/coders --- !found dir /usr/lib/ImageMagick-5.5.6-Q16/modules --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/magic.mgk --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/log.mgk --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/delegates.mgk --- !found obj /usr/lib/ImageMagick-5.5.6-Q16/colors.mgk --- !mtime obj /usr/include/Magick++.h --- !mtime obj /usr/bin/montage --- !mtime obj /usr/bin/mogrify --- !mtime obj /usr/bin/import --- !mtime obj /usr/bin/identify --- !mtime obj /usr/bin/display --- !mtime obj /usr/bin/convert --- !mtime obj /usr/bin/conjure --- !mtime obj /usr/bin/composite --- !mtime obj /usr/bin/animate --- !mtime obj /usr/bin/Magick-config --- !mtime obj /usr/bin/Magick++-config Traceback (most recent call last): File "/usr/bin/emerge", line 2366, in ? if 1==unmerge(myaction, myfiles): 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 2496, in unmerge mylink.unmerge(trimworld=mytrimworld,cleanup=1) File "/usr/lib/portage/pym/portage.py", line 5291, in unmerge if (pkgfiles[obj][0] not in ("dir","fif","dev","sym")) and (lmtime != pkgfiles[obj][1]): KeyError: '.' dbergst@rebel media-gfx $ man qpkg dbergst@rebel media-gfx $ epm -qa|grep Perl dbergst@rebel media-gfx $ epm -qa|grep perl libperl-5.8.2 perl-5.8.2-r1 gtk-perl-0.7008-r10 dbergst@rebel media-gfx $ emerge clean Traceback (most recent call last): File "/usr/bin/emerge", line 14, in ? import portage File "/usr/lib/portage/pym/portage.py", line 6128, in ? settings.regenerate() # XXX: Regenerate use after we get a vartree -- GLOBAL File "/usr/lib/portage/pym/portage.py", line 1392, in regenerate self.configdict["auto"]["USE"]=autouse(db[root]["vartree"],use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 1121, in autouse myresult=dep_check(mydep,myvartree.dbapi,None,use="no",use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 3302, in dep_check mysplit2=dep_wordreduce(mysplit2,mydbapi,mode,use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 3330, in dep_wordreduce mydep=mydbapi.match(deplist[mypos],use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 4138, in match mydep=dep_expand(origdep,self,use_cache=use_cache) File "/usr/lib/portage/pym/portage.py", line 3258, in dep_expand return prefix+cpv_expand(mydep,mydb,use_cache=use_cache)+postfix File "/usr/lib/portage/pym/portage.py", line 3185, in cpv_expand if (not mydb.cp_list(mykey,use_cache=use_cache)) and virts and virts.has_key(mykey): File "/usr/lib/portage/pym/portage.py", line 4100, in cp_list self.invalidentry(self.root+VDB_PATH+"/"+mysplit[0]+"/"+x) File "/usr/lib/portage/pym/portage.py", line 3871, in invalidentry unlockfile((mypath,None,None)) File "/usr/lib/portage/pym/portage.py", line 114, in unlockfile raise IOError, "Failed to unlock file '%s'\n" % lockfilename IOError: Failed to unlock file '/var/db/pkg/media-gfx/imagemagick-5.5.6-r1.portage_lockfile'
Comment #4 is unrelated. Open a new bug if it can still be reproduced. The issue that this but was opened for has been fixed.