<?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>2906</bug_id>
          
          <creation_ts>2012-08-07 06:43:18 +0000</creation_ts>
          <short_desc>Incremental RPM image generation doesn&apos;t work with 1.3 20120801 build</short_desc>
          <delta_ts>2012-08-23 06:31:19 +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>OE-Core</product>
          <component>core</component>
          <version>1.3</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>zhenfeng.zhao</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>23846</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-08-07 06:43:18 +0000</bug_when>
    <thetext>Tree/Branch: poky/master
Commit: 3309cf42d314f0a26079a11836c6b9b9bb5f253e


Incremental RPM image generation doesn&apos;t work with 20120801 build

Steps:
#########
1. Add INC_RPM_IMAGE_GEN = &quot;1&quot; to local.conf
2. Run &quot;bitbake core-image-sato&quot; to build a image.
3. Modify bzip2_1.0.6.bb file, add some comments. Run &quot;bitbake bzip2 -ccleansstate&quot;
4. Run &quot;bitbake core-image-sato&quot; again.
###########


In step 4, I got the following error:
##########
DEBUG: Executing shell function do_rootfs
  Generating solve db for /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/deploy/rpm/qemumips...
)&gt;Generating solve db for /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/deploy/rpm/mips32...
  Generating solve db for /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/deploy/rpm/all...
  Generating solve db for /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/deploy/rpm/x86_64-nativesdk...
6&gt;Generating solve db for /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/deploy/rpm/all...
  Processing locale-base-en-us...
  Processing locale-base-en-gb...
  Processing task-core-boot...
  Processing task-core-apps-x11-pimlico...
8&gt;Processing sudo...
5&gt;Processing task-core-sdk...
  Processing task-core-tools-testapps...
  Processing at...
  Processing task-core-apps-x11-core...
  Processing cups...
  Processing rpm...
  Processing task-core-apps-console...
  Processing task-core-standalone-sdk-target...
  Processing service...
  Processing task-core-x11-sato...
  Processing task-core-apps-x11-games...
  Processing task-core-x11-base...
  Processing screen...
  Processing zypper...
  Processing polkit...
  Processing task-core-tools-debug...
  Processing shadow...
  Processing cronie...
  Processing task-core-tools-profile...
  Processing task-core-qt-demos...
  Processing task-core-ssh-openssh...
  Processing task-base-extended...
0&gt;Processing kernel-dev...
  Manifest: /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/install/install.manifest
  Installing base dependencies first (base-passwd, base-files and shadow) since rpm is special
  Installing main solution manifest (/buildarea2/yzhao-test/poky-build/build-qemumips/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/install/total_solution.manifest)
  Preparing...                ##################################################
  kernel-module-ts-kmp        ##################################################
  perl                        ##################################################
  python-core                 ##################################################
  kernel-module-xfrm-user     ##################################################
  kernel-module-nls-koi8-u    ##################################################
  util-linux-swaponoff        ##################################################
...
...
  task-base-pcmcia            ##################################################
  task-base-usbgadget         ##################################################
  task-base-wifi              ##################################################
  task-base-zeroconf          ##################################################
  task-core-apps-console      ##################################################
  task-core-apps-x11-core     ##################################################
  task-core-apps-x11-games    ##################################################
  task-core-apps-x11-pimlico  ##################################################
  task-core-boot              ##################################################
  task-core-tools-debug       ##################################################
  task-core-tools-profile     ##################################################
2&gt;task-core-tools-testapps    ##################################################
  task-core-x11-base          ##################################################
  task-core-x11-sato          ##################################################
  task-distro-base            ##################################################
  task-machine-base           ##################################################
  Running useradd commands...
  Note: username xuser already exists, not re-creating it
  xserver-nodm-init           ##################################################
   System startup links for /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/rootfs/etc/init.d/xserver-nodm already exist.
(&gt;xserver-xf86-config         ##################################################
  zypper                      ##################################################
4&gt;ERROR: Function failed: do_rootfs (see /buildarea2/yzhao-test/poky-build/build-qemumips/tmp/work/qemumips-poky-linux/core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.14468 for further in  formation)
#############</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24209</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-08-20 06:23:10 +0000</bug_when>
    <thetext>*** Bug 2969 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24231</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-08-20 15:27:44 +0000</bug_when>
    <thetext>The current implementation depends on the saved manifest files, it would break easily when the manifest changes, I will change its implementaion to not depend on the manifest files any more, which would make it much more stable:-).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24271</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-08-21 12:50:08 +0000</bug_when>
    <thetext>Merged into master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=46b3ab1f2bdd01041c91ad1576351f1e4e948f2b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24385</commentid>
    <comment_count>4</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-08-23 06:31:19 +0000</bug_when>
    <thetext>no such errors on:
git info:19ff55a53b436d463f9577adaed15be77708f0d2
git branch:poky/master
test hosts: ubuntu 11.10 x86_64 (qemumips sato image)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>