View previous topic :: View next topic |
Author |
Message |
rappo n00b
Joined: 28 May 2004 Posts: 5
|
Posted: Sun Jan 23, 2005 8:08 pm Post subject: emerge k3b errors when trying to update |
|
|
I already have k3b 0.11.17, I'm trying to emerge 0.11.18
I get the following errors when it's trying to compile:
Code: | grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not avalid libtool archive
make[3]: *** [libk3bdevice.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/k3b-0.11.18/work/k3b-0.11.18/src/device'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/k3b-0.11.18/work/k3b-0.11.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/k3b-0.11.18/work/k3b-0.11.18'
make: *** [all] Error 2
!!! ERROR: app-cdr/k3b-0.11.18 failed.
!!! Function kde_src_compile, Line 142, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message. |
I noticed it was called GCC 3.3.4, but I'm currently running GCC 3.3.5
Any Ideas on how to resolve this?
Thanks |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Sun Jan 23, 2005 8:28 pm Post subject: |
|
|
Code: | fix_libtool_files.sh 3.3.4 |
This should probably be made a sticky or something. This seems to have been happening alot since the 3.3.4 -> 3.3.5 switch. _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
rappo n00b
Joined: 28 May 2004 Posts: 5
|
Posted: Sun Jan 23, 2005 8:57 pm Post subject: |
|
|
I tried the command you said and the following happens:
Code: | # fix_libtool_files.sh 3.3.4
* Scanning libtool files for hardcoded gcc library paths...
* [1/6] Scanning /lib ...
* [2/6] Scanning /usr/lib ...
* FIXING: /usr/lib/libtiff.la ...[v]
mv: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
:0: assertion failed: dosystem("mv -f /usr/lib/libtiff.la.new /usr/lib/libtiff.la") |
Any ideas? |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Sun Jan 23, 2005 8:59 pm Post subject: |
|
|
Just to be clear, you did the above as root, correct? _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
rappo n00b
Joined: 28 May 2004 Posts: 5
|
Posted: Sun Jan 23, 2005 9:35 pm Post subject: |
|
|
yes, i did it as root |
|
Back to top |
|
|
rappo n00b
Joined: 28 May 2004 Posts: 5
|
Posted: Mon Jan 24, 2005 1:52 pm Post subject: Fixed. |
|
|
The problem seems to be two-fold.
1. GCC didn't update properly
2. ACL, where'd you go??
So, here's what happened and how I fixed it. I emerged the new GCC and it did NOT produce any errors. Little did I know that that doesn't mean it actually didn't produce errors (it just means you don't know about them yet). Also, coreutils (ls, etc) stopped working. Apparently the livecd's coreutils are compiled with acl support but gentoo doesnt know this. So I ran an emerge --depclean and lost my acl and, in turn, coreutils.
With a livecd in hand, I begin the journey of self-discovery.
Boot the cd, and mount your gentoo system.
Code: | mount /dev/hdb3 /mnt/gentoo |
get the binary versions of ACL, ATTR, and COREUTILS.
Code: | wget http://dev.gentoo.org/~avenj/bins/acl-2.2.13-r2.tbz2
wget http://dev.gentoo.org/~avenj/bins/attr-2.4.7-r1.tbz2
wget http://dev.gentoo.org/~avenj/bins/coreutils-5.2.0.tbz2 |
^^thanks to juckes@freenode (#gentoo) for this bit of help
Now, extract all that stuff to your gentoo system.
Code: | tar -xvjf acl-2.2.13-r2.tbz2 -C /mnt/gentoo
tar -xvjf attr-2.4.7-r1.tbz2 -C /mnt/gentoo
tar -xvjf coreutils-5.2.0.tbz2 -C /mnt/gentoo |
Cool, reboot.
Does ls work? nice... keep going.
Code: | emerge acl coreutils |
This will get everything up to speed.
So, acl is all set, coreutils is working...
Time to do what was suggested before:
Code: | fix_libtool_files.sh 3.3.4 |
This actually works this time. Now, emerge k3b and you'll notice stuff actually works!
Zen and the Art of Emerge |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Mon Jan 24, 2005 7:15 pm Post subject: |
|
|
good to hear you finally got it _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
rgrig n00b
Joined: 30 Nov 2004 Posts: 13 Location: bucharest, romania
|
Posted: Mon Jan 24, 2005 8:32 pm Post subject: |
|
|
Thank you! I've got the same problem. |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|