meson, ninja bluez failure
On Ubuntu 16.04, 4.14.16-041416-generic, using the current head, commit bac21875, the following is observed:
gst-build$ meson ./build
The Meson build system
Version: 0.49.0
Source dir: /home/inca/work/Intel/gst-build
Build dir: /home/inca/work/Intel/gst-build/build
Build type: native build
Project name: All GStreamer modules
Project version: 1.15.0.1
Native C compiler: ccache cc (gcc 5.4.0 "cc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609")
...
|Dependency wayland-protocols found: NO (tried pkgconfig and cmake)
||Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
||Dependency bluez found: YES 5.37
||Dependency gio-unix-2.0 found: YES (cached)
||WARNING: Code generated with gdbus_codegen() requires the root directory be added to
|| include_directories of targets with GLib < 2.51.3: https://github.com/mesonbuild/meson/issues/1387
||Library dl found: YES
||Dependency threads found: YES (cached)
||Message: Building decklink plugin
...
Program gst-uninstalled.py found: YES (/home/inca/work/Intel/gst-build/gst-uninstalled.py)
Program git-update found: YES (/home/inca/work/Intel/gst-build/git-update)
Build targets in project: 1059
Found ninja-1.5.1 at /usr/bin/ninja
gst-build$ ninja -C build
ninja: Entering directory `build'
[361/3555] Generating Nice-0.1.gir with a custom command.
subprojects/libnice/agent/address.h:131: Warning: Nice: nice_address_dup: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/libnice/agent/address.h:111: Warning: Nice: nice_address_new: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/libnice/agent/address.h:111: Warning: Nice: nice_address_new: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
[557/3555] Generating GstCheck-1.0.gir with a custom command.
subprojects/gstreamer/libs/gst/check/gstcheck.c:140: Warning: GstCheck: gst_check_add_log_filter: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/gstreamer/libs/gst/check/gstcheck.h:178: Warning: GstCheck: gst_check_run_suite: argument suite: Unresolved type: 'Suite*'
[611/3555] Generating GstBase-1.0.gir with a custom command.
subprojects/gstreamer/libs/gst/base/gstbitwriter.c:45: Warning: GstBase: gst_bit_writer_new: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/gstreamer/libs/gst/base/gstbitwriter.h:62: Warning: GstBase: gst_bit_writer_new_with_size: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/gstreamer/libs/gst/base/gstbitwriter.c:89: Warning: GstBase: gst_bit_writer_new_with_data: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/gstreamer/libs/gst/base/gstbitwriter.c:45: Warning: GstBase: gst_bit_writer_new: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/gstreamer/libs/gst/base/gstbitwriter.h:62: Warning: GstBase: gst_bit_writer_new_with_size: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
subprojects/gstreamer/libs/gst/base/gstbitwriter.c:89: Warning: GstBase: gst_bit_writer_new_with_data: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
[1466/3555] Generating GstAudio-1.0.gir with a custom command.
subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiometa.c:380: Warning: GstAudio: gst_buffer_add_audio_meta: return value: Invalid non-constant return of bare structure or union; register as boxed type or (skip)
[1661/3555] Generating GstGL-1.0.gir with a custom command.
cc1: warning: /home/inca/work/Intel/gst-build/build/subprojects/gl-headers/abyss: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /home/inca/work/Intel/gst-build/build/subprojects/gl-headers/wglext: No such file or directory [-Wmissing-include-dirs]
subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstegl.h:40: Warning: GstGL: symbol='EGL_EGLEXT_PROTOTYPES': Unknown namespace for symbol 'EGL_EGLEXT_PROTOTYPES'
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglfilter.c:928: Warning: GstGL: gst_gl_filter_filter_texture: unknown parameter 'inbuf' in documentation comment, should be one of 'out_tex', 'in_tex'
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglfilter.c:929: Warning: GstGL: gst_gl_filter_filter_texture: unknown parameter 'outbuf' in documentation comment, should be one of 'out_tex', 'in_tex'
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglmemory.c:1392: Warning: GstGL: gst_gl_memory_setup_buffer: argument wrapped_data: Missing (element-type) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglmemoryegl.c:82: Warning: GstGL: gst_gl_memory_egl_get_image: return value: Missing (transfer) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstglmemoryegl.c:98: Warning: GstGL: gst_gl_memory_egl_get_display: return value: Missing (transfer) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglmemory.c:1392: Warning: GstGL: gst_gl_memory_setup_buffer: argument wrapped_data: Missing (element-type) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstegl.c:24: Warning: GstGL: gst_egl_get_error_string: argument err: Unresolved type: 'EGLint'
subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gsteglimage.c:95: Warning: GstGL: gst_egl_image_get_image: return value: Missing (transfer) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglcontext.c:779: Warning: GstGL: gst_gl_context_get_proc_address: return value: Missing (transfer) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglcontext.c:810: Warning: GstGL: gst_gl_context_default_get_proc_address: return value: Missing (transfer) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/gstglcontext.c:463: Warning: GstGL: gst_gl_context_get_proc_address_with_platform: return value: Missing (transfer) annotation
subprojects/gst-plugins-base/gst-libs/gst/gl/x11/gstgldisplay_x11.c:117: Warning: GstGL: gst_gl_display_x11_new_with_display: argument display: Unresolved type: 'Display*'
subprojects/gst-plugins-base/gst-libs/gst/gl/egl/gstgldisplay_egl.c:89: Warning: GstGL: gst_gl_display_egl_get_from_native: return value: Missing (transfer) annotation
[1804/3555] Generating GstRtp-1.0.gir with a custom command.
subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpmeta.c:34: Warning: GstRtp: gst_buffer_add_rtp_source_meta: unknown parameter 'buffer' in documentation comment, should be 'buf'
subprojects/gst-plugins-base/gst-libs/gst/rtp/gstrtpmeta.c:78: Warning: GstRtp: gst_buffer_get_rtp_source_meta: unknown parameter 'buffer' in documentation comment, should be 'buf'
[1894/3555] Compiling C object 'subprojects/gst-plugins-bad/sys/bluez/31a9c21@@gstbluez@sha/meson-generated_.._bluez.c.o'.
FAILED: ccache cc -Isubprojects/gst-plugins-bad/sys/bluez/31a9c21@@gstbluez@sha -Isubprojects/gst-plugins-bad/sys/bluez -I../subprojects/gst-plugins-bad/sys/bluez -Isubprojects/gst-plugins-bad -I../subprojects/gst-plugins-bad -Isubprojects/gst-plugins-base/gst-libs -I../subprojects/gst-plugins-base/gst-libs -Isubprojects/gstreamer/libs -I../subprojects/gstreamer/libs -Isubprojects/gstreamer -I../subprojects/gstreamer -Isubprojects/gst-plugins-base/gst-libs/gst/audio -Isubprojects/gst-plugins-base/gst-libs/gst/tag -Isubprojects/gstreamer/libs/gst/base -Isubprojects/gstreamer/gst -Isubprojects/gst-plugins-base/gst-libs/gst/rtp -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/orc-0.4 -I/usr/include/gio-unix-2.0/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_DEPRECATED -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wnested-externs -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ 'subprojects/gst-plugins-bad/sys/bluez/31a9c21@@gstbluez@sha/meson-generated_.._bluez.c.o' -MF 'subprojects/gst-plugins-bad/sys/bluez/31a9c21@@gstbluez@sha/meson-generated_.._bluez.c.o.d' -o 'subprojects/gst-plugins-bad/sys/bluez/31a9c21@@gstbluez@sha/meson-generated_.._bluez.c.o' -c subprojects/gst-plugins-bad/sys/bluez/bluez.c
subprojects/gst-plugins-bad/sys/bluez/bluez.c:11:57: fatal error: subprojects/gst-plugins-bad/sys/bluez/bluez.h: No such file or directory
compilation terminated.
[1894/3555] Linking target subprojects/gst-plugins-bad/tests/examples/uvch264/test-uvch264.
ninja: build stopped: subcommand failed.
Seems bulez.c is making hard coded path to bluez.h:
/*
* Generated by gdbus-codegen 2.48.2. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "subprojects/gst-plugins-bad/sys/bluez/bluez.h"
Any ideas as how to change this to #include "bluez.h"? Cheers,