Bug 13174

Summary: SDK generation broken with not installable package
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Florian Boor <florian>
Component: oe-core otherAssignee: Armin Kuster <akuster>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: wei.qingjun
Version: 2.6.1   
Target Milestone: 2.6.2   
Hardware: x86   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Florian Boor 2019-02-12 08:22:40 UTC
The scenario is an attempt to build a SDK for core-image-base with a plain thud poky tree. 
The device is qemuarm but I have see the same for raspberrypi (in another setup with some additional metadata layers). The distro is set to poky, ipk packages are used.


The command:

bitbake core-image-base -c populate_sdk


Shows the following warning:

 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - package busybox-dev-1.29.2-r0.armv5e requires busybox = 1.29.2-r0, but none of the providers can be installed
 * 
 * Solution 1:
 *   - allow deinstallation of target-sdk-provides-dummy-1.0-r0.sdk-provides-dummy-target

 *   - do not ask to install a package providing target-sdk-provides-dummy-dev

 * Solution 2:
 *   - do not ask to install a package providing busybox-dev

The result is a not completely populated SDK. The opkg error does not get propagated through bitbake so that the command does not fail.
Comment 1 Richard Purdie 2019-02-16 18:19:27 UTC
Fixed in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=43c3920ea3ceab58f96d28799c1f8834b627cc9e handing to Armin for thud
Comment 2 Armin Kuster 2019-02-16 21:20:42 UTC
(In reply to comment #1)
> Fixed in master:
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-
> next&id=43c3920ea3ceab58f96d28799c1f8834b627cc9e handing to Armin for thud

thanks for the pointer
Comment 3 wei.qingjun 2019-02-20 19:27:09 UTC
2019-02-16 fix doesn't work on thud.

So far the only work around I can find is adding the following line to your conf:

PACKAGE_EXCLUDE += " busybox-dev"