[poky] poky-image-sato-sdk failed at do_rootfs

Richard Purdie richard.purdie at linuxfoundation.org
Sun Jan 30 02:13:26 PST 2011


On Sat, 2011-01-29 at 17:33 -0800, Zhang, Jessica wrote:
> My poky-image-sato-sdk against the latest master is consistently
> failed at last step of do_rootfs, here's the error:
>  
>  Processing task-poky-qt-demos...
> | error: Failed dependencies:
> |  eglibc >= 2.12 is needed by libstdc++6-4.5.1-r2.armv5te
> |  eglibc >= 2.12 is needed by libgcc1-4.5.1-r0.armv5te
> | Function 'do_rootfs' failed
> (see /home/jzhang/master-arm-build/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-sdk-1.0-r0/temp/log.do_rootfs.6142 for further information)
> | ERROR: Function 'do_rootfs' failed
> (see /home/jzhang/master-arm-build/tmp/work/qemuarm-poky-linux-gnueabi/poky-image-sato-sdk-1.0-r0/temp/log.do_rootfs.6142 for further information)
> 
> Has anybody run into same issue or any idea?

This looks like a race issue we once had. Grepping the gcc include files
revealed:

gcc-configure-cross.inc:do_package_write_ipk[depends] += "virtual/libc:do_package"

which was added to address this problem. Of course now, libgcc and
libstdc++ are built by libgcc and gcc-runtime so I think the correct
approach is to make both of these dependent on the libc packaging to
finish.

This also shouldn't be ipk specific, in the modern world we can depend
on do_package_write.

The problem is that "eglibc" gets renamed to libc at package time. If
the package step hasn't run, the renaming isn't applied to the
dependencies that libgcc and libstdc++ have on libc and you see this
error. If you rebuild those packages, the image should work. Since its a
race, some builds will work, some won't. Using rm_work will make this
bug more likely to appear at a guess.

Cheers,

Richard








More information about the poky mailing list