Here is an example of what I get. Although I do have some moderate optimizations set in my CFLAGS, I can't imagine that the problem here is caused by that. # emerge -up world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] x11-misc/ttmkfdir-3.0.9 [3.0.4] [ebuild U ] x11-base/xfree-4.3.0-r2 [4.2.1-r2] ... AND THEN ... # emerge -uv xfree Calculating dependencies ...done! >>> emerge (1 of 2) x11-misc/ttmkfdir-3.0.9 to / >>> md5 ;-) ttmkfdir-3.0.9.tar.bz2 >>> Unpacking source... >>> Unpacking ttmkfdir-3.0.9.tar.bz2 to /var/tmp/portage/ttmkfdir-3.0.9/work >>> Source unpacked. libtool --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -o ttmkfdir.o -c ttmkfdir.cpp Waiting for ttmkfdir.o.lock to be removed Waiting for ttmkfdir.o.lock to be removed Waiting for ttmkfdir.o.lock to be removed make: *** [ttmkfdir.o] Error 1 /usr/portage/x11-misc/ttmkfdir/ttmkfdir-3.0.9.ebuild: src_compile aborted; exiting. Killed Reproducible: Always Steps to Reproduce: 1. I did an emerge -u system and emerge -u world (nothing else was needed) 2. I performed the two operations pasted in the Details section. Actual Results: Indefinite waiting for the lock. I tried a find on the root filesystem to try to find a file with the filename quoted, but didn't find anything, even with the process stopped by Ctrl-Z. I tried waiting 30 minutes and just got many many lines of the same thing. Expected Results: Shoulda given me some sweet emerge lovin ;-) Nothin' too special - running inside VMware 3.2.0 on top of Windows XP on an IBM laptop, I have xfree running fine with WindowMaker on top. I believe I've done all etc-update from previous emerge =u's. # emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Mobile Intel(R) Celeron(TM) CPU 1200MHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.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 /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="-3dfx -3dnow aalib -acl acpi -afs alsa apache2 apm -arts avi -berkdb -bonobo canna -cdr cjk crypt cups dga directfb doc dvd encode -esd ethereal evo -ev6 fbcon flash freewnn -gb gd gdbm -ggi gif gnome gphoto2 gpm -gps gtk -gtk2 -gtkhtml guile -icc -icc-pgo imap imlib innodb ipv6 java jikes jpeg junit -kde kerberos lcms ldap -leim libg++ -libgda libwww -matrox maildir -mbox mikmod mmx motif mozilla mpeg mulemysql -nas ncurses nls -nocardbus -oav -oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl pic plotutils png pnp -postgres python -qt quicktime readline ruby -samba sasl scanner sdl slang slp snmp -socks5 spell sse ssl -static svga tcltk tcpd tetex tex tiff truetype trusted usb -voodoo3 wavelan wmf X -xface xml xml2 xmms xv -zeo zlib x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" CXXFLAGS="-march=pentium3 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
I retried this with CFLAGS = "" and it still fails.
Try: # MAKEOPTS="-j1" emerge ttmkfdir
Problem persists despite setting MAKEOPTS="-j1" as suggested. For what it's worth, I didn't encounter this problem on my other Gentoo machine running a similar environment.
I have tried to recreate this, but cannot. What version of libtool ? (libtool --version)
# libtool --version ltmain.sh (GNU libtool) 1.4.1 (1.922.2.34 2001/09/03 01:22:13) By the way, I realized that my previous comment was misleading, my other machine runs Gentoo normally (no VMWare), right on the hardware.
See http://forums.gentoo.org/viewtopic.php?p=163111#163111, it has a detailed desrciption of why this happens and how to (hopefully) work around this. hth, alessandro
Maybe this should be closed. Is this still relevant ?
same problem :(( i can't emerge x11-misc/ttmkfdir-3.0.9-r2 and this is dependency from x11-base/xorg-x11-6.8.0-r1
set your PORTAGE_TMPDIR to /var/tmp and/or /tmp and/or make sure your mount points arent unusual see referenced URL's for more indepth info