<?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>1228</bug_id>
          
          <creation_ts>2011-07-07 07:59:38 +0000</creation_ts>
          <short_desc>[HOB] No rootfs image generated after image build finished</short_desc>
          <delta_ts>2011-08-02 22:31:01 +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></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.1 M3</target_milestone>
          <dependson>1249</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Joshua Lock - Disabled">josh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>14591</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-07 07:59:38 +0000</bug_when>
    <thetext>Tree/Branch: Poky/Master
Commit: d4132fa12885fc050313a5c9aa6903e4fa92c94f

Not sure if it&apos;s the configuration problem on my machine. Just keep it here and I will try on other machine tomorrow.

I find even if the image type(saying core-image-minimal) is build finished(hob shows &quot;build completed&quot;), there is no rootfs image generated under tmp/deploy/images.

I think if the bug is valid, it shoulde be major or block issue because the output of a build is not correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14601</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 10:34:25 +0000</bug_when>
    <thetext>I think I know what&apos;s going on here. There is a known issue with the image creator that the native tools for rootfs construction are not correctly included in the dependencies of the image and therefore if these native tools have not already been built the actual rootfs construction will fail.

I assume this was a clean build directory?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14613</commentid>
    <comment_count>2</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-07-07 19:22:33 +0000</bug_when>
    <thetext>I guess the reason why no rootfs is generated is when calling the  bitbake server command &apos;buildTargets&apos;, hob passes in all the packages included in the core-image-minimal, not the core-image-minimal itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14614</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-07 19:28:49 +0000</bug_when>
    <thetext>If we build a image from bitbake command line first. Then build the same image in hob. There will be no rootfs image generated also.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14618</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-07 20:48:47 +0000</bug_when>
    <thetext>Currently the actual image build is queued to be run using buildFile after the package builds (using buildTargets) have completed.

That&apos;s what works on my Fedora 15 workstation(s) but will fail if the builddir hasn&apos;t had an image built in it already.

Fixing hob to use buildTargets for the actual image is a high priority issue for M2 but if that&apos;s not what you&apos;re seeing I&apos;d like to get some more info so that I can try and ensure the image creator works for you.

Can you tell me Python version, distribution and distro version so I can try and reproduce?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14619</commentid>
    <comment_count>5</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-07-07 20:52:06 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Currently the actual image build is queued to be run using buildFile after the
&gt; package builds (using buildTargets) have completed.
&gt; That&apos;s what works on my Fedora 15 workstation(s) but will fail if the builddir
&gt; hasn&apos;t had an image built in it already.
&gt; Fixing hob to use buildTargets for the actual image is a high priority issue
&gt; for M2 but if that&apos;s not what you&apos;re seeing I&apos;d like to get some more info so
&gt; that I can try and ensure the image creator works for you.
&gt; Can you tell me Python version, distribution and distro version so I can try
&gt; and reproduce?

I am using 32bit Ubuntu 10.04 with python 2.6.5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14620</commentid>
    <comment_count>6</comment_count>
    <who name="Lianhao Lu">lianhao.lu</who>
    <bug_when>2011-07-07 22:38:23 +0000</bug_when>
    <thetext>got 3 event after buildFile command was sent out:

&lt;bb.command.CommandCompleted&gt;
&lt;bb.command.CommandFailed&gt;
&lt;bb.command.CommandFailed&gt;

(In reply to comment #4)
&gt; Currently the actual image build is queued to be run using buildFile after the
&gt; package builds (using buildTargets) have completed.
&gt; 
&gt; That&apos;s what works on my Fedora 15 workstation(s) but will fail if the builddir
&gt; hasn&apos;t had an image built in it already.
&gt; 
&gt; Fixing hob to use buildTargets for the actual image is a high priority issue
&gt; for M2 but if that&apos;s not what you&apos;re seeing I&apos;d like to get some more info so
&gt; that I can try and ensure the image creator works for you.
&gt; 
&gt; Can you tell me Python version, distribution and distro version so I can try
&gt; and reproduce?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14623</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-08 10:16:36 +0000</bug_when>
    <thetext>OK, working on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14698</commentid>
    <comment_count>8</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-12 14:53:06 +0000</bug_when>
    <thetext>For those following along, the problem was that the GUI was calling the findConfigFilePath command of the cooker looking for a UI specific config file. However the findConfigFilePath command was buggy such that it would fire the ConfigFilePathFound event regardless of whether a file was actually found or not, leading to the UI trying to handle the event and process a None object as a file path.

The submitted patch updates the cooker to only fire events in the finder methods when something is actually found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14700</commentid>
    <comment_count>9</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-12 14:54:07 +0000</bug_when>
    <thetext>Dammit, comment on the wrong bug. Sorry. Please ignore last comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14750</commentid>
    <comment_count>10</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-15 16:25:44 +0000</bug_when>
    <thetext>This change is pending further development on #1249</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15024</commentid>
    <comment_count>11</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-07-26 12:32:56 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2d608f837d51c900dacadeb9737fbde068578d8a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15171</commentid>
    <comment_count>12</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-08-02 22:31:01 +0000</bug_when>
    <thetext>Verify the bug with commit 46cf540e63a848512617b20fd8492f81bfb2f704, now rootfs image could be built out with hob.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>