Bug 2824 - MUT: do_rootfs failed due to failed dependency on eglibc-locale
Summary: MUT: do_rootfs failed due to failed dependency on eglibc-locale
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M3
Assignee: Khem Raj
QA Contact:
URL:
Whiteboard: autobuilder
Depends on:
Blocks:
 
Reported: 2012-07-24 09:47 UTC by Nitin Kamble
Modified: 2012-09-28 15:13 UTC (History)
4 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 Nitin Kamble 2012-07-24 09:47:31 UTC
| unable to find package man-locale-en - ignoring
| unable to find package gettext-runtime-dev - ignoring
| error: Failed dependencies:
| 	eglibc-locale is needed by eglibc-locale-locale-en-gb-2.16-r21.armv5te
| Manifest: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-lsb-sdk-1.0-r0/rootfs/install/install.manifest
| Installing main solution manifest (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-lsb-sdk-1.0-r0/rootfs/install/total_solution.manifest)
| Preparing...                ##################################################
| util-macros-dev             ##################################################
| --
| update-alternatives: Linking /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-lsb-sdk-1.0-r0/rootfs//usr/sbin/chpasswd to chpasswd.shadow
| update-alternatives: Linking /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-lsb-sdk-1.0-r0/rootfs//bin/login to login.shadow
| update-alternatives: Linking /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-lsb-sdk-1.0-r0/rootfs//sbin/vipw to vipw.shadow
| update-alternatives: Linking /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-lsb-sdk-1.0-r0/rootfs//sbin/vigr to vigr.shadow
| pam-plugin-deny             ##################################################
| pam-plugin-faildelay        ##################################################
| pam-plugin-group            ##################################################
| pam-plugin-lastlog          ##################################################
| pam-plugin-limits           ##################################################
| pam-plugin-mail             ##################################################
| pam-plugin-motd             ##################################################
| 
| ERROR: Function failed: do_rootfs (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-arm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-lsb-sdk-1.0-r0/temp/log.do_rootfs.15621 for further information)
NOTE: package core-image-lsb-sdk-1.0-r0: task do_rootfs: Failed




Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "qemuarm"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "1.2+snapshot-20120724"
TUNE_FEATURES     = "armv5 dsp thumb arm926ejs"
TARGET_FPU        = "soft"
meta              
meta-yocto        = "stage/master_under_test:ae9c495a6fe6bff1c720ce4d0742c05ee36c2f1a"
meta-qt3          = "master:f8475d5c5935695d4d1dfff1d7be30f49e162094"



autobuilder log: http://autobuilder.yoctoproject.org:8010/builders/nightly-arm/builds/536/steps/shell_102/logs/stdio
Comment 2 Paul Eggleton 2012-07-24 10:31:47 UTC
This is a MUT failure, probably triggered by my rootfs rework - the dependency issue is probably real though and needs to be looked at.
Comment 3 Saul Wold 2012-07-24 14:05:54 UTC
I think this may actually be related to the 2.16 eglibc update, I believe I saw this also before paul's change.  Khem may have a fix already.
Comment 4 Khem Raj 2012-07-24 14:47:21 UTC
I have seen such issues when using rpm as packaging backend. When I used ipk then the issues disappeared. It may be that its showing up due to some latent issue. Mark Hatle touched the eglibc locale generation for his image SDK with external toolchain work. It could be that there is some empty package that is being requested through RDEPENDS, atleast that was one of problem I ran into recently where rpm did not give me useful message at all and message was very similar to what you are seeing. but opkg hinted rightly and I could fix it. It was an empty package being asked for in image and nothing related to locales.
Comment 5 Khem Raj 2012-07-24 14:50:54 UTC
so now we have eglibc-locale which is separate recipe and then we generate ${PN}-locale out of it so it becomes eglibc-locale-locale-*, and then eglibc recipe will also spin out ${PN}-locale which will become eglibc-locale, something is not right here.
Comment 6 Khem Raj 2012-07-25 03:39:29 UTC
(In reply to comment #5)
> so now we have eglibc-locale which is separate recipe and then we generate
> ${PN}-locale out of it so it becomes eglibc-locale-locale-*, and then eglibc
> recipe will also spin out ${PN}-locale which will become eglibc-locale,
> something is not right here.

I have a potential fix for this here

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/misc-updates&id=eda847fa7f399073566e7e0404fd158bd685cda7

Please test and see if this helps.
Comment 7 Nitin Kamble 2012-07-26 10:34:05 UTC
for the non-gplv3 build the issue is still present:
Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120726"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              
meta-yocto        = "stage/master_under_test:3713872e059ae9268165fb619a3201cfa43e102e"
meta-qt3          = "master:f8475d5c5935695d4d1dfff1d7be30f49e162094"


http://autobuilder.yoctoproject.org:8010/builders/nightly-non-gpl3/builds/175/steps/shell_23/logs/stdio
Comment 8 Khem Raj 2012-08-02 02:35:22 UTC
its fixed by

OE-Core rev: fc4b138948656d482603b80f8c8e86fdbb185df4
Comment 9 Stoicescu Cornel 2012-09-28 10:24:25 UTC
Hello

All the attached autobuilder logs have expired, I can not access them thus I can not test this to verify the fix. Can someone please test the fix or give me more information on how to test this?

Thank you.

/Cornel
Comment 10 Paul Eggleton 2012-09-28 10:47:00 UTC
If you can build core-image-lsb-sdk with one of the failing configurations and it does not fail at do_rootfs, that should verify that this issue is fixed; however  if it fails with an error that is not in do_rootfs or not related to eglibc-locale, then it is a different bug.
Comment 11 Stoicescu Cornel 2012-09-28 15:13:04 UTC
Verified under master, commit: 49649451cbe6ac3999aa337c4d9c2c622b76c178. Bitbaked core-image-lsb-sdk using qemuarm (like the original post) with a fresh build and it succeded with no error.