Bug 1143

Summary: Remove python stack trace when do_patch fails
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Scott Garman <scott.a.garman>
Component: meta-yoctoAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: jiajun.xu, poky.bs.watcher, poky.watcher, richard.purdie, sgw, song.liu
Version: 1.0   
Target Milestone: 1.2 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: (P1) (QA Testing Completed) Patch merged (19 Jan)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on:    
Bug Blocks: 1543    

Description Scott Garman 2011-06-06 13:44:46 UTC
Marin Jansa noted that when do_patch fails during a build, the stack trace is enormous and unnecessary:

"A simple message that patch_do_patch failed because patch wasn't found or didn't apply without python trace would be much better."
Comment 1 Paul Eggleton 2012-01-19 07:55:34 UTC
Fix merged in revision 11e5d7bc814a265d338dbb06d82e7533c2187be2.
Comment 2 Jiajun Xu 2012-02-05 07:44:11 UTC
I tested with latest master commit cb89d43473a91ff4cb2447d642fcd9308d7366e3, the feature could work.