Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 130776

Summary: libtool hangs during emerge --update of apr-util
Product: Gentoo Linux Reporter: eric.williams
Component: [OLD] UnspecifiedAssignee: Apache Team - Bugzilla Reports <apache-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description eric.williams 2006-04-21 14:38:18 UTC
As far as I can tell from running the libtool command manually with --debug instead of --silent as transcripted during the emerge, it's trying to do a hard link from $PORTAGE_TMPDIR to something in /usr/share.  This obviously doesn't work across partitions, and since the link is some sort of a lock the build process gets stuck in a sleep/test loop.

A workaround:

mkdir /usr/share/Temporary
PORTAGE_TMPDIR=/usr/share/Temporary emerge apr-util;
rm -rf /usr/share/Temporary


Portage 2.1_pre7-r5 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-rc6 i686)
=================================================================
System uname: 2.6.16-rc6 i686 AMD Athlon(TM) XP 1600+
Gentoo Base System version 1.12.0_pre17
distcc[14054] (dcc_trace_version) distcc 2.18.3 i686-pc-linux-gnu; built Jan  6 2006 13:38:20 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=athlon-xp -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mtune=athlon-xp -march=i686 -pipe"
DISTDIR="/data/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf-8"
MAKEOPTS="-j1"
PKGDIR="/usr/portage_packages.aurigae"
PORTAGE_TMPDIR="/data/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 aac acpi acpi4linux alsa apm avi berkdb bitmap-fonts cli crypt cups dri dts dvd dvdread eds emboss encode f77 font-server foomaticdb fortran gdbm gif gnome gnomedb gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java javamail jpeg kde libg++ libwww live mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd python qt quicktime readline real reflection sdl session spell spl sse ssl tcltk tcpd theora truetype truetype-fonts type1-fonts unicode v4l vorbis win32codecs xml2 xmms xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS
Comment 1 eric.williams 2006-04-22 13:12:02 UTC
The build of apache 2.0.55-r2 is also showing this problem.
Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2006-08-16 13:53:50 UTC

*** This bug has been marked as a duplicate of 117065 ***