Bug 8213 - the sdk.py script does not check for return codes
Summary: the sdk.py script does not check for return codes
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.0.1
Assignee: Benjamin Esquivel
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-26 21:34 UTC by Benjamin Esquivel
Modified: 2016-01-21 06:43 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

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