Bug 8213

Summary: the sdk.py script does not check for return codes
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Benjamin Esquivel <benjamin.esquivel>
Component: devtools / tool chainAssignee: Benjamin Esquivel <benjamin.esquivel>
Status: VERIFIED FIXED QA Contact: Yi Zhao <yi.zhao>
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, bluelightning, meta.mr.watcher, meta.watcher, ross.burton, yi.zhao
Version: unspecified   
Target Milestone: 2.0.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Benjamin Esquivel 2015-08-26 21:34:30 UTC
The sdk.py file calls functions from bb.utils and it just assumes it worked, never checks for return codes nor tries to catch exceptions.
Comment 1 Benjamin Esquivel 2015-08-26 21:37:05 UTC
related to bug: extensible SDK: silent error when using ipk packaging

https://bugzilla.yoctoproject.org/show_bug.cgi?id=8180
Comment 2 Benjamin Esquivel 2015-11-05 22:50:12 UTC
Patch waiting to be merged in:

http://lists.openembedded.org/pipermail/openembedded-core/2015-October/111715.html

and in 

poky-contrib::remotes/contrib/besquive/sdk-return

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=besquive/sdk-return
Comment 3 Ross Burton 2015-11-23 10:19:23 UTC
Merged in oe-core 2e81dbdce6f92908c4d4c980af032516581178de.
Comment 4 Yi Zhao 2016-01-21 06:43:43 UTC
Verified with 2.0.1: jethro/dd0ba9ea4a11ab15348d4fe3574e4b28784db82f