After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668338 - [0.11] - gst-ffmpeg fails to build from disted tarball
[0.11] - gst-ffmpeg fails to build from disted tarball
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-libav
0.11.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-20 12:55 UTC by Christian Fredrik Kalager Schaller
Modified: 2012-01-20 15:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2012-01-20 12:55:10 UTC
-Wno-deprecated-declarations -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGST_USE_UNSTABLE_API  -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Werror     -DGST_DISABLE_DEPRECATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o libgstffmpeg_la-gstffmpegdec.lo `test -f 'gstffmpegdec.c' || echo './'`gstffmpegdec.c
  CC     libgstffmpeg_la-gstffmpegcfg.lo
/bin/sh ../../libtool --silent --tag=CC --tag=disable-static  --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..    -I ../../gst-libs/ext/libav/libavutil   		 -I ../../gst-libs/ext/libav/libavformat                  -I ../../gst-libs/ext/libav/libavcodec 		 -I ../../gst-libs/ext/libav 		 -I ../../gst-libs/ext/libav                  -Wno-deprecated-declarations -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGST_USE_UNSTABLE_API  -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Werror     -DGST_DISABLE_DEPRECATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o libgstffmpeg_la-gstffmpegcfg.lo `test -f 'gstffmpegcfg.c' || echo './'`gstffmpegcfg.c
  CC     libgstffmpeg_la-gstffmpegdemux.lo
/bin/sh ../../libtool --silent --tag=CC --tag=disable-static  --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..    -I ../../gst-libs/ext/libav/libavutil   		 -I ../../gst-libs/ext/libav/libavformat                  -I ../../gst-libs/ext/libav/libavcodec 		 -I ../../gst-libs/ext/libav 		 -I ../../gst-libs/ext/libav                  -Wno-deprecated-declarations -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DGST_USE_UNSTABLE_API  -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Werror     -DGST_DISABLE_DEPRECATED -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o libgstffmpeg_la-gstffmpegdemux.lo `test -f 'gstffmpegdemux.c' || echo './'`gstffmpegdemux.c
gstffmpegdemux.c: In function 'gst_ffmpegdemux_init':
gstffmpegdemux.c:272:3: error: passing argument 2 of 'gst_task_set_lock' from incompatible pointer type [-Werror]
/usr/include/gstreamer-0.11/gst/gsttask.h:179:6: note: expected 'struct GStaticRecMutex *' but argument is of type 'struct GRecMutex *'
cc1: all warnings being treated as errors
Comment 1 Tim-Philipp Müller 2012-01-20 13:39:08 UTC
There is nothing special about a 'disted tarball' if you dist from git. git is git. warnings are still fatal, unless you pass --disable-fatal-warnings, which is not merged into 0.11 yet ;)




> gstffmpegdemux.c:272:3: error: passing argument 2 of 'gst_task_set_lock' from
> incompatible pointer type [-Werror]
> /usr/include/gstreamer-0.11/gst/gsttask.h:179:6: note: expected 'struct
> GStaticRecMutex *' but argument is of type 'struct GRecMutex *'
> cc1: all warnings being treated as errors

I'm guessing this means you need a new core with the threading api changes that wim made yesterday.
Comment 2 Christian Fredrik Kalager Schaller 2012-01-20 15:21:29 UTC
ok, with updated core this also works. Closing