Bug 2440

Summary: Incremental RPM image generation doesn't work
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Yi Zhao <yi.zhao>
Component: meta-yoctoAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: liang.li2, poky.bs.watcher, poky.watcher, sgw, song.liu, yi.zhao, zhenfeng.zhao
Version: unspecified   
Target Milestone: 1.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: (QA testing completed) Done
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Yi Zhao 2012-05-09 05:36:44 UTC
Tree/Branch: Poky/master
Commit: b1867950831ab6edb00b819f4cde81d40007f22e


Incremental RPM image generation doesn't work with latest master branch.

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

In step 4, I got the following error:
##########
...
| gst-plugins-good-souphttpsrc##################################################
| pango                       ##################################################
| pango-module-basic-x        ##################################################
| libgtk-2.0                  ##################################################
| librsvg-2-2                 ##################################################
| gconf                       ##################################################
| libowl0                     ##################################################
| libowl-av0                  ##################################################
| libunique-1.0-0             ##################################################
| libfm                       ##################################################
| libvte9                     ##################################################
| matchbox-panel-2            ##################################################
| matchbox-desktop            ##################################################
| gtk-sato-engine             ##################################################
| connman-gnome               ##################################################
| matchbox-keyboard-im        ##################################################
| matchbox-keyboard-applet    ##################################################
| sato-screenshot             ##################################################
| libedataserver-1.2-13       ##################################################
| matchbox-config-gtk         ##################################################
| settings-daemon             ##################################################
| oh-puzzles                  ##################################################
| leafpad                     ##################################################
| gaku                        ##################################################
| gthumb                      ##################################################
| pcmanfm                     ##################################################
| matchbox-terminal           ##################################################
| evolution-data-server       ##################################################
| libcamel                    ##################################################
| libebook-1.2-9              ##################################################
| libedata-book-1.2-2     ERROR: Function failed: do_rootfs (see /buildarea2/yzhao/poky-build/build-incremental/tmp/work/qemux86-poky-linux/core-image-sato-1.0-r0/temp/log.do_rootfs.788 for further information)
|     ##################################################
| contacts                    ##################################################
| libecal-1.2-7               ##################################################
| dates                       ##################################################
| tasks                       ##################################################
| libedata-cal-1.2-7          ##################################################
NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed
ERROR: Task 8 (/buildarea2/yzhao/poky-build/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4798 tasks of which 4786 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /buildarea2/yzhao/poky-build/meta/recipes-sato/images/core-image-sato.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
##########
Comment 2 liang li 2012-05-28 09:38:15 UTC
'INC_RPM_IMAGE_GEN = "1"' added to conf/local.conf and build qemuppc sato and sato-sdk images,following bug 1651 steps,no error happend, so change the bug status to verified.

git info : f28209d9d3c67203a2c7a2b25cacfe31643d1bfa
git branch: poky/master