Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Wed Sep 06, 2006 8:09 pm Post subject: ebuilds failing - nonexistant libstdc++.la! [SOLVED] |
|
|
I've just upgraded GCC, and this is the second thing not to compile properly any more.
As suggested in another thread, I've tried emerging both QTs (3&4), and then kdelibs before this, but to no avail.
I get this:
Code: | rm -f main_widget.cpp
echo '#include <kdialog.h>' > main_widget.cpp
echo '#include <klocale.h>' >> main_widget.cpp
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload -tr tr2i18n -i main_widget.h ./main_widget.ui > main_widget.cpp.temp ; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" main_widget.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_main_widget,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> main_widget.cpp ;\
rm -f main_widget.cpp.temp ;\
if test "$ret" = 0; then echo '#include "main_widget.moc"' >> main_widget.cpp; else rm -f main_widget.cpp ; exit $ret ; fi
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libkonq -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o main_widget.lo `test -f 'main_widget.cpp' || echo './'`main_widget.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o kcm_useraccount.la -rpath /usr/kde/3.5/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined chfnprocess.lo main.lo chfacedlg.lo main_widget.lo settings.lo pass.lo ../../libkonq/libkonq.la
grep: /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la' is not a valid libtool archive
make[4]: *** [kcm_useraccount.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdepasswd-3.5.2/work/kdepasswd-3.5.2/kdepasswd/kcm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdepasswd-3.5.2/work/kdepasswd-3.5.2/kdepasswd/kcm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdepasswd-3.5.2/work/kdepasswd-3.5.2/kdepasswd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdepasswd-3.5.2/work/kdepasswd-3.5.2'
make: *** [all] Error 2
!!! ERROR: kde-base/kdepasswd-3.5.2 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called kde-meta_src_compile
kde-meta.eclass, line 410: Called kde_src_compile
kde.eclass, line 166: Called kde_src_compile 'all'
kde.eclass, line 325: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 321: Called die
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant. |
I've checked bugzilla too, but nothing seems to be relevant. Any ideas?
Cheers
[edit:]
Argh! This problem's worse than I thought! Konqueror fails to compile as well, with the exact same error - and I have a sneaking suspicion several other things have the same problem. I really need a fix here! They're all looking for /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la, which isn't there. How can I get it? I've tried remerging libstdc++ and gcc, but it didn't help...
[edit again:]
Hmm, I've logged out and then back in again and that seems to have fixed it. I guess it was just my environment that needed updating... _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|