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 562677 - gstreamer-scan does not compile
gstreamer-scan does not compile
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-29 13:12 UTC by Benjamin Kampmann
Modified: 2009-01-09 23:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benjamin Kampmann 2008-11-29 13:12:51 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
Comment 1 Jan Schmidt 2008-11-29 13:26:28 UTC
This is a bug in gtk-doc, in the gtkdoc-scangobj script that generates the gstreamer-scan.c code.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-11-29 17:33:12 UTC
Its fixed in gtk-doc-1.11, but we should not build that stuff with -Werror anyway.