Making all in flac make[3]: Entering directory `/var/tmp/portage/gst-plugins-0.4.0/work/gst-plugins-0.4.0/ext/flac' source='gstflacenc.c' object='libgstflac_la-gstflacenc.lo' libtool=yes \ depfile='.deps/libgstflac_la-gstflacenc.Plo' tmpdepfile='.deps/libgstflac_la-gstflacenc.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/gstreamer-0.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -Werror -march=i686 -O3 -pipe -c -o libgstflac_la-gstflacenc.lo `test -f gstflacenc.c || echo './'`gstflacenc.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gstreamer-0.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -Werror -march=i686 -O3 -pipe -c gstflacenc.c -MT libgstflac_la-gstflacenc.lo -MD -MP -MF .deps/libgstflac_la-gstflacenc.TPlo -fPIC -DPIC -o libgstflac_la-gstflacenc.lo cc1: warnings being treated as errors 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]: 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
Quick 'n easy temporary solution is to add --disable-flac to the config line in the ebuild.
This is a problem w/ all compilers. The issue is gst-plugins 0.4.0 only supports flac 1.0.2 and portage only has flac 1.0.3. Support for flac 1.0.3 is in the gstreamer CVS.
Strange, I get aalib errors AFTER I out --without-aalib in the ebuild...Can anybody explain why there is a remark about this in the ebuild (it says currenty fails with aalib), but not executed (ie. put --without-aalib in the ebuild) ?? Regards, Rigo make[3]: Entering directory `/var/tmp/portage/gst-plugins-0.4.0-r2/work/gst-plugins-0.4.0/ext/aalib' source='gstaasink.c' object='libgstaasink_la-gstaasink.lo' libtool=yes \ depfile='.deps/libgstaasink_la-gstaasink.Plo' tmpdepfile='.deps/libgstaasink_la-gstaasink.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/gstreamer-0.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/usr/include -march=i686 -O3 -pipe -c -o libgstaasink_la-gstaasink.lo `test -f gstaasink.c || echo './'`gstaasink.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gstreamer-0.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/usr/include -march=i686 -O3 -pipe -c gstaasink.c -MT libgstaasink_la-gstaasink.lo -MD -MP -MF .deps/libgstaasink_la-gstaasink.TPlo -fPIC -DPIC -o libgstaasink_la-gstaasink.lo cc1: changing search order for system directory "/usr/include" cc1: as it has already been specified as a non-system directory make[3]: *** [libgstaasink_la-gstaasink.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.0-r2/work/gst-plugins-0.4.0/ext/aalib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gst-plugins-0.4.0-r2/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-r2/work/gst-plugins-0.4.0' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 33, Exitcode 2 !!! (no error message) lappy portage #
Duh...It's --disable-aalib....Ofcourse... ;) Rigo
Created attachment 3890 [details] gst-plugins-0.4.0-r2.ebuild Like this it works 4 me,although I cannot test for 3.1 anymore... :-D
building now, will commit . the fix looks good, but its bad record to just not buildtest things before commiting
How wise....Just ment I tested on 3.2 instead ;-)
oh yes, but I always buildtest before commiting . commited now