I upgraded to the new gstreamer 0.6.1 and was trying to emerge gst-plugins-0.6.1 when I got this error: mkdir .libs grep: /usr/kde/3.1/lib/libartsc.la: No such file or directory /bin/sed: can't read /usr/kde/3.1/lib/libartsc.la: No such file or directory libtool: link: `/usr/kde/3.1/lib/libartsc.la' is not a valid libtool archive make[3]: *** [libgstwincodec.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1/ext/avifile' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.6.1/work/gst-plugins-0.6.1' make: *** [all] Error 2 !!! ERROR: media-libs/gst-plugins-0.6.1 failed. !!! Function src_compile, Line 151, Exitcode 2 !!! (no error message) My USE looks like this: USE="-kde -qt -qt-mt -arts acpi alsa bonobo cdr cjk doc dvd ethereal evo fbcon flash gd gphoto2 gtk2 gtkhtml guile icc innodb jikes kerberos lcms libgda mozilla mysql -oss perl plotutils postgres ruby samba sse tiff usb" Arts is definitely disabled. Looking at the gst-plugins-0.6.1 ebuild, I see this: use arts \ && myconf="${myconf} --enable-arts --enable-artsc" \ || myconf="${myconf} --disable-arts --enable-artsc" Shouldn't the OR line be || myconf="${myconf} --disable-arts --disable-artsc" ? I changed it to that, but still the same error. Any ideas? Reproducible: Always Steps to Reproduce: 1. Emerge gst-plugins-0.6.1
it should be indeed, but thats not the problem here (will fix that). Most likely you have had arts on your system and removed it later on (?), then there might be still .la files in /usr/lib/ referring to arts . Find them and rebuild the packages owning these files.
Hmm...doing a `ls -R /usr/lib/*.la` |grep arts returns nothing. I'm going to test each installed package for +arts with something like `for i in `qpkg -I -nc`; do emerge -pv $i |grep arts >> artsdep; done`. I assume that would work? Doing an emerge -evp world would only test explicitly installed packages, correct?
doing a 'grep arts *.la' would be more helpful i think in /usr/lib .
any success here?
Fixed by reemerging avifile.
ok.. closing mind you, in my experience gst-plugins own 'builtin' ffmpeg plugin is a lot better than the avifile plugin. So if gstreamer is the only reason you have avifile (i think older versions depended on it), you might want to remove it and rebuild gst-plugins. Maybe i should hardcode disabling avifile in the ebuild.