When I try to emerge gnome-vfs-2.8.4, it fails to compile. [...] creating libfile.la /bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la: No such file or directory libtool: link: '/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/libstdc++.la' is not a valid libtool archive make[3]: *** [libfile.la] Error 1 make[3]: *** Waiting for unfinished jobs... [...] make[3]: Leaving directory '/var/tmp/portage/gnome-vfs-2.8.4/work/gnome-vfs-2.8.4/modules' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/gnome-vfs-2.8.4/work/gnome-vfs-2.8.4/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/gnome-vfs-2.8.4/work/gnome-vfs-2.8.4' make: *** [all] Error 2 !!! Error: gnome-base/gnome-vfs-2.8.4 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. USE="~x86" emerge gnome-base/gnome-vfs-2.8.4 3. Actual Results: Emerging fails due to compile failure. Expected Results: It should emerge cleanly, I think. I don't know if this big is a gcc, lib(tool), sed or gnome problem. All of my packages are at ~x86 state.
Bug 83869 seems to be similar.
Run: fix_libtool_files.sh 3.4.3 That should fix the problem.
I do not understand how or why this fixes the problem, but "fix_libtool_files.sh 3.4.3" fixed it. Thanks Mr. Loeser.
*** Bug 83866 has been marked as a duplicate of this bug. ***
*** Bug 84095 has been marked as a duplicate of this bug. ***
*** Bug 86162 has been marked as a duplicate of this bug. ***
*** Bug 86370 has been marked as a duplicate of this bug. ***
A safer thing to do, perhaps, is to look under /usr/lib/gcc-lib/<your arch>/ for broken symlinks and fix them manually?
*** Bug 91684 has been marked as a duplicate of this bug. ***