Bug 12242

Summary: Iotivity build system needs updating
Product: [Yocto Project Subprojects] IoT Reference OS Kit Reporter: Armin Kuster <akuster>
Component: intel-iot-refkit-connectivityAssignee: Dmitry Rozhkov <dmitry.rojkov>
Status: RESOLVED OBSOLETE QA Contact: yeoh ee peng <ee.peng.yeoh>
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, ross.burton
Version: 2.5   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
URL: https://autobuilder.yocto.io/builders/nightly-refkit/builds/230/steps/BuildImages/logs/stdio
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Armin Kuster 2017-10-19 02:46:58 UTC
ERROR: iotivity-1.2.1-r1 do_compile: scons build execution failed.
ERROR: iotivity-1.2.1-r1 do_compile: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/build/tmp-glibc/work/corei7-64-refkit-linux/iotivity/1.2.1-r1/temp/log.do_compile.13730)
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/build/tmp-glibc/work/corei7-64-refkit-linux/iotivity/1.2.1-r1/temp/log.do_compile.13730
| DEBUG: Executing shell function do_compile
| scons: Reading SConscript files ...
| File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/build/tmp-glibc/work/corei7-64-refkit-linux/iotivity/1.2.1-r1/iotivity-1.2.1/build_common/SConscript", line 40
|
| print "\nError: Current system (%s) isn't supported\n" % host
|
| ^
|
| SyntaxError: invalid syntax
|
| ERROR: s cons build execution failed.
| WARNING: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/build/tmp-glibc/work/corei7-64-refkit-linux/iotivity/1.2.1-r1/temp/run.do_compile.13730:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/build/tmp-glibc/work/corei7-64-refkit-linux/iotivity/1.2.1-r1/temp/log.do_compile.13730)
ERROR: Task (/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-refkit/build/refkit/openembedded-core/../meta-oic/recipes-core/iotivity/iotivity_1.2.1.bb:do_compile) failed with exit code '1'
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 1 Ross Burton 2017-10-19 12:12:09 UTC
Once unfrozen master will have a new version of scons (3.0) that means Sconscript files need to use print() instead of just print as it enforced py3-style print.
Comment 2 Ross Burton 2017-10-19 13:40:03 UTC
Closing, scons is reverting the change upstream so this isn't a problem.