<?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>1903</bug_id>
          
          <creation_ts>2012-01-16 04:54:47 +0000</creation_ts>
          <short_desc>[HOB] do_rootfs failed with dummy-image against a clean working dir</short_desc>
          <delta_ts>2012-03-14 15:16:37 +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>Fixed.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M3</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>sgw</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>18163</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-01-16 04:54:47 +0000</bug_when>
    <thetext>tree/branch: poky-contrib, dxu4/hob2-v0.11
commit: 1f0d28a42430b5bf8e3a9c9fe0608d0c2b1f5da7

With Dongxiao&apos;s 0.11 branch, if I use a clean working dir to launch hob and build an image with customized recipes, the build will fail at do_rootfs for dummy-image.bb. If I re-build the image with same recipe list selected, the bug won&apos;t happen.

The steps I reproduce the bug:
1. launch hob in a clean working dir
2. select qemux86 for machine and select core-image-minimal
3. select x11-comman and zypper in &quot;view recipes&quot;, deselect zypper then
4. click &quot;build image&quot; and you will find the error

Error log as below:
########
ERROR: Function &apos;do_rootfs&apos; failed (see /home/jxu49/osel/poky-contrib/build/tmp/work/qemux86-poky-linux/dummy-image-1.0-r0/temp/log.do_rootfs.18769 for further information)
Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/qemux86...
   total:               1      0.000000 MB      2.547082 secs
   fingerprint:       975      0.008172 MB      0.263479 secs
   install:           325      0.000000 MB      0.461063 secs
   dbadd:             325      0.000000 MB      0.450573 secs
   dbget:            2178      0.000000 MB      0.003842 secs
   dbput:             325      1.714524 MB      0.370358 secs
   readhdr:          3251      3.401760 MB      0.995491 secs
   hdrload:          1625      5.043388 MB      0.012918 secs
   hdrget:          59006      0.000000 MB      0.014960 secs
Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/i586...
   total:               1      0.000000 MB     20.203494 secs
   fingerprint:      9678      0.125534 MB      1.441512 secs
   install:          3226      0.000000 MB      5.012067 secs
   dbadd:            3226      0.000000 MB      4.937293 secs
   dbget:           41053      0.000000 MB      0.026301 secs
   dbput:            3226     16.625584 MB      4.359658 secs
   readhdr:         32261     33.429330 MB      6.392184 secs
   hdrload:         19671     68.766458 MB      0.163112 secs
   hdrget:         571587      0.000000 MB      0.320460 secs
Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.129001 secs
   fingerprint:        27      0.000032 MB      0.000176 secs
   install:             9      0.000000 MB      0.032209 secs
   dbadd:               9      0.000000 MB      0.030119 secs
   dbget:              33      0.000000 MB      0.000087 secs
   dbput:               9      0.026864 MB      0.010407 secs
   readhdr:            91      0.055056 MB      0.055576 secs
   hdrload:            48      0.087812 MB      0.000483 secs
   hdrget:           1308      0.000000 MB      0.001167 secs
Generating solve db for /home/jxu49/osel/poky-contrib/build/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.062212 secs
   fingerprint:        27      0.000032 MB      0.000175 secs
   install:             9      0.000000 MB      0.031808 secs
   dbadd:               9      0.000000 MB      0.029720 secs
   dbget:              33      0.000000 MB      0.000091 secs
   dbput:               9      0.026864 MB      0.010525 secs
   readhdr:            91      0.055056 MB      0.000126 secs
   hdrload:            48      0.087812 MB      0.000411 secs
   hdrget:           1308      0.000000 MB      0.000642 secs
Manifest: /home/jxu49/osel/poky-contrib/build/tmp/work/qemux86-poky-linux/dummy-image-1.0-r0/rootfs/install/install.manifest
head: cannot open `/home/jxu49/osel/poky-contrib/build/tmp/work/qemux86-poky-linux/dummy-image-1.0-r0/rootfs/etc/rpm-postinsts/*&apos; for reading: No such file or directory
Delayed package scriptlet:
########</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18165</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-01-16 06:34:17 +0000</bug_when>
    <thetext>Even I build a minimal image without customization for recipe with a clean dir, the same error still exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18252</commentid>
    <comment_count>2</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2012-01-18 23:18:32 +0000</bug_when>
    <thetext>This bug is fixed in the latest branch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=dxu4/hob2-v0.12

Will mark it as FIXED after HOB code are checked into master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19026</commentid>
    <comment_count>3</comment_count>
    <who name="Dongxiao Xu">dongxiao.xu</who>
    <bug_when>2012-03-14 02:19:21 +0000</bug_when>
    <thetext>This bug is fixed when hob patches are checked into master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19070</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-03-14 15:16:37 +0000</bug_when>
    <thetext>Verify the bug as fixed in 1.2 M3 testing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>