Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19817 - libtool: waits indefinitely for lock (ttmkfdir 3.0.4 -> 3.0.9)
Summary: libtool: waits indefinitely for lock (ttmkfdir 3.0.4 -> 3.0.9)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks: 40992
  Show dependency tree
 
Reported: 2003-04-23 02:12 UTC by Yugo
Modified: 2004-11-03 21:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yugo 2003-04-23 02:12:29 UTC
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"
Comment 1 Yugo 2003-04-23 16:34:44 UTC
I retried this with CFLAGS = "" and it still fails.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-24 15:11:52 UTC
Try:

  # MAKEOPTS="-j1" emerge ttmkfdir

Comment 3 Yugo 2003-04-24 15:42:24 UTC
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.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-27 07:56:42 UTC
I have tried to recreate this, but cannot.  What version of libtool ?
(libtool --version)
Comment 5 Yugo 2003-04-28 12:36:02 UTC
# 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.
Comment 6 Alessandro Pisani 2003-04-30 02:30:41 UTC
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
Comment 7 Benoit Boissinot 2004-03-09 04:03:34 UTC
Maybe this should be closed. Is this still relevant ?
Comment 8 Aben Siatris 2004-10-14 09:17:51 UTC
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
Comment 9 SpanKY gentoo-dev 2004-11-03 21:43:48 UTC
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