Bug 2217 - [Hob] fail to build hob-image-hob.bb from command line
Summary: [Hob] fail to build hob-image-hob.bb from command line
Status: VERIFIED FIXED
Alias: None
Product: Hob
Classification: Build System, Metadata & Runtime
Component: hob (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2 M4
Assignee: Dongxiao Xu
QA Contact:
URL:
Whiteboard: (1.2)
Depends on:
Blocks:
 
Reported: 2012-03-31 15:48 UTC by Jiajun Xu
Modified: 2012-04-18 08:43 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2012-03-31 15:48:34 UTC
tree/branch: poky/1.2_M4
commit: da6233ea034f35eff59306fdad31f318c340c359

With 1.2 M4, we could build out image in Hob. If we save the built out image into template, there are some extra files generated(hob-image-hob.bb, local-hob.conf, bblayers-hob.conf), which could be used to build image from bitbake command line. I tried the feature but the image from command line is quite small.

For example, I select core-image-basic for qemux86 in Hob. The image is 198M after build finished. But if I use the hob-image-hob.bb file to build image via bitbake command line, the final image is only 64M.
Comment 1 Jiajun Xu 2012-04-01 01:46:49 UTC
Update the bug since I build hob-image yesterday. It should be "bitbake hob-image-hob" if I want to build hob image recipe. And it would report no provider for libpcreposix.

Error log as below:
#########
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for runtime libpython2 (python, python-nativesdk)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libpython2
NOTE: multiple providers are available for runtime libcrypto (openssl-nativesdk, openssl)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libcrypto
NOTE: multiple providers are available for runtime libssl (openssl-nativesdk, openssl)
NOTE: consider defining a PREFERRED_PROVIDER entry to match libssl
ERROR: Nothing RPROVIDES 'libpcreposix' (but /distro/m4/meta/recipes-test/images/hob-image-hob.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'libpcreposix' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libpcreposix']
ERROR: Required build target 'hob-image-hob' has no buildable providers.
Missing or unbuildable dependency chain was: ['hob-image-hob', 'libpcreposix']
#########
Comment 2 Dongxiao Xu 2012-04-11 16:44:47 UTC
This bug is fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c15d4a2ddef8b452b03209ccb207f767ae93af39

But with the fix commit, I met another issue related with RPM installation order (not related with Hob). I will report another but to track that.
Comment 3 Jiajun Xu 2012-04-18 08:43:23 UTC
I tested with master commit 720fe9e371eef16da19df0885188aa0341ad2090, the bug is fixed.