View previous topic :: View next topic |
Author |
Message |
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 05, 2005 3:17 am Post subject: The wierdest libstdc++.la problem! |
|
|
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 |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 05, 2005 4:01 am Post subject: |
|
|
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 |
|
|
donjuan l33t
Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Tue Apr 05, 2005 4:22 am Post subject: |
|
|
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 |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 05, 2005 1:47 pm Post subject: |
|
|
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...
_________________ gentoo user |
|
Back to top |
|
|
aleksjan2 n00b
Joined: 25 Nov 2003 Posts: 1 Location: Riga, Latvia
|
Posted: Tue Apr 05, 2005 2:18 pm Post subject: |
|
|
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 |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 05, 2005 4:43 pm Post subject: |
|
|
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" _________________ gentoo user |
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Tue Apr 05, 2005 10:40 pm Post subject: |
|
|
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 |
|
|
|