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 781842 - gstreamer-scan.c:7:21: fatal error: gst/gst.h: No such file or directory
gstreamer-scan.c:7:21: fatal error: gst/gst.h: No such file or directory
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
https://github.com/mesonbuild/meson/i...
Depends on:
Blocks:
 
 
Reported: 2017-04-27 14:52 UTC by Michael Catanzaro
Modified: 2017-04-28 20:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Catanzaro 2017-04-27 14:52:54 UTC
I get this error doing a completely fresh (clean build dir, clean source dir) build of GStreamer using JHBuild: 'jhbuild build gstreamer'

Building documentation for gstreamer

Error in gtkdoc helper script:
'gtkdoc-scangobj' failed with status 1
gstreamer-scan.c:7:21: fatal error: gst/gst.h: No such file or directory
 #include <gst/gst.h>
                     ^
compilation terminated.
Traceback (most recent call last):
  • File "/home/mcatanzaro/Projects/GNOME/install/bin/gtkdoc-scangobj", line 69 in <module>
    sys.exit(scangobj.run(options))
  • File "/home/mcatanzaro/Projects/GNOME/install/share/gtk-doc/python/gtkdoc/scangobj.py", line 1255 in run
    res = subprocess.check_call(command, shell=True)
  • File "/usr/lib64/python2.7/subprocess.py", line 186 in check_call
    raise CalledProcessError(retcode, cmd)
ubprocess.CalledProcessError: Command 'gcc >/dev/null -I@BUILD_ROOT@/. -I@SOURCE_ROOT@/. -I/home/mcatanzaro/Projects/GNOME/install/include/glib-2.0 -I/home/mcatanzaro/Projects/GNOME/install/lib/glib-2.0/include -pthread -c -o gstreamer-scan.o gstreamer-scan.c' returned non-zero exit status 1

Failed to run install script '/usr/bin/python3 /home/mcatanzaro/Projects/GNOME/install/bin/meson --internal gtkdoc --sourcedir=/home/mcatanzaro/Projects/GNOME/gstreamer --builddir=/home/mcatanzaro/.cache/jhbuild/build/gstreamer --subdir=docs/gst --headerdirs=/home/mcatanzaro/Projects/GNOME/gstreamer/docs/gst/../../gst --mainfile=gstreamer-docs.sgml --modulename=gstreamer --mode=auto --scanargs=--deprecated-guards=GST_DISABLE_DEPRECATED@@--ignore-decorators=GST_EXPORT@@--ignore-headers=gettext.h glib-compat-private.h glib-compat.h gst-i18n-app.h gst-i18n-lib.h gst_private.h gstelementdetails.h gstmacros.h grammar.tab.h grammar.tab.pre.h math-compat.h types.h --gobjects-types-file=/home/mcatanzaro/.cache/jhbuild/build/gstreamer/docs/gst/gstreamer.types --content-files=building.xml@@running.xml@@/home/mcatanzaro/.cache/jhbuild/build/gstreamer/docs/version.entities --cflags=-I@BUILD_ROOT@/. -I@SOURCE_ROOT@/. -I/home/mcatanzaro/Projects/GNOME/install/include/glib-2.0 -I/home/mcatanzaro/Projects/GNOME/install/lib/glib-2.0/include -pthread --ldflags=-lgstreamer-1.0 -L/home/mcatanzaro/.cache/jhbuild/build/gstreamer/gst -Wl,-rpath /home/mcatanzaro/.cache/jhbuild/build/gstreamer/gst -L/home/mcatanzaro/Projects/GNOME/install/lib -lgobject-2.0 -lglib-2.0 -lgmodule-2.0 -pthread -lm -ldl --cc=ccache cc --ld=ccache cc'
FAILED: install 
'/usr/bin/python3' '/home/mcatanzaro/Projects/GNOME/install/bin/meson' '--internal' 'install' '/home/mcatanzaro/.cache/jhbuild/build/gstreamer/meson-private/install.dat'
ninja: build stopped: subcommand failed.
Comment 1 Tim-Philipp Müller 2017-04-27 15:04:37 UTC
Probably has same root cause as bug #780738 which is:

https://github.com/mesonbuild/meson/issues/1681
Comment 2 Christoph Reiter (lazka) 2017-04-27 15:24:36 UTC
Hitting the same error. This helped for now:

1) start shell
2) mesonconf -Ddisable_gtkdoc=true
3) rerun build
Comment 3 Michael Catanzaro 2017-04-27 16:03:15 UTC
Fixed for future jhbuild users by https://git.gnome.org/browse/jhbuild/commit/?id=595267a9352cc86d14f992098770556accbcb22d
Comment 4 Tim-Philipp Müller 2017-04-28 18:43:28 UTC
Meson 0.40.1 has just been released. It should fix this issue. Thanks for the bug report.