Bug 12242 - Iotivity build system needs updating
Summary: Iotivity build system needs updating
Status: RESOLVED OBSOLETE
Alias: None
Product: IoT Reference OS Kit
Classification: Yocto Project Subprojects
Component: intel-iot-refkit-connectivity (show other bugs)
Version: 2.5
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Dmitry Rozhkov
QA Contact: yeoh ee peng
URL: https://autobuilder.yocto.io/builders...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-10-19 02:46 UTC by Armin Kuster
Modified: 2017-10-19 13:40 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.