Possible parallel build issue on neard NFC daemon Relevant part of the build log: | ./src/genbuiltin nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/dbus-1.0 -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/lib/dbus-1.0/include -I/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/sysroots/qemux86/usr/include/libnl3 -DNEAR_PLUGIN_BUILTIN -DPLUGINDIR=\""/usr/lib/near/plugins"\" -DCONFIGDIR=\""/etc/neard\"" -O2 -pipe -g -feliminate-unused-debug-types -c -o tools/snep-send.o tools/snep-send.c | In file included from tools/snep-send.c:16:0: | tools/../src/near.h:41:23: fatal error: near/dbus.h: No such file or directory | #include <near/dbus.h> | ^ | compilation terminated. | make[1]: *** [tools/snep-send.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | make: *** [all] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/build/tmp/work/i586-poky-linux/neard/0.14-r0/temp/log.do_compile.8182) NOTE: recipe neard-0.14-r0: task do_compile: Failed ERROR: Task 1450 (/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-x86/build/meta/recipes-connectivity/neard/neard_0.14.bb, do_compile) failed with exit code '1'
Created attachment 1986 [details] neard build issue full log neard build issue full log
Temporary reference: https://autobuilder.yoctoproject.org/main/builders/nightly-x86/builds/113/steps/BuildImages/logs/stdio
FWIW I've documented this bug as a case study for the manual in: https://bugzilla.yoctoproject.org/show_bug.cgi?id=6390 The patch needed is: Index: neard-0.14/Makefile.am =================================================================== --- neard-0.14.orig/Makefile.am 2014-05-30 10:10:16.887632182 +0000 +++ neard-0.14/Makefile.am 2014-05-30 10:18:28.711615328 +0000 @@ -99,6 +99,8 @@ src/agent.c tools_snep_send_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ +tools/snep-send.$(OBJEXT): include/near/dbus.h + tools_nfctool_nfctool_SOURCES = tools/nfctool/main.c \ tools/nfctool/nfctool.h \ tools/nfctool/adapter.h \ Cristi: I'm going to let you take this from here and prepare the patch, submit upstream etc.
Fixed with commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7c0aa8fd809c9633b21fbae88e556190263586a2