Hi, I was trying to build IoTivity for Edison by following the README in http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic/tree/README?h=master. I was initially facing an issue because 'scons' was not available in the sysroot (see [2] for the log output). This can easily be fixed by the following patch [1], is there a quick guide on how I can submit that change? (Also, I couldn't find any bug report for this but can create one if needed).
Cheers, Geoffroy [1] Patch that fixes the 'scons' issue when building iotivity for Edison diff --git a/recipes-core/iotivity/iotivity_0.9.0.bb b/recipes-core/iotivity/iotivity_0.9.0.bb index 14bc6ad..0a0e3bc 100644 --- a/recipes-core/iotivity/iotivity_0.9.0.bb +++ b/recipes-core/iotivity/iotivity_0.9.0.bb @@ -1,5 +1,3 @@ -inherit scons - SUMMARY = "Iotivity framework and SDK by the Open Interconnect Consortium." DESCRIPTION = "IoTivity is an open source software framework enabling seamless device-to-device connectivi HOMEPAGE = "https://www.iotivity.org/" @@ -16,6 +14,8 @@ SRC_URI[cereal.md5sum] = "2d9adeb49a2cb54f259c601d34d2d959" SRC_URI[cereal.sha256sum] = "33dfeed8f6345a4dff42e1057a79b1d5303624a4a3bdb362f9c17a0048c811ee" SRCREV_cereal = "7121e91e6ab8c3e6a6516d9d9c3e6804e6f65245" +inherit scons + python () { EXTRA_OESCONS = "" IOTIVITY_TARGET_ARCH = d.getVar("TARGET_ARCH", True) [2] Log of the failure when scons is not found: NOTE: recipe iotivity-0.9.0-r0: task do_compile: Started Log data follows: | DEBUG: Executing shell function do_compile | /home/gvancuts/Scaricati/edison-src/build/tmp/work/core2-32-poky-linux/iotivity/0.9.0-r0/temp/run.do_compile.7518: line 104: /home/gvancuts/Scaricati/edison-src/build/tmp/sysroots/x86_64-linux/usr/bin/scons: No such file or directory | ERROR: scons build execution failed. | WARNING: /home/gvancuts/Scaricati/edison-src/build/tmp/work/core2-32-poky-linux/iotivity/0.9.0-r0/temp/run.do_compile.7518:1 exit 1 from | exit 1 | ERROR: Function failed: do_compile (log file is located at /home/gvancuts/Scaricati/edison-src/build/tmp/work/core2-32-poky-linux/iotivity/0.9.0-r0/temp/log.do_compile.7518) NOTE: recipe iotivity-0.9.0-r0: task do_compile: Failed DEBUG: Teardown for bitbake-worker NOTE: Tasks Summary: Attempted 538 tasks of which 537 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/gvancuts/iotivity/meta-oic/recipes-core/iotivity/iotivity_0.9.0.bb, do_compile Summary: There was 1 ERROR message shown, returning a non-zero exit code. ----------------------------------------------- Intel Corporation NV/SA Kings Square, Veldkant 31 2550 Kontich RPM (Bruxelles) 0415.497.718. Citibank, Brussels, account 570/1031255/09