this: src_install() { make DESTDIR="${D}" install || die "make install failed" find "${D}" -name '*.la' -delete } causes: /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-g++ -ansi -pedantic -Wall -Wno-long-long -Wno-unknown-pragmas -DVERSION="\"0.2.0-dev\"" -DTHEORA=1 -pipe -O2 -march=athlon64 -DNDEBUG=1 -Wl,--hash-style=gnu -o cpsrecode ../src/libcapseo.la -ltheora -logg -logg cpsrecode.o mkdir .libs x86_64-pc-linux-gnu-g++ -ansi -pedantic -Wall -Wno-long-long -Wno-unknown-pragmas -DVERSION=\"0.2.0-dev\" -DTHEORA=1 -pipe -O2 -march=athlon64 -DNDEBUG=1 -Wl,--hash-style=gnu -o .libs/cpsinfo cpsinfo.o ../src/.libs/libcapseo.so creating cpsinfo libtool: link: cannot find the library `/usr/lib64/libogg.la' or unhandled argument `/usr/lib64/libogg.la' make[2]: *** [cpsrecode] Error 1 which results in a failed build. That change was commited by Diego, reason unknown: 18 Apr 2008; Diego Pettenò <flameeyes@gentoo.org> +libogg-1.1.3-r1.ebuild: Revision bump to drop libtool .la files. Reproducible: Always Steps to Reproduce:
Also affects app-cdr/k3b-1.0.4-r1: make[4]: Entering directory `/var/tmp/portage/app-cdr/k3b-1.0.4-r1/work/k3b-1.0.4/plugins/decoder/flac' /usr/qt/3/bin/moc ./k3bflacdecoder.h -o k3bflacdecoder.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../../libk3b/plugin -I./../../../libk3bdevice -I./../../../libk3b/core -I/usr/include/taglib -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -pipe -O2 -march=athlon64 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o k3bflacdecoder.lo k3bflacdecoder.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -pipe -O2 -march=athlon64 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -Wl,--hash-style=gnu -o libk3bflacdecoder.la -rpath /usr/lib64/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -L/usr/kde/3.5/lib64 k3bflacdecoder.lo ../../../libk3b/libk3b.la -lkdeui -lFLAC++ -lFLAC -L/usr/lib64 -ltag -lm -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -L/usr/kde/3.5/lib64 grep: /usr/lib64/libogg.la: No such file or directory /bin/sed: can't read /usr/lib64/libogg.la: No such file or directory libtool: link: `/usr/lib64/libogg.la' is not a valid libtool archive make[4]: *** [libk3bflacdecoder.la] Error 1
I just saw I accidentialy unmasked a masked revision... But maybe you didn't know about implications that revision might have. If you dont want to track it any further, please mark it CLOSED/INVALID.
*** This bug has been marked as a duplicate of bug 218286 ***
The following should be added to the Gentoo GCC upgrade or other relevant Gentoo doc or wiki. Solutions especially like this should be well documented if a bug relies on an outside source and uses to mark the bug fixed. # emerge dev-util/lafilefixer # lafilefixer --justfixit This is just my suggestion as it would definitely add some sanity to these reoccurring bugs. And searching Google really didn't show any popular pages with lafilefixer documented. As such, these bugs might be more appropriately marked as "hack works for me (screw everybody who can't search this bug site)"??