Bug 2918 - lib64-core-image-sato-sdk fails due to do_rootfs issue
Summary: lib64-core-image-sato-sdk fails due to do_rootfs issue
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.4 M6
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard: Patch sent for review
: 1731 3168 4190 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-08 07:52 UTC by Laurentiu Serban
Modified: 2013-04-11 08:44 UTC (History)
12 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurentiu Serban 2012-08-08 07:52:34 UTC
bitbake lib64-core-image-sato-sdk fails with the following error:


ERROR: Function failed: do_rootfs (see /home/lserban/work/poky/build/tmp/work/qemux86-poky-linux/lib64-core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.25015 for further information)
ERROR: Logfile of failure stored in: /home/lserban/work/poky/build/tmp/work/qemux86-poky-linux/lib64-core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.25015
Log data follows:
| DEBUG: Executing shell function do_rootfs
| Generating solve db for /home/lserban/work/poky/build/tmp/deploy/rpm/qemux86...
| Generating solve db for /home/lserban/work/poky/build/tmp/deploy/rpm/i586...
| Generating solve db for /home/lserban/work/poky/build/tmp/deploy/rpm/all...
| Generating solve db for /home/lserban/work/poky/build/tmp/deploy/rpm/lib64_qemux86...
| Generating solve db for /home/lserban/work/poky/build/tmp/deploy/rpm/lib64_x86_64...
| Generating solve db for /home/lserban/work/poky/build/tmp/deploy/rpm/all...
| Generating solve db for /home/lserban/work/poky/build/tmp/deploy/rpm/all...
| Processing lib64-locale-base-en-us...
| Processing lib64-locale-base-en-gb...
| Processing lib64-task-core-boot...
| Processing lib64-task-core-apps-console...
| Processing lib64-task-core-standalone-sdk-target...
| Processing lib64-task-core-tools-profile...
| Processing lib64-task-core-apps-x11-pimlico...
| Processing lib64-task-core-x11-sato...
| Processing lib64-task-core-tools-debug...
| Processing lib64-zypper...
| Processing lib64-task-core-sdk...
| Processing lib64-task-core-tools-testapps...
| Processing lib64-task-core-qt-demos...
| Processing lib64-task-core-apps-x11-games...
| Processing lib64-task-core-apps-x11-core...
| Processing lib64-task-core-ssh-openssh...
| Processing lib64-task-base-extended...
| Processing lib64-rpm...
| Processing lib64-task-core-x11-base...
| Processing lib64-kernel-dev...
| unable to find package kernel-dev
| ERROR: some packages were missing
| ERROR: Function failed: do_rootfs (see /home/lserban/work/poky/build/tmp/work/qemux86-poky-linux/lib64-core-image-sato-sdk-1.0-r0/temp/log.do_rootfs.25015 for further information)
NOTE: package lib64-core-image-sato-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 7 (virtual:multilib:lib64:/home/lserban/work/poky/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6579 tasks of which 6578 didn't need to be rerun and 1 failed.
Comment 1 Paul Eggleton 2012-08-20 15:17:31 UTC
Unfortunately I'm currently blocked from looking into this by bug #2931.
Comment 2 Paul Eggleton 2012-09-14 07:54:21 UTC
I think the problem here is that kernel-dev is legitimately not available for any multilibs since the kernel is only built for the base architecture. The question is how can we teach the image/rootfs code this?
Comment 3 Paul Eggleton 2012-09-26 09:03:20 UTC
*** Bug 3168 has been marked as a duplicate of this bug. ***
Comment 4 Alexandru Georgescu 2012-10-17 12:04:25 UTC
#3918 which is duplicate of this should be closed when this is verified.
#1731 which is duplicate of this should be closed when this is verified.
Comment 5 Alexandru Georgescu 2012-10-17 12:22:39 UTC
*** Bug 1731 has been marked as a duplicate of this bug. ***
Comment 6 Alexandru Georgescu 2012-10-17 12:22:41 UTC
*** Bug 3168 has been marked as a duplicate of this bug. ***
Comment 7 Alexandru Georgescu 2012-11-13 13:46:47 UTC
Hi Paul,
Is there any update regarding this issue?

Thanks,
Alex.
Comment 8 Paul Eggleton 2012-11-13 13:51:53 UTC
No change; I still haven't determined the appropriate way to figure out which packages should not have the prefix applied.
Comment 9 Constantin Musca 2013-01-30 10:33:30 UTC
The kernel-dev issue has been fixed (commit 1674541ed83fa4645f2e078f65fe0f878527ee6e).

Now, when I build lib64-core-image-sato-sdk I receive this error:
| Note: to be installed:  packagegroup-core-tools-profile@lib64_qemux86 packagegroup-core-standalone-sdk-target@all packagegroup-core-boot@lib64_qemux86 rpm@lib64_x86_64 packagegroup-core-x11-base@all packagegroup-core-x11-sato@lib64_qemux86 packagegroup-base-extended@lib64_qemux86 locale-base-en-us@lib64_x86_64 smartpm@lib64_x86_64 packagegroup-core-tools-testapps@lib64_qemux86 locale-base-en-gb@lib64_x86_64 packagegroup-core-sdk@all psplash@lib64_x86_64 packagegroup-core-x11-sato-games@lib64_qemux86 packagegroup-core-qt-demoapps@all packagegroup-core-ssh-openssh@all packagegroup-core-tools-debug@lib64_qemux86 kernel-dev@qemux86
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can't install xmodmap-1:1.0.7-r8.0.0@i586: no package provides libX11.so.6
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs (see /home/dev/yocto/poky-build3/tmp/work/qemux86-poky-linux/lib64-core-image-sato-sdk/1.0-r0/temp/log.do_rootfs.27307 for further information)

On the other hand, the lib32-core-image-sato-sdk build finishes successfully.

Paul: Could you look into this because it seems smart related?

Cheers,
Constantin
Comment 10 Mihai Lindner 2013-02-06 13:47:52 UTC
Same thing for 'lib64-core-image-sato' target.

| Note: to be installed:  packagegroup-core-boot@lib64_qemux86 rpm@lib64_x86_64 packagegroup-core-ssh-dropbear@all packagegroup-core-x11-base@all packagegroup-base-extended@lib64_qemux86 locale-base-en-us@lib64_x86_64 smartpm@lib64_x86_64 packagegroup-core-x11-sato-games@lib64_qemux86 locale-base-en-gb@lib64_x86_64 psplash@lib64_x86_64 packagegroup-core-x11-sato@lib64_qemux86
| Loading cache...
| Updating cache...               ######################################## [100%]
| 
| Computing transaction...error: Can't install libavahi-client3-0.6.31-r6.1@i586: no package provides libdbus-1.so.3
| 
| Saving cache...
| 
| ERROR: Function failed: do_rootfs (see /home/mihai/build/tmp/work/qemux86-poky-linux/lib64-core-image-sato/1.0-r0/temp/log.do_rootfs.2493 for further information)
ERROR: Task 7 (virtual:multilib:lib64:/home/mihai/poky/meta/recipes-sato/images/core-image-sato.bb, do_rootfs) failed with exit code '1'

Build Configuration:
BB_VERSION        = "1.17.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-17"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3+snapshot-20130206"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "1.4_M3:3ae1a4ba972cfc17ff3f2fda632da8ecc3414885"
Comment 11 Paul Eggleton 2013-02-06 13:56:42 UTC
This is unlikely to be smart's fault. If the dependency exists and can't be satisfied, it will legitimately throw up an error.
Comment 12 Saul Wold 2013-04-03 23:58:45 UTC
We had another failure in master with a similar issue:


| Saving cache...
| 
| Error: lib64-kernel-dev not found in the lib64 feeds (lib64_qemux86 lib64_x86_64 noarch any all).
| ERROR: Function failed: do_rootfs (see /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-multilib/build/build/tmp/work/qemux86-poky-linux/lib64-core-image-lsb-sdk/1.0-r0/temp/log.do_rootfs.25851 for further information)
NOTE: recipe lib64-core-image-lsb-sdk-1.0-r0: task do_rootfs: Failed
ERROR: Task 39 (virtual:multilib:lib64:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-multilib/build/meta/recipes-extended/images/core-image-lsb-sdk.bb, do_rootfs) failed with exit code '1'
ERROR: Function failed: do_rootfs (see /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-multilib/build/build/tmp/work/qemux86-poky-linux/lib64-core-image-sato-sdk/1.0-r0/temp/log.do_rootfs.25865 for further information)
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-multilib/build/build/tmp/work/qemux86-poky-linux/lib64-core-image-sato-sdk/1.0-r0/temp/log.do_rootfs.25865
Log data follows:
| DEBUG: Executing shell function do_rootfs
| Note: configuring RPM platform settings
| Note: configuring RPM system provides
| Note: configuring RPM DB settings
| Note: configuring Smart settings
| 
|
Comment 13 Saul Wold 2013-04-04 14:57:09 UTC
*** Bug 4190 has been marked as a duplicate of this bug. ***
Comment 15 Saul Wold 2013-04-11 08:23:11 UTC
Appears again in latest build
Comment 16 Richard Purdie 2013-04-11 08:44:56 UTC
No, its in a danny build which isn't entirely a surprise. I believe Ross has the fix for this queued in danny-next too.