Skip to content

src/meson.build: add dependency on gdbofono_src

  • generated gdbo-manager.h is used by: src/manager.h:#include <libgdbofono/gdbo-manager.h> src/ofono-iface.c:#include <libgdbofono/gdbo-manager.h>

  • and without explicit dependency the build sometimes fails with:

FAILED: src/eg25manager.p/ofono-iface.c.o
aarch64-webos-linux-gcc -Wdate-time --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot -Isrc/eg25manager.p -Isrc -I../git/src -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/gio-unix-2.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/libmount -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/blkid -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/gudev-1.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 '-DEG25_CONFDIR="/etc/eg25-manager"' '-DEG25_DATADIR="/usr/share/eg25-manager"' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0=/usr/src/debug/eg25-manager/0.2.0-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0=/usr/src/debug/eg25-manager/0.2.0-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot-native= -pthread -MD -MQ src/eg25manager.p/ofono-iface.c.o -MF src/eg25manager.p/ofono-iface.c.o.d -o src/eg25manager.p/ofono-iface.c.o -c ../git/src/ofono-iface.c
In file included from ../git/src/ofono-iface.h:9,
                 from ../git/src/ofono-iface.c:8:
../git/src/manager.h:15:10: fatal error: libgdbofono/gdbo-manager.h: No such file or directory
   15 | #include <libgdbofono/gdbo-manager.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/15] aarch64-webos-linux-gcc -Wdate-time --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot -Isrc/eg25manager.p -Isrc -I../git/src -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/gio-unix-2.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/libmount -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/blkid -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/gudev-1.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 '-DEG25_CONFDIR="/etc/eg25-manager"' '-DEG25_DATADIR="/usr/share/eg25-manager"' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0=/usr/src/debug/eg25-manager/0.2.0-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0=/usr/src/debug/eg25-manager/0.2.0-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot-native= -pthread -MD -MQ src/eg25manager.p/at.c.o -MF src/eg25manager.p/at.c.o.d -o src/eg25manager.p/at.c.o -c ../git/src/at.c
FAILED: src/eg25manager.p/at.c.o
aarch64-webos-linux-gcc -Wdate-time --sysroot=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot -Isrc/eg25manager.p -Isrc -I../git/src -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/glib-2.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/lib/glib-2.0/include -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/gio-unix-2.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/libmount -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/blkid -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/gudev-1.0 -I/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 '-DEG25_CONFDIR="/etc/eg25-manager"' '-DEG25_DATADIR="/usr/share/eg25-manager"' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0=/usr/src/debug/eg25-manager/0.2.0-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0=/usr/src/debug/eg25-manager/0.2.0-r0 -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot-native= -pthread -MD -MQ src/eg25manager.p/at.c.o -MF src/eg25manager.p/at.c.o.d -o src/eg25manager.p/at.c.o -c ../git/src/at.c
In file included from ../git/src/at.h:9,
                 from ../git/src/at.c:7:
../git/src/manager.h:15:10: fatal error: libgdbofono/gdbo-manager.h: No such file or directory
   15 | #include <libgdbofono/gdbo-manager.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/15] /home/jenkins/workspace/luneos-unstable/webos-ports/tmp-glibc/work/aarch64-webos-linux/eg25-manager/0.2.0-r0/recipe-sysroot-native/usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.ofono. --c-namespace GDBO --header --output src/libgdbofono/gdbo-manager.h ../git/src/libgdbofono/manager.xml

Signed-off-by: Martin Jansa Martin.Jansa@gmail.com

Edited by Martin 'JaMa' Jansa

Merge request reports