Bug 2734

Summary: bitbake: A build should be abort while runtime dependency conflict
Product: [Build System, Metadata & Runtime] BitBake Reporter: Wenzong.Fan <wenzong.fan>
Component: bitbakeAssignee: Wenzong.Fan <wenzong.fan>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: liang.li2, liezhi.yang, poky.bs.watcher, poky.watcher, richard.purdie, song.liu, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: P3
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Wenzong.Fan 2012-07-11 02:34:35 UTC
Currently if there are multiple preferred providers available for a runtime dependency, bitbake will print an Error message and let the build running until completed:

---------------------
ERROR: Trying to resolve runtime dependency xxx resulted in conflicting PREFERRED_PROVIDER entries being found...

...
<continue to build other packages>
...

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [xxxx] Error 1
---------------------

Anyways the build should be abort while any Error occured.
Comment 1 Wenzong.Fan 2012-07-12 02:12:40 UTC
Patch has been merged to master:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6a210e88b73be40c433b350929a1128a39f2080b
Comment 2 liang li 2012-09-04 01:55:51 UTC
verified.