Building gst-plugins per the Gnome 2.2 requirement crashes. This is after upgrading to gcc-3.2.2 today. Reproducible: Always Steps to Reproduce: 1. Update gcc to version 3.2.2 2. Emerge gst-plugins and it's related package(s) 3. Actual Results: [partial output] /bin/sh ../../libtool --mode=link g++ -march=pentium3 -O2 -pipe -o libgstarts.la -rpath /usr/lib/gstreamer-0.6 -module -avoid-version libgstarts_la-gst_arts.lo libgstarts_la-gst_artsio.lo libgstarts_la-gst_artsio_impl.lo -L/usr/kde/3.1/lib -ldl -lartsc -lpthread -lartsflow -lartsflow_idl mkdir .libs grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.la: No such file or directory sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/libstdc++.la' is not a valid libtool archive make[3]: *** [libgstarts.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.0-r1/work/gst-plugins-0.6.0/ext/arts' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.0-r1/work/gst-plugins-0.6.0/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.0-r1/work/gst-plugins-0.6.0' make: *** [all] Error 2 !!! ERROR: media-libs/gst-plugins-0.6.0-r1 failed. !!! Function src_compile, Line 123, Exitcode 2 !!! (no error message) [/done] This is Gentoo Base System version 1.4.3.2 running mostly unstable.
Killing arts support fixes the problem (this should obey the USE flags...I see the comment though). I changed the ebuild to include --disable-arts in myconf (last line): myconf="${myconf} --enable-vorbis --enable-vorbistest --disable-arts" So there must be a probelm with my kde install no? Let me know if there's anything I can provide.
I found the thread regarding the fix_libtool_files.sh script. Running this fixed the problem. You can close this bug.
As a side note, maybe the maintainer of the gcc ebuild should make a note regarding this in his/her ebuild. -Paul
what thread exactly (link) ? and what was your solution in this and what exactly would you want the gcc maintainer to mention in the ebuild ?
Sorry for the slightly vague last report. The bug I was refering to is Bug 15025 in which the reporter states that he cannot merge kdelibs-31_r1 due to libstdc++.la from his previous version of gcc not being found. The maintainer then asks that he run the update script '/usr/portage/sys-devel/gcc/files/fix_libtool_files.sh' and tell it his previous version of gcc to repair any problems from upgrading gcc. Now, what I wanted to point out is that the gcc build should either run this script post-install or notify the user that there may be problems with builds that used the previous version of gcc and if he/she encounters them they should run the script to fix them. This seems to only effect kde and some other apps but it's worth mentioning and it'll give you one less bug report ;-) -Paul
azarah, have a look at comment #5
It was a problem with early version of the script that did not hunt .la files in subdirs, thus even when running it, it did not fix them all. Is fixed now, so all upgraders should not have this issue ...