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 ########
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.
Resolved in master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=6ea6facd662fd7127c1cd8479eb67cf0ba71476c
I tested denzil branch with commit 2c3d4f5beee8f57a74244495511b9294df1085ea, the bug is fixed now.