<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2217</bug_id>
          
          <creation_ts>2012-03-31 15:48:34 +0000</creation_ts>
          <short_desc>[Hob] fail to build hob-image-hob.bb from command line</short_desc>
          <delta_ts>2012-04-18 08:43:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Hob</product>
          <component>hob</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(1.2)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Dongxiao Xu">dongxiao.xu</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>shane.wang</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>19754</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-03-31 15:48:34 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19758</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-04-01 01:46:49 +0000</bug_when>
    <thetext>Update the bug since I build hob-image yesterday. It should be &quot;bitbake hob-image-hob&quot; 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 &apos;libpcreposix&apos; (but /distro/m4/meta/recipes-test/images/hob-image-hob.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target &apos;libpcreposix&apos; is unbuildable, removing...
Missing or unbuildable dependency chain was: [&apos;libpcreposix&apos;]
ERROR: Required build target &apos;hob-image-hob&apos; has no buildable providers.
Missing or unbuildable dependency chain was: [&apos;hob-image-hob&apos;, &apos;libpcreposix&apos;]
#########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20192</commentid>
    <comment_count>2</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2012-04-11 16:44:47 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20622</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-04-18 08:43:23 +0000</bug_when>
    <thetext>I tested with master commit 720fe9e371eef16da19df0885188aa0341ad2090, the bug is fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>