I was trying to emerge GIMP 2.0 with portage (sys-apps/portage-2.0.50-r7 -build -multilib). I got the following error: # ACCEPT_KEYWORDS="~x86" emerge -v gimp (...compilation, etc...) >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... >>> media-libs/libwmf-0.2.8.2 merged. >>> clean: No packages selected for removal. >>> emerge (2 of 2) media-gfx/gimp-2.0.0 to / doebuild(): aux_get() error; aborting. Here is the result of "emerge info": Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -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.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://cudlug.cudenver.edu/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm arts audiofile avi berkdb bonobo cdr crypt cups dga doc dvd dvdr emode encode esd ethereal fbcon fftw flac foomaticdb gd gdbm ggi gif gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java jpeg lcms ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl plotutils png postgres python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb videos wmf wxwindows x86 xml xml2 xmms xv zlib" I tryed # ACCEPT_KEYWORDS="~x86" emerge -v gimp Again and it worked fine (downloaded gimp-2.0 file and compiled it). Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -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.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://cudlug.cudenver.edu/gentoo/ ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm arts audiofile avi berkdb bonobo cdr crypt cups dga doc dvd dvdr emode encode esd ethereal fbcon fftw flac foomaticdb gd gdbm ggi gif gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imagemagick imlib java jpeg lcms ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl plotutils png postgres python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype usb videos wmf wxwindows x86 xml xml2 xmms xv zlib"
looks like portage to me.
Can you run that with '-vd' and post it.
Ok, to run it with '-vd' I would have to unmerge gimp and libwmf, right? (than I would merge it again with ACCEPT_KEYWORDS="~x86" emerge -dv gimp) Gimp unmerged fine, but libwmf did not (at the first time). Maybe it is a bug with libwmf and not portage. That's the error I got: root@mbello mbello # emerge unmerge libwmf media-libs/libwmf selected: 0.2.8.2 protected: none 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-libs/libwmf-0.2.8.2... No package files given... Grabbing a set. <<< obj /usr/share/libwmf/fonts/s050000l.pfb --- !md5 obj /usr/share/libwmf/fonts/s050000l.afm --- !md5 obj /usr/share/libwmf/fonts/n022024l.pfb --- !md5 obj /usr/share/libwmf/fonts/n022024l.afm <<< obj /usr/share/libwmf/fonts/n022023l.pfb <<< obj /usr/share/libwmf/fonts/n022023l.afm --- !md5 obj /usr/share/libwmf/fonts/n022004l.pfb <<< obj /usr/share/libwmf/fonts/n022004l.afm <<< obj /usr/share/libwmf/fonts/n022003l.pfb <<< obj /usr/share/libwmf/fonts/n022003l.afm 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 5320, in unmerge mymd5=perform_md5(obj, calc_prelink=1) File "/usr/lib/portage/pym/portage.py", line 2487, in perform_md5 return perform_checksum(x, calc_prelink)[0] File "/usr/lib/portage/pym/portage.py", line 349, in perform_checksum retval = fchksum.fmd5t(prelink_tmpfile) IOError: [Errno 2] No such file or directory: '/tmp/portage-prelink.tmp' Then tryed again (now with the '-vd' flag) emerge unmerge -dv libwmf and, this time, it worked fine (unmerged without errors or warnings)! Go figure! Ok, with both gimp and libwmf unmerged I typed ACCEPT_KEYWORDS="~x86" emerge -dv gimp and it worked fine! That is, I could not reproduce the problem :( But the error unmerging libwmf is weird. I don't know what to do now, maybe unmerging gimp and libwmf wasn't enought to restore the system as it was before. I would be glad to help if I knew how... Suggestion: maybe someone could try it on a fresh Gentoo and reproduce the problem? I do not have another gentoo box to do it myself. Regards, Marcelo
That traceback indicates that the prelink checksum file was deleted while it was using it... A bit odd. Not harmful, as it bails when that happens. Being unable to reproduce it makes it real hard to fix.