GNOME Bugzilla – Bug 562677
gstreamer-scan does not compile
Last modified: 2009-01-09 23:25:06 UTC
Please describe the problem: Trying to compile gstreamer cvs on my Ubuntu Intrepid with jhbuild, the module gstreamer fails at compile because of errors in gstreamer-scan.c (inside the docs). Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: Traceback: gtk-doc: Compiling scanner libtool: compile: gcc -I../../libs -I../.. -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla -Werror -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -g -O2 -c gstreamer-scan.c -fPIC -DPIC -o .libs/gstreamer-scan.o cc1: warnings being treated as errors gstreamer-scan.c: In function 'output_hierarchy': gstreamer-scan.c:712: error: format not a string literal and no format arguments gstreamer-scan.c: In function 'output_interfaces': gstreamer-scan.c:763: error: format not a string literal and no format arguments gstreamer-scan.c: In function 'output_prerequisites': gstreamer-scan.c:808: error: format not a string literal and no format arguments Compilation of scanner failed: make[5]: *** [scan-build.stamp] Error 1 make[5]: Leaving directory `/home/ben/gst/jhbuild/build/gstreamer/docs/gst' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/ben/gst/jhbuild/build/gstreamer/docs/gst' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/ben/gst/jhbuild/build/gstreamer/docs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/ben/gst/jhbuild/build/gstreamer/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ben/gst/jhbuild/build/gstreamer' make: *** [all] Error 2
This is a bug in gtk-doc, in the gtkdoc-scangobj script that generates the gstreamer-scan.c code.
Its fixed in gtk-doc-1.11, but we should not build that stuff with -Werror anyway.