Bug 3074

Summary: do_rootfs fails update-alternatives already exists
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stefan Stanacar <sstncr>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium+ CC: liang.li2, liezhi.yang, meta.mr.watcher, meta.watcher
Version: 1.3   
Target Milestone: 1.3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log do_rootfs none

Description Stefan Stanacar 2012-09-07 11:52:47 UTC
Created attachment 768 [details]
log do_rootfs

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120907"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        = "1.3_beta:200d14f385ba806b67d71103512622697c760bdc"

with INC_RPM_IMAGE_GEN = "1" in local.conf

bitbake core-image-minimal
bitbake zlib -cclean 
bitbake core-image-minimal


|  System startup links for /home/stefans/yocto/builds/z/tmp/work/qemux86_64-poky-linux/core-image-minimal-1.0-r0/rootfs/etc/init.d/udev already exist.
| udev-extraconf              ##################################################
| udev-utils                  ##################################################
| update-alternatives-cworth  ##################################################
| usbutils-ids                ##################################################
| ERROR: Function failed: do_rootfs (see /home/stefans/yocto/builds/z/tmp/work/qemux86_64-poky-linux/core-image-minimal-1.0-r0/temp/log.do_rootfs.15025 for further information)
ERROR: Task 7 (/home/stefans/yocto/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1524 tasks of which 1521 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/stefans/yocto/poky/meta/recipes-core/images/core-image-minimal.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Probably related to #3047.
Comment 1 liang li 2012-09-10 05:57:06 UTC
no such error when using following command:
bitbake core-image-minimal
bitbake zlib -ccleansstate
bitbake core-image-minimal -ccleansstate
bitbake core-image-minimal

git info:5343cdb20ee56a8b507733c637dcc2466ae13288
git branch: poky/master
test env: ubuntu 12.04 x86_64
Comment 2 Robert Yang 2012-09-10 06:31:53 UTC
This one is similar to 3047, and I have sent the patch for it.

*** This bug has been marked as a duplicate of bug 3047 ***
Comment 3 Stefan Stanacar 2012-10-02 11:39:39 UTC
Mark as verified (duplicate of #3047).