make[3]: Entering directory `/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4/ext/arts' source='gst_arts.c' object='libgstarts_la-gst_arts.lo' libtool=yes \ depfile='.deps/libgstarts_la-gst_arts.Plo' tmpdepfile='.deps/libgstarts_la-gst_arts.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../gst-libs -Werror -O2 -mcpu=i686 -pipe -c -o libgstarts_la-gst_arts.lo `test -f gst_arts.c || echo './'`gst_arts.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../gst-libs -Werror -O2 -mcpu=i686 -pipe -c gst_arts.c -MT libgstarts_la-gst_arts.lo -MD -MP -MF .deps/libgstarts_la-gst_arts.TPlo -fPIC -DPIC -o libgstarts_la-gst_arts.o gst_arts.c:34:3: multi-line string literals are deprecated make[3]: *** [libgstarts_la-gst_arts.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4/ext/arts' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.3.4/work/gst-plugins-0.3.4' make: *** [all] Error 2 Is this gcc 3 related ?
The stupid program is running with -Werror, and using multi-line-string-literals ... ... taking out -Werror it will work
I'm giving this one to someone else cuz right now I can't even get mjpeg tools (a dep of this) to build... Please test hacking the makefile to remove -Werror as I mentioned above, that should do it... but as I said, I can't test.
*** Bug 4935 has been marked as a duplicate of this bug. ***
Removing -Werror gets me further, but it ends like this now: -gstflac.TPlo -fPIC -DPIC -o libgstflac_la-gstflac.lo gstflacenc.c:59: warning: type defaults to `int' in declaration of `FLAC__StreamMetaData' gstflacenc.c:59: parse error before '*' token gstflacenc.c:173: warning: type defaults to `int' in declaration of `FLAC__StreamMetaData' gstflacenc.c:173: parse error before '*' token gstflacenc.c: In function `gst_flacenc_metadata_callback': gstflacenc.c:178: `client_data' undeclared (first use in this function) gstflacenc.c:178: (Each undeclared identifier is reported only once gstflacenc.c:178: for each function it appears in.) gstflacenc.c:184: `metadata' undeclared (first use in this function) make[3]: *** [libgstflac_la-gstflacenc.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.0/work/gst-plugins-0.4.0/ext/flac' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.0/work/gst-plugins-0.4.0/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.0/work/gst-plugins-0.4.0' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-libs/gst-plugins/gst-plugins-0.4.0.ebuild
note: the current gst-plugins has been fixed to ignore flac and thus wont break on compile anymore
worked for me...