Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ebuilds failing - nonexistant libstdc++.la! [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Wed Sep 06, 2006 8:09 pm    Post subject: ebuilds failing - nonexistant libstdc++.la! [SOLVED] Reply with quote

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
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Sun Oct 08, 2006 10:52 am    Post subject: Reply with quote

I'll try your solution...
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum