<?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>5288</bug_id>
          
          <creation_ts>2013-09-30 07:55:26 +0000</creation_ts>
          <short_desc>Incremental RPM image generation fails</short_desc>
          <delta_ts>2015-08-07 13:49:31 +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.5</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.5 M5</target_milestone>
          
          <blocked>4079</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ionut Chisanovici">ionutx.chisanovici</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Ionut Chisanovici">ionutx.chisanovici</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37325</commentid>
    <comment_count>0</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-09-30 07:55:26 +0000</bug_when>
    <thetext>STATUS: FAILED
BUILD: 1.5_M5_RC5: 4d8ab87d25ea6e59dc88375813ef88ee0ac813d0
ENVIRONMENT: Fedora 19 / Ubuntu 13.04
STEPS TO REPRODUCE: When modify a package, there is no need to reconstruct the image from 
scratch, but instead simply use the packaging infrastructure and 
incrementally update it based on the &quot;package&quot;.

1. Download poky source and prepare the build environment
2. Add the following line to conf/local.conf: 
   
INC_RPM_IMAGE_GEN = &quot;1&quot; 
3. Run &quot;bitbake core-image-sato&quot; to build a image and check the log.do_rootfs. 
4. Remove &quot;x11vnc&quot; from meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb. Re-run command &quot;bitbake 
core-image-sato&quot; and check the log.do_rootfs. 


EXPECTED OUTCOME: 
  
 For steps 4 the log.do_rootfs will show that the rootfs is not 
reconstruct when some packages changed. Only the modified packages will 
be added/removed.

Actual outcome:

After removing x11vnc package from meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb, bitbake command failed to build the image at do_rootfs:

 makedevs: /home/ionut/work/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs/dev/initctl: file can not be created with mknod!
| WARNING: /home/ionut/work/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_rootfs.10838:1 exit 1 from
|   makedevs -r /home/ionut/work/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/rootfs -D $devtable
| ERROR: Function failed: do_rootfs (log file is located at /home/ionut/work/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_rootfs.10838)
ERROR: Task 7 (/home/ionut/work/poky/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37435</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-10-01 15:40:18 +0000</bug_when>
    <thetext>This appears to affect other places as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37481</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-10-02 13:31:29 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b618f74d6e87ac36ca7dad25c830fa8526614320</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37531</commentid>
    <comment_count>3</comment_count>
    <who name="Ionut Chisanovici">ionutx.chisanovici</who>
    <bug_when>2013-10-03 10:53:44 +0000</bug_when>
    <thetext>Hi,

The error doesn&apos;t appear anymore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>