Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fix_libtool_files.sh 3.4.6 wont fix libstdc++.la etc [solved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Tue Feb 13, 2007 4:23 am    Post subject: fix_libtool_files.sh 3.4.6 wont fix libstdc++.la etc [solved Reply with quote

hmm, did an emerge -uDa world today.

amarok 1.4.5 fails with

Code:

/usr/kde/3.5/lib64/libkhtml.so: undefined reference to `__cxa_get_exception_ptr@CXXABI_1.3.1'
collect2: ld returned 1 exit status
make[4]: *** [amarokapp] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5/work/amarok-1.4.5/amarok/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5/work/amarok-1.4.5/amarok/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5/work/amarok-1.4.5/amarok'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/amarok-1.4.5/work/amarok-1.4.5'
make: *** [all] Error 2

!!! ERROR: media-sound/amarok-1.4.5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4739:   Called src_compile
  amarok-1.4.5.ebuild, line 73:   Called kde_src_compile
  kde.eclass, line 170:   Called kde_src_compile 'all'
  kde.eclass, line 340:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 336:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/amarok-1.4.5/temp/build.log'.



and when i try to run amarok i get

Quote:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by /usr/kde/3.5/lib64/libkhtml.so.4)


:\


Last edited by -=GGW=- $ol!d $n4>|e on Sun Mar 04, 2007 11:05 pm; edited 2 times in total
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Feb 13, 2007 7:24 am    Post subject: Reply with quote

Please post the output of `emerge --info` and `revdep-rebuild -pv`
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Tue Feb 13, 2007 7:37 am    Post subject: Reply with quote

mark_alec wrote:
Please post the output of `emerge --info` and `revdep-rebuild -pv`


just tried a revdep rebuild to no avail


Code:

revdep-rebuild -pv
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/bin/gnome-about-me (requires  libebook-1.2.so.5)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

All prepared. Starting rebuild...
emerge --oneshot -pv =gnome-base/control-center-2.14.2
..........

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] gnome-base/control-center-2.14.2  USE="alsa eds gstreamer -debug" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Build finished correctly. Removing temporary files...
You can re-run revdep-rebuild to verify that all libraries and binaries
are fixed. If some inconsistency remains, it can be orphaned file, deep
dependency, binary package or specially evaluated library.


and

Code:

emerge --info
Portage 2.1.2-r9 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System release 1.12.8
Timestamp of tree: Mon, 12 Feb 2007 22:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.osuosl.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ "
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib aiglx aim alsa amd amd64 apache2 authdaemond berkdb bitmap-fonts cairo cdr cli cracklib crypt cups divx4linux dlloader dri dvd dvdr eds emboss encode foomaticdb fortran gif gimpprint glitz gnome gpm gstreamer gtk gtk2 hal howl iconv imap imlib ipv6 isdnlog java jpeg kde ldap libcaca libwww lzw lzw-tiff mad maildir midi mozilla mp3 mpeg mysql ncurses nls nptl nptlonly offensive openal opengl pam pcre perl pic png ppds pppd python qt qt3 qt4 quicktime readline reflection sasl scanner sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb vda xcomposite xinerama xml xml2 xorg xpm xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS



also, gnome-base/control-center fails to compile, but i'm using kde, i think its only in there because i emerged compiz at some point, or for gtk/gtk2.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Feb 13, 2007 8:08 am    Post subject: Reply with quote

If you rebuild kdelibs, does that help fix it?
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Tue Feb 13, 2007 9:14 am    Post subject: Reply with quote

mark_alec wrote:
If you rebuild kdelibs, does that help fix it?


tried that too to no avail. I did switch from gcc 3.4.6 or 4.1.1 recently, but i've emerged packages since then, and this was just before my latest emerge uDa world. Also, during the emerge. It wont recompile the old amarok either. However amarok appears to be the only app affected by this. should I attempt a downgrade of kdelibs and recompile of amarok?
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Feb 13, 2007 9:17 am    Post subject: Reply with quote

http://www.gentoo.org/doc/en/gcc-upgrading.xml#upgrade-general
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Tue Feb 13, 2007 9:11 pm    Post subject: Reply with quote

hmm, i did al that, and i think its getting closer, it now states that

Quote:

/bin/sed: can't read /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.la' is not a valid libtool archive


when attempting to compile kdelibs.

and the error with the khtmlread is that it cant find libstdc++ when i run amarok, however i've tried recompiling libstdc++-v3 and virtual/libstd++ without error so far.

EDIT: reran fix_libtools_sh 3.4.6 and it fixed libstd, recompiling kdelibs, then hopefully a recompile of amarok will work.
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Tue Feb 13, 2007 10:33 pm    Post subject: Reply with quote

ok, well, i ran the fixlibtools script and then i re-emerged libstdc++, and i'm still getting

Quote:

/bin/sed: can't read /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.la' is not a valid libtool archive


when attemptign to emerge kde libs

and for some reason, every time i run fix_libtool_files.sh

it re fixes

Quote:

* [18/25] Scanning /usr/lib64 ...
* FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.la ...[]
* FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libsupc++.la ...[]
* FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libg2c.la ...[]


yet nothing else.
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Wed Feb 14, 2007 12:40 am    Post subject: Reply with quote

ok, i read up on it more, and am still lost.. found

https://forums.gentoo.org/viewtopic-t-279136.html

https://forums.gentoo.org/viewtopic-t-279020.html

https://forums.gentoo.org/viewtopic-t-318790.html

https://bugs.gentoo.org/show_bug.cgi?id=73435#c207

but it is still not working, fix_libtool_files.sh 3.4.6 will NOT fix libstdc++.la, libsupc++.la or libg2c.la

I have attempted to temporarily solve this problem by copying /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.la to /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.la


but then i get warinings that state that /usr/lib64/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.la seems to be moved, so obviously this is not a good solution., and now when i run fix_libtool_files.sh 3.4.6 it also fixes the libstdc++.la in my 4.1.1 dir.

:cry:
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Wed Feb 14, 2007 3:53 am    Post subject: Reply with quote

hmm, is it possible to downgrade this without much harm?
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Thu Feb 15, 2007 9:39 am    Post subject: Reply with quote

*bump*

if anyone has any pointers they'd be greatly appreciated, I'm still attempting to work through this issue,

so far I've learned how the fix_libtool_files.sh works and am in the process of finding the fixlafiles.awk's on my sytem.

do i use the .awk file in 3.4.6, in 4.1.1 or in sys-devel/fixlafiles.awk tho
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Fri Feb 16, 2007 8:40 am    Post subject: Reply with quote

downgraded to 3.4.6 again, reversed the fix libtool command, things are working now, annoying that I can't upgrade safely. :(
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Tue Feb 20, 2007 3:23 pm    Post subject: Reply with quote

-=GGW=- $ol!d $n4>|e wrote:

it re fixes

Quote:

* [18/25] Scanning /usr/lib64 ...
* FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.la ...[]
* FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libsupc++.la ...[]
* FIXING: /usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.6/libg2c.la ...[]


yet nothing else.


I don't believe it is refixing it, it is noticing that the libraries which could be fixed (3.4.6) are in the compiler specific directory and should be left alone. If you were to uninstall the compiler ( post upgrade) these files would go away. But as long as you might ever want to use that version of the compiler, they should be there.
_________________
emerge: there are no ebuilds to satisfy "moo"
Back to top
View user's profile Send private message
blue_american
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2005
Posts: 92
Location: Coimbra, Portugal

PostPosted: Wed Feb 21, 2007 2:25 pm    Post subject: Reply with quote

Hi,

Try to re-emerge libstdc++-v3, libtool and glibc, and for amarok I think that is safe to re-emerge kdelibs too.

Could you post the result? I'm trying anyway.

EDIT: It doesn't work. I'm emerging system now... I'll post to you later. Btw I think that with gcc4 isn't supposed to use libstdc++.la because I've compiled amarok on other machine and the library doesn't exist on that system.
Back to top
View user's profile Send private message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Sun Mar 04, 2007 11:05 pm    Post subject: Reply with quote

hey, i just decided to try to go back and takle this because i was getting some errors for having gcc 3.3 still on my system. What worked for me was to downgrade back to 3.4.6 and run fix libtools on 4.4.1 then rebuilding everything that was brocken with a revdep rebuild. Then i re-emerged gcc 4.4.1, and this time ran fix libtools on 3.3.6, then 3.4.6, and then rebuilt everything with a revdep-rebuild. Now it seems to be runing fine on 4.4.1. Hope this helps you.
Back to top
View user's profile Send private message
blue_american
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2005
Posts: 92
Location: Coimbra, Portugal

PostPosted: Mon Mar 05, 2007 12:17 am    Post subject: Reply with quote

Hi,

Thanks for the reply.

I got around it by running again fix_libtool_files on the same gcc version, and it worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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