Bug 1527

Summary: [multilib] lib64 build against qemux86-64 failed during do_rootfs
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Jiajun Xu <jiajun.xu>
Component: meta-yoctoAssignee: Dongxiao Xu <dongxiao.xu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: High CC: dongxiao.xu, ke.yu, lianhao.lu, poky.bs.watcher, poky.watcher, sgw
Version: unspecified   
Target Milestone: 1.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Jiajun Xu 2011-09-26 18:02:36 UTC
tree/branch: poky/edison
commit: 41c564fe605fa4685fd27b1721e3424ac8a96db1
target: lib64-core-image-sato:
machine: qemux86-64

multilib conf:
####
require conf/multilib.conf
MULTILIBS = "multilib:lib64"
DEFAULTTUNE_virtclass-multilib-lib64 = "x86-64"
####

When I test edison branch with lib64 build against qemux86-64, it fails during do_rootfs for core image.

#####
Generating solve db for /home/jxu49/osel/poky/lib64-core-image-qemux86-64/tmp/deploy/rpm/all...
   total:               1      0.000000 MB      0.125450 secs
   fingerprint:        96      0.003280 MB      0.004937 secs
   install:            32      0.000000 MB      0.067087 secs
   dbadd:              32      0.000000 MB      0.064438 secs
   dbget:             593      0.000000 MB      0.000232 secs
   dbput:              32      0.262480 MB      0.038033 secs
   readhdr:           321      0.524720 MB      0.000518 secs
   hdrload:           160      0.779936 MB      0.001193 secs
   hdrget:           5288      0.000000 MB      0.002164 secs
Processing locale-base-en-us...
Processing locale-base-en-gb...
Manifest: /home/jxu49/osel/poky/lib64-core-image-qemux86-64/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/rootfs/install/install.manifest
Processing lib64-task-core-boot...
Unable to find package lib64-task-core-boot (task-core-boot)!
ERROR: Function 'do_rootfs' failed (see /home/jxu49/osel/poky/lib64-core-image-qemux86-64/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/temp/log.do_rootfs.25171 for further information)
#####
Comment 1 Jiajun Xu 2011-09-26 22:43:43 UTC
ipk build for lib64 against qemux86-64 also fails:

######
+ opkg-cl -f /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/opkg.conf -o /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/multilib/lib64 --force_overwrite update
Downloading file:/home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/deploy/ipk/Packages.
Updated list of available packages in /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/multilib/lib64//var/lib/opkg/lists/oe.
Downloading file:/home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/deploy/ipk/all/Packages.
Updated list of available packages in /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/multilib/lib64//var/lib/opkg/lists/oe-all.
Downloading file:/home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/deploy/ipk/x86_64/Packages.
Updated list of available packages in /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/multilib/lib64//var/lib/opkg/lists/oe-x86_64.
Downloading file:/home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/deploy/ipk/qemux86_64/Packages.
Updated list of available packages in /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/multilib/lib64//var/lib/opkg/lists/oe-qemux86_64.
+ opkg-cl -f /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/opkg.conf -o /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/multilib/lib64 --force_overwrite install lib64-task-core-boot lib64-task-core-apps-console lib64-opkg-collateral lib64-task-core-ssh-dropbear lib64-task-core-apps-x11-pimlico lib64-task-core-x11-base lib64-task-core-apps-x11-games lib64-task-core-apps-x11-core lib64-opkg lib64-task-base-extended lib64-task-core-x11-sato lib64-poky-feed-config-opkg
Unknown package 'lib64-task-core-boot'.
Unknown package 'lib64-task-core-apps-console'.
Unknown package 'lib64-opkg-collateral'.
Unknown package 'lib64-task-core-ssh-dropbear'.
Unknown package 'lib64-task-core-apps-x11-pimlico'.
Unknown package 'lib64-task-core-x11-base'.
Unknown package 'lib64-task-core-apps-x11-games'.
Unknown package 'lib64-task-core-apps-x11-core'.
Unknown package 'lib64-opkg'.
Unknown package 'lib64-task-base-extended'.
Unknown package 'lib64-task-core-x11-sato'.
Unknown package 'lib64-poky-feed-config-opkg'.
Collected errors:
 * opkg_install_cmd: Cannot install package lib64-task-core-boot.
 * opkg_install_cmd: Cannot install package lib64-task-core-apps-console.
 * opkg_install_cmd: Cannot install package lib64-opkg-collateral.
 * opkg_install_cmd: Cannot install package lib64-task-core-ssh-dropbear.
 * opkg_install_cmd: Cannot install package lib64-task-core-apps-x11-pimlico.
 * opkg_install_cmd: Cannot install package lib64-task-core-x11-base.
 * opkg_install_cmd: Cannot install package lib64-task-core-apps-x11-games.
 * opkg_install_cmd: Cannot install package lib64-task-core-apps-x11-core.
 * opkg_install_cmd: Cannot install package lib64-opkg.
 * opkg_install_cmd: Cannot install package lib64-task-base-extended.
 * opkg_install_cmd: Cannot install package lib64-task-core-x11-sato.
 * opkg_install_cmd: Cannot install package lib64-poky-feed-config-opkg.
ERROR: Function 'do_rootfs' failed (see /home/jxu49/osel/poky/lib64-core-image-qemux86-64-ipk/tmp/work/qemux86_64-poky-linux/lib64-core-image-sato-1.0-r0/temp/log.do_rootfs.16883 for further information)
######
Comment 3 Jiajun Xu 2011-10-08 08:36:33 UTC
Verify the bug as fixed against edison branch.

commit 5ed59ae0f25bf673d514df2371da7e0415b62bb2
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Fri Oct 7 00:00:21 2011 +0100

    local.conf.sample: Disable interactive patch resolution for now since
doesn't work well

    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>