I am having trouble emerging many packages that have worked before. A common example of what the error is tho the I have also seen it bomb on libexpat.la as well as libpopt.la ../libtool: line 3115: cd: usr/lib: No such file or directory libtool: link: warning: cannot determine absolute directory name of `usr/lib' grep: usr/lib/libpopt.la: No such file or directory /bin/sed: can't read usr/lib/libpopt.la: No such file or directory libtool: link: `usr/lib/libpopt.la' is not a valid libtool archive 3 pacakages I can confirm libbonobo-2.8.1, kdebase-3.4_beta2, gal-2.2.4, eel-2.8.2. there are 80 or so more that I have not yet confirmed the liking error. full error from libbonobo-2.8.1: make all-am make[3]: Entering directory `/var/tmp/portage/libbonobo-2.8.1/work/libbonobo-2.8.1/idl' if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-xp -Os -fomit-frame-pointer -pipe -falign-functions=64 -mfpmath=sse -m3dnow -msse -mmmx -ffast-math -MT Bonobo-imodule.lo -MD -MP -MF ".deps/Bonobo-imodule.Tpo" \ -c -o Bonobo-imodule.lo `test -f 'Bonobo-imodule.c' || echo './'`Bonobo-imodule.c; \ then mv -f ".deps/Bonobo-imodule.Tpo" ".deps/Bonobo-imodule.Plo"; \ else rm -f ".deps/Bonobo-imodule.Tpo"; exit 1; \ fi mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-xp -Os -fomit-frame-pointer -pipe -falign-functions=64 -mfpmath=sse -m3dnow -msse -mmmx -ffast-math -MT Bonobo-imodule.lo -MD -MP -MF .deps/Bonobo-imodule.Tpo -c Bonobo-imodule.c -fPIC -DPIC -o .libs/Bonobo-imodule.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -DORBIT2=1 -pthread -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=athlon-xp -Os -fomit-frame-pointer -pipe -falign-functions=64 -mfpmath=sse -m3dnow -msse -mmmx -ffast-math -MT Bonobo-imodule.lo -MD -MP -MF .deps/Bonobo-imodule.Tpo -c Bonobo-imodule.c -o Bonobo-imodule.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -march=athlon-xp -Os -fomit-frame-pointer -pipe -falign-functions=64 -mfpmath=sse -m3dnow -msse -mmmx -ffast-math -o Bonobo_module.la -rpath /usr/lib/orbit-2.0 -export-dynamic -module -avoid-version -no-undefined Bonobo-imodule.lo -Wl,--export-dynamic -pthread -lORBitCosNaming-2 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgobject-2.0 -lgthread-2.0 -lglib-2.0 ../libtool: line 3115: cd: usr/lib: No such file or directory libtool: link: warning: cannot determine absolute directory name of `usr/lib' grep: usr/lib/libpopt.la: No such file or directory /bin/sed: can't read usr/lib/libpopt.la: No such file or directory libtool: link: `usr/lib/libpopt.la' is not a valid libtool archive make[3]: *** [Bonobo_module.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/libbonobo-2.8.1/work/libbonobo-2.8.1/idl' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/libbonobo-2.8.1/work/libbonobo-2.8.1/idl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libbonobo-2.8.1/work/libbonobo-2.8.1' make: *** [all] Error 2 !!! ERROR: gnome-base/libbonobo-2.8.1 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. I have run fix_libtool_files.sh passing 3.4.3, 3.3.4, and 3.4, none of which help, I have tried gcc-3.4.3-r1, gcc-3.4.3.20050110, I also switched to my older compiler gcc-3.3.4 with the same result. Reproducible: Always Steps to Reproduce: 1.emerge libbonobo 2.emerge kdebase-3.4_beta2 3.emerge gal Actual Results: linker error Expected Results: rebuilt packages Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-mm2 i686) ================================================================= System uname: 2.6.10-mm2 i686 AMD Athlon(tm) MP 1900+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#2, Feb 19 2005, 05:51:27)] ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r5, 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe -falign-functions=64 -mfpmath=sse -m3dnow -msse -mmmx -ffast-math" 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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -pipe -falign-functions=64 -mfpmath=sse -m3dnow -msse -mmmx -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg candy ccache distlocks sfperms" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ ftp://gentoo.noved.org/ http://gentoo.noved.org/ http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage1" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm applypatches arts audiofile avi berkdb bindist bitmap-fonts bonobo cdparanoia cdr crypt cups curl dga doc dvd dvdr emboss encode esd evo f77 fam fastcgi fbcon flac flash font-server foomaticdb fortran gb gif glx gpm gstreamer gtk gtk2 gtkhtml hal ieee1394 imagemagick imlib ipv6 ithreads jack java jikes joystick jpeg junit kde kdeenablefinal kerberos lcms ldap libclamav libg++ libwww lm_sensors logitech-mouse mad mikmod mmx motif mozilla mpeg mpi mysql nas ncurses nls nptl objc oggvorbis opengl oss pam pda pdflib perl pic png ppds python qt quicktime rdesktop readline samba scanner sdl slang speex spell sse ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb videos winbind wmf x86 xine xinerama xml xml2 xmms xosd xprint xscreensaver xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
please run this and post the output as an attachment: grep '[^/]usr/lib' /usr/lib/*.la
Created attachment 51749 [details] Requested output output of running: grep '[^/]usr/lib' /usr/lib/*.la
and if you re-emerge popt, what does libpopt.la have for libdir= in it ?
I just re-emerged, but the output is still the same. /usr/lib/libpopt.la:libdir='usr/lib'
please run `emerge popt >& log` and post the log file as an attachment
Created attachment 51751 [details] output of emerge popt >& log
ok, here's another fun thing to try: ebuild popt-1.7-r1.ebuild clean unpack compile cd /var/tmp/portage/popt-1.7-r1/work/popt-1.7 # edit libtool and add 'set -x' to the second line rm -f libpopt.la make >& libtool-log then post libtool-log as an attachment
Created attachment 51752 [details] Requested libtool-log adding 'set -x'
hrm, can you post the install-log from this then (make sure libtool still has the 'set -x' in it): cd /var/tmp/portage/popt-1.7-r1/work/popt-1.7 make install DESTDIR=/var/tmp/portage/popt-1.7-r1/image/ >& install-log
Created attachment 51754 [details] requested output of: make install DESTDIR=/var/tmp/portage/popt-1.7-r1/image/ >& install-log
well i'm out of ideas ... the attached debug output all looks sane ... only thing i can think of is that your CFLAGS are a little out there ... -march + -Os has been known to cause issues before ... perhaps try this: CFLAGS="-pipe" emerge coreutils sed libtool popt and see if it works ...
I tried: CFLAGS="-pipe" emerge coreutils sed libtool popt Still a no go.
I had the same problem with xorg-x11 (never had any problems with popt though). I had to change libdir='usr/lib' in libGLU.la and correct some dependent .la files. the xorg-x11-6.8.2 ebuild now seems to contain a fix (the fix_libtool_libdir_paths function) for this.
I have the sameproblem (missing heading slash) for librsvg and atk. See Bug b82935
Same problem here for pyorbit (looking for libIDL-2) and celestia (looking for qt-mt). Other apps compile fine.
I Changed CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe" and rebuilt the toolchain, then rebuilt system. Hoping that it was an issue with my CFLAGS. I swiped my new cflags from a post by the developer who is responsible for porting gcc (I am going from memory and cant track the post at the moment... sorry) im pretty sure he goes by the handle ciaranm on the forums. still a no go :( Thanks again for your help
you guys are confusing bugs here the libGLU.la bug was something in xorg-x11 that's been fixed already and has NOTHING to do with this bug really all it takes is one broken .la and others will be broken too because of it, but those packages arent broken
I edited the *.la files that depended upon `usr/lib/libpopt.la` and added the leading / Things appear to be building now, I will report after my system finishes rebuilding due to the new CFLAGS :)
*** This bug has been marked as a duplicate of 83081 ***