Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The wierdest libstdc++.la problem!
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
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 05, 2005 3:17 am    Post subject: The wierdest libstdc++.la problem! Reply with quote

Code:
/bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=x86-64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -Wl,-O1 -o libkio.la-rpath /usr/kde/3.4/lib -version-info 6:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib64     dummy.lo kssl/libkssl.la kio/libkiocore.la kio/libksycoca.la bookmarks/libkbookmarks.la kfile/libkfile.la ../kdeui/libkdeui.la ../kdesu/libkdesu.la ../kwallet/client/libkwalletclient.la -lz -lfam
grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3.3/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3.3/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3.3/libstdc++.la' is not a valid libtool archive
make[3]: *** [libkio.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.0 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


What have I done to get this
Code:
grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3.3/libstdc++.la: No such file or directory
kind of wierdness?

Help!

:(
_________________
gentoo user
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Apr 05, 2005 3:52 am    Post subject: Reply with quote

No idea what you did, but the solution is part of the FAQ: https://forums.gentoo.org/viewtopic-t-279020.html
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 05, 2005 4:01 am    Post subject: Reply with quote

Well, I saw that solution in many post and obviously tried that, but no metter what I do I get same error.

Interesting thing is that every time I mess around trying to solve the problem, number of "3" in "3.4.3.3.3" is growing (it was "3.4.3.3" last time).
I guess this could be because of some simlinks I've made by suggestion on this forum when I couldn't emerge some packages few weeks ago... :(

Is there any way to clean all the mess about those libraries, simlinks and so on, and emerge fresh copy of gcc or whatever is needed?


:?
_________________
gentoo user
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Tue Apr 05, 2005 4:22 am    Post subject: Reply with quote

It's a little bit risky, but you can try making a package of gcc using quickpkg, delete the gcc directory (probably should keep a backup just in case), and then emerge gcc.

The alternative is to try the latest version of gcc, 3.4.3.20050110-r1, which has been working great for me.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 05, 2005 1:47 pm    Post subject: Reply with quote

No progress at all... :(

Emerged 3.4.3-20050110 again, emerged libstdc++-v3 again, run fix_libtool_files.sh 3.4.3
Code:
...
 *     FIXING: /usr/kde/3.3/lib/libkpimidentities.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libakode_mpc_decoder.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libkdeinit_extensionproxy.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libkdecorations.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libksplashthemes.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libkdeinit_kedit.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libkhtml.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libkabc_slox.la ...[]
 *     FIXING: /usr/kde/3.3/lib/libkdeinit_kprinter.la ...[]
 *   [8/11] Scanning /usr/kde/3.4/lib ...
 *     FIXING: /usr/kde/3.4/lib/libmcop.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libsoundserver_idl.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libgmcop.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libartsflow.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libmcop_mt.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libkmedia2_idl.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libartsflow_idl.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libartscbackend.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libqtmcop.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libx11globalcomm.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libartsgslplayobject.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libartswavplayobject.la ...[]
 *     FIXING: /usr/kde/3.4/lib/libkmedia2.la ...[]
 *   [9/11] Scanning /usr/local/lib ...
 *   [10/11] Scanning /usr/qt/3/lib ...
 *   [11/11] Scanning /usr/x86_64-pc-linux-gnu/lib ...


But error stil remains:
Code:
/bin/sh ../libtool --silent --mode=link --tag=CXX x86_64-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=x86-64 -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -Wl,-O1 -o libkio.la-rpath /usr/kde/3.4/lib -version-info 6:0:2 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib64     dummy.lo kssl/libkssl.la kio/libkiocore.la kio/libksycoca.la bookmarks/libkbookmarks.la kfile/libkfile.la ../kdeui/libkdeui.la ../kdesu/libkdesu.la ../kwallet/client/libkwalletclient.la -lz -lfam
grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3.3/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3.3/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3.3/libstdc++.la' is not a valid libtool archive
make[3]: *** [libkio.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.0 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


Those redundant ".3.3" in "3.4.3.3.3" make a problem... Don't know where to find file where they are set...



:cry:
_________________
gentoo user
Back to top
View user's profile Send private message
aleksjan2
n00b
n00b


Joined: 25 Nov 2003
Posts: 1
Location: Riga, Latvia

PostPosted: Tue Apr 05, 2005 2:18 pm    Post subject: Reply with quote

I had a similar problem. However in my case instead of 3.4.3.3.3 I had 3.3.5.5 or something like that.

Strange enough but executing fix_libtool_files.sh <stupid numbers> helped me.
For my case it was "fix_libtool_files.sh 3.3.5.5", for yours the command probably would be "fix_libtool_files.sh 3.4.3.3.3".

Sorry, if I was wrong.
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 05, 2005 4:43 pm    Post subject: Reply with quote

There's still error, but fewer "3":
Code:
grep: //usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3/libstdc++.la: No such file or directory
/bin/sed: can't read //usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3/libstdc++.la: No such file or directory
libtool: link: `//usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3.3/libstdc++.la' is not a valid libtool archive
make[3]: *** [libartskde.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/arts/kde'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0/arts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.0/work/kdelibs-3.4.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.4.0 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

I'll try to remove one more "3" :D
_________________
gentoo user
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Tue Apr 05, 2005 10:40 pm    Post subject: Reply with quote

So, I've finaly made it !!!

I had to do
Code:
fix_libtool_files.sh 3.4.3.3.3

and then
Code:
fix_libtool_files.sh 3.4.3.3



Thank you, aleksjan2 !!!
_________________
gentoo user
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