meson build: ninja install fails with gtk-doc errors
On Ubuntu 16.04, after ninja build step, I am trying to install gstreamer, as below:
gst-build$ sudo ninja -C build install
ninja: Entering directory `build'
[1/1] Installing files.
Installing subdir /home/inca/work/Intel/gst-build/subprojects/gst-devtools/debug-viewer/GstDebugViewer to /usr/local/lib/python3.5/site-packages/GstDebugViewer
Installing /home/inca/work/Intel/gst-build/subprojects/gst-devtools/debug-viewer/GstDebugViewer/Data.py to /usr/local/lib/python3.5/site-packages/GstDebugViewer
Installing /home/inca/work/Intel/gst-build/subprojects/gst-devtools/debug-viewer/GstDebugViewer/Main.py to /usr/local/lib/python3.5/site-packages/GstDebugViewer
Installing /home/inca/work/Intel/gst-build/subprojects/gst-devtools/debug-viewer/GstDebugViewer/GUI/window.py to /usr/local/lib/python3.5/site-packages/GstDebugViewer/GUI
Installing /home/inca/work/Intel/gst-build/subprojects/gst-devtools/debug-viewer/GstDebugViewer/GUI/columns.py to /usr/local/lib/python3.5/site-packages/GstDebugViewer/GUI
Installing /home/inca/work/Intel/gst-build/subprojects/gst-devtools/debug-viewer/GstDebugViewer/GUI/__init__.py to /usr/local/lib/python3.5/site-packages/GstDebugViewer/GUI
...
Installing /home/inca/work/Intel/gst-build/build/subprojects/gstreamer/po/vi.gmo to /usr/local/share/locale/vi/LC_MESSAGES/gstreamer-1.0.mo
Installing /home/inca/work/Intel/gst-build/build/subprojects/gstreamer/po/zh_CN.gmo to /usr/local/share/locale/zh_CN/LC_MESSAGES/gstreamer-1.0.mo
Installing /home/inca/work/Intel/gst-build/build/subprojects/gstreamer/po/zh_TW.gmo to /usr/local/share/locale/zh_TW/LC_MESSAGES/gstreamer-1.0.mo
Running custom install script '/home/inca/.local/bin/meson --internal gtkdoc --sourcedir=/home/inca/work/Intel/gst-build --builddir=/home/inca/work/Intel/gst-build/build --subdir=subprojects/gstreamer/docs/gst --headerdirs=/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst --mainfile=gstreamer-docs.sgml --modulename=gstreamer --moduleversion= --mode=auto --scanargs=--deprecated-guards=GST_DISABLE_DEPRECATED@@--ignore-decorators=GST_API@@--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 --scanobjsargs=--type-init-func="gst_init(NULL,NULL)" --gobjects-types-file=/home/inca/work/Intel/gst-build/build/subprojects/gstreamer/docs/gst/gstreamer.types --content-files=/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/building.xml@@/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/running.xml@@/home/inca/work/Intel/gst-build/build/subprojects/gstreamer/docs/version.entities --cc=ccache cc --ld=ccache cc --cflags=-I/home/inca/work/Intel/gst-build/build/subprojects/gstreamer/. -I/home/inca/work/Intel/gst-build/subprojects/gstreamer/. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_DEPRECATED -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs -Wdeclaration-after-statement -Wvla -Wpointer-arith --ldflags=-L/home/inca/work/Intel/gst-build/build/subprojects/gstreamer/gst -L/home/inca/work/Intel/gst-build/build/subprojects/gstreamer/gst/printf -Wl,-rpath,/home/inca/work/Intel/gst-build/build/subprojects/gstreamer/gst/printf -Wl,-rpath,/home/inca/work/Intel/gst-build/build/subprojects/gstreamer/gst -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lgmodule-2.0 -pthread -lm -ldl'
Building documentation for gstreamer
(process:25461): GLib-GObject-WARNING **: /build/glib2.0-7ZsPUq/glib2.0-2.48.2/./gobject/gsignal.c:1674: parameter 1 of type '<invalid>' for signal "GstBus::sync_message" is not a value type
(process:25461): GLib-GObject-WARNING **: /build/glib2.0-7ZsPUq/glib2.0-2.48.2/./gobject/gsignal.c:1674: parameter 1 of type '<invalid>' for signal "GstBus::message" is not a value type
(process:25461): GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion 'G_TYPE_IS_BOXED (boxed_type)' failed
(process:25461): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(process:25461): GLib-GObject-CRITICAL **: g_param_spec_boxed: assertion 'G_TYPE_IS_BOXED (boxed_type)' failed
(process:25461): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion 'G_IS_PARAM_SPEC (pspec)' failed
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gstclock.h:234: warning: Symbol name not found at the start of the comment block.
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gstclock.h:267: warning: Symbol name not found at the start of the comment block.
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gsterror.h:242: warning: Symbol name not found at the start of the comment block.
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gstvalue.h:74: warning: Symbol name not found at the start of the comment block.
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gstvalue.h:83: warning: Symbol name not found at the start of the comment block.
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gstinfo.h:286: warning: Symbol name not found at the start of the comment block.
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gstinfo.h:297: warning: Symbol name not found at the start of the comment block.
./gstreamer-sections.txt:735: warning: No declaration found for GST_DISABLE_GST_DEBUG.
./gstreamer-sections.txt:736: warning: No declaration found for GST_DISABLE_PARSE.
./gstreamer-sections.txt:737: warning: No declaration found for GST_DISABLE_REGISTRY.
./gstreamer-sections.txt:738: warning: No declaration found for GST_DISABLE_PLUGIN.
/home/inca/work/Intel/gst-build/subprojects/gstreamer/docs/gst/../../gst/gstiterator.h:206: warning: Field description for GstIterator::next is not used from source code comment block.
...
Installing /home/inca/work/Intel/gst-build/build/subprojects/gst-plugins-ugly/po/vi.gmo to /usr/local/share/locale/vi/LC_MESSAGES/gst-plugins-ugly-1.0.mo
Installing /home/inca/work/Intel/gst-build/build/subprojects/gst-plugins-ugly/po/zh_CN.gmo to /usr/local/share/locale/zh_CN/LC_MESSAGES/gst-plugins-ugly-1.0.mo
Running custom install script '/home/inca/.local/bin/meson --internal gtkdoc --sourcedir=/home/inca/work/Intel/gst-build --builddir=/home/inca/work/Intel/gst-build/build --subdir=subprojects/libnice/docs/reference/libnice --headerdirs=agent@@stun --mainfile=libnice-docs.xml --modulename=libnice --moduleversion= --mode=none --namespace=nice --scanargs=--rebuild-types@@--ignore-headers=conncheck.h discovery.h stream.h component.h agent-priv.h iostream.h inputstream.h outputstream.h gstnice.h gstnicesrc.h gstnicesink.h md5.h sha1.h stunhmac.h utils.h rand.h stun5389.h stuncrc32.h stund.h agent-signals-marshal.h win32_common.h --fixxrefargs=--html-dir=/usr/local/share/gtk-doc/html --mkdbargs=--xml-mode@@--output-format=xml@@--name-space=Nice --html-assets=/home/inca/work/Intel/gst-build/subprojects/libnice/docs/reference/libnice/states.png --content-files= --cc=ccache cc --ld=ccache cc --cflags=-I/home/inca/work/Intel/gst-build/build/subprojects/libnice/agent/. -I/home/inca/work/Intel/gst-build/subprojects/libnice/agent/. -I/home/inca/work/Intel/gst-build/build/subprojects/libnice/nice/. -I/home/inca/work/Intel/gst-build/subprojects/libnice/nice/. -D_GNU_SOURCE -DHAVE_CONFIG_H -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_44 -fno-strict-aliasing --ldflags=-L/home/inca/work/Intel/gst-build/build/subprojects/libnice/nice -Wl,-rpath,/home/inca/work/Intel/gst-build/build/subprojects/libnice/nice -lnice'
Building documentation for libnice
ERROR: Error in gtkdoc helper script:
ERROR: ['gtkdoc-scan', '--module=libnice', '--source-dir=/home/inca/work/Intel/gst-build/agent', '--source-dir=/home/inca/work/Intel/gst-build/build/agent', '--source-dir=/home/inca/work/Intel/gst-build/stun', '--source-dir=/home/inca/work/Intel/gst-build/build/stun', '--rebuild-types', '--ignore-headers=conncheck.h discovery.h stream.h component.h agent-priv.h iostream.h inputstream.h outputstream.h gstnice.h gstnicesrc.h gstnicesink.h md5.h sha1.h stunhmac.h utils.h rand.h stun5389.h stuncrc32.h stund.h agent-signals-marshal.h win32_common.h'] failed with status 2
Can't open source directory /home/inca/work/Intel/gst-build/agent: No such file or directory at /usr/bin/gtkdoc-scan line 223.
FAILED: /home/inca/.local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
Am I missing an argument? Cheers,