Bug 2214 - [multilib] lib32/lib64 sato build failed due to lack of libc6
Summary: [multilib] lib32/lib64 sato build failed due to lack of libc6
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High major
Target Milestone: 1.2 M4
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard: (1.2) Working, Apr12, 2012
Depends on:
Blocks:
 
Reported: 2012-03-31 08:43 UTC by Jiajun Xu
Modified: 2012-04-19 15:25 UTC (History)
5 users (show)

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


Attachments
full log file (80.60 KB, text/plain)
2012-03-31 08:43 UTC, Jiajun Xu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2012-03-31 08:43:05 UTC
Created attachment 424 [details]
full log file

tree/branch: poky/1.2_M4
commit: da6233ea034f35eff59306fdad31f318c340c359

With 1.2 M4, both lib32-core-image-sato and lib64-core-image-sato will fail during do_rootfs with error message that "libc6 is needed by eglibc-locale-en-gb-2.13-r22+svnr15508.x86_64". Detailed error message as below:


########
error: Failed dependencies:
        libc6 is needed by eglibc-locale-en-gb-2.13-r22+svnr15508.x86_64
log_check: Using /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/temp/log.do_rootfs.13606 as logfile
log_check: There were error messages in the logfile
log_check: Matched keyword: [ERR]

libxdmcp6                   ##################################################
libexpat1                   ##################################################
libfreetype6                ##################################################
libpixman-1-0               ##################################################
libpython2.7-1.0            ##################################################
libgpg-error0               ##################################################
libcap2                     ##################################################
libgcc-s1                   ##################################################
libavahi-common3            ##################################################
libogg0                     ##################################################
libcrypto1.0.0              ##################################################
--
libxml2                     ##################################################
libusb-compat               ##################################################
bash                        ##################################################
update-alternatives: Linking /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//bin/sh to /bin/bash
procps                      ##################################################
update-alternatives: Error: not linking /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/top to /usr/bin/top.lib32-procps since /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/top exists and is not a link
update-alternatives: Error: not linking /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/uptime to /usr/bin/uptime.lib32-procps since /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/uptime exists and is not a link
update-alternatives: Error: not linking /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/free to /usr/bin/free.lib32-procps since /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/free exists and is not a link
update-alternatives: Error: not linking /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/pkill to /usr/bin/pkill.lib32-procps since /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/pkill exists and is not a link
update-alternatives: Error: not linking /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/pmap to /usr/bin/pmap.lib32-procps since /home/jxu49/osel/m4/lib32-sato-qemux86-64/tmp/work/qemux86_64-poky-linux/lib32-core-image-sato-1.0-r0/rootfs//usr/bin/pmap exists and is not a link
########
Comment 1 Richard Purdie 2012-04-14 17:03:22 UTC
There are two errors in the logfile. The fatal error was:

WARNING: useradd command did not succeed. Retrying...
WARNING: useradd command did not succeed. Retrying...
WARNING: useradd command did not succeed. Retrying...
WARNING: useradd command did not succeed. Retrying...
WARNING: useradd command did not succeed. Retrying...
ERROR: tried running useradd command 10 times without success, giving up

which was fixed in bug 2218. The other alternatives errors are not fatal but none the less should be fixed. They are caused because procpc isn't using update-alternatives correctly.
Comment 3 Jiajun Xu 2012-04-19 15:25:01 UTC
I tested denzil branch with commit 2c3d4f5beee8f57a74244495511b9294df1085ea, the bug is fixed now.