Bug 5393

Summary: do_rootfs fails for rpm image with: can't install rpm-5.4.9-r63@x86_64: no package provides /usr/bin/perl
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stefan Stanacar <sstncr>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Medium+ CC: cristiana.voicu, meta.mr.watcher, meta.watcher
Version: 1.6   
Target Milestone: 1.6   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Stefan Stanacar 2013-10-28 12:52:02 UTC
qemux86/qemux86-64 core-image-sato

MACHINE ?= "qemux86-64"
DISTRO ?= "poky"
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES = "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"

Build Configuration:
BB_VERSION        = "1.21.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-19"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.5+snapshot-20131028"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master:78b91ab23d9856525fc7ac1bb8da2975382813bf"


 DEBUG: Executing python function rootfs_process_ignore
| DEBUG: Python function rootfs_process_ignore finished
| DEBUG: Executing python function rootfs_runtime_mapping
| DEBUG: Python function rootfs_runtime_mapping finished
| DEBUG: Executing shell function do_rootfs
| Previous repo file missing: /mnt/back/yocto/poky/build/tmp/deploy/rpm/all/repodata/primary.xml.gz
| Previous repo file missing: /mnt/back/yocto/poky/build/tmp/deploy/rpm/qemux86_64/repodata/primary.xml.gz
| Previous repo file missing: /mnt/back/yocto/poky/build/tmp/deploy/rpm/x86_64/repodata/primary.xml.gz
| Note: configuring RPM platform settings
| Note: configuring RPM system provides
| Note: configuring RPM DB settings
| Note: configuring Smart settings
| 
| 
| 
| 
| 
| 
| Note: adding Smart channel qemux86_64 (30)
| 
| 
| Note: adding Smart channel x86_64 (25)
| 
| 
| Note: adding Smart channel all (10)
| 
| 
| Note: configuring RPM cross-install scriptlet_wrapper
| 
| Updating cache...               ######################################## [100%]
| 
| Saving cache...
| 
| Note: adding Smart RPM DB channel
| 
| Note: to be installed:  packagegroup-core-ssh-dropbear@all packagegroup-core-x11-sato-games@qemux86_64 packagegroup-core-x11-base@all smartpm@x86_64 psplash@x86_64 packagegroup-core-boot@qemux86_64 packagegroup-base-extended@qemux86_64 rpm@x86_64 packagegroup-core-x11-sato@qemux86_64 locale-base-en-us@x86_64 locale-base-en-gb@x86_64
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can't install rpm-5.4.9-r63@x86_64: no package provides /usr/bin/perl
| 
| Saving cache...
| 
| WARNING: /mnt/back/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_rootfs.25916:1 exit 1 from
|   smart --data-dir=${target_rootfs}/var/lib/smart install -y ${pkgs_to_install}
| ERROR: Function failed: do_rootfs (log file is located at /mnt/back/yocto/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_rootfs.25916)
ERROR: Task 7 (/mnt/back/yocto/poky/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'


There are also a bunch of AB fails with different configurations related to that. Not sure though why others succeeded (including the nightly-x86-64 and nightly-x86...)

http://autobuilder.yoctoproject.org:8011/builders/nightly-multilib/builds/334/steps/Building%20Images_2/logs/stdio

http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-systemd/builds/217/steps/Building%20Images/logs/stdio

http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-logrotate/builds/45/steps/Building%20Images/logs/stdio

http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-pam/builds/48/steps/Building%20Images/logs/stdio

http://autobuilder.yoctoproject.org:8011/builders/nightly-x32/builds/346/steps/Building%20Images/logs/stdio

http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-skeleton/builds/45/steps/Building%20Images/logs/stdio
Comment 2 Stefan Stanacar 2013-11-04 08:33:20 UTC
Marked as Verified.