Bug 13174 - SDK generation broken with not installable package
Summary: SDK generation broken with not installable package
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 2.6.1
Hardware: x86 arm
: High major
Target Milestone: 2.6.2
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-02-12 08:22 UTC by Florian Boor
Modified: 2019-03-27 05:12 UTC (History)
1 user (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 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"