[OE-core] [PATCH] staging: Handle races between binaries and their libs

Richard Purdie richard.purdie at linuxfoundation.org
Fri Feb 14 14:50:56 UTC 2020


On Fri, 2020-02-14 at 06:46 -0800, Khem Raj wrote:
> On Fri, Feb 14, 2020 at 5:03 AM Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
> > There is a long standing issue where a binary could be installed
> > into the
> > sysroot before its library dependencies. We've always argued
> > nothing should
> > use the binary until its been installed by a dependency but there
> > are issues
> > around binaries which conflict with the host system, for example
> > patch,
> > python3, gzip and more.
> > 
> > With the recent patch changes we've see issues like:
> > ERROR: gdb-cross-canadian-powerpc-8.3.1-r0 do_patch: Command Error:
> > 'quilt --quiltrc /home/pokybuild/yocto-
> > worker/qemuppc/build/build/tmp/work/x86_64-nativesdk-pokysdk-
> > linux/gdb-cross-canadian-powerpc/8.3.1-r0/recipe-sysroot-
> > native/etc/quiltrc push' exited with 0  Output:
> > Applying patch 0009-Change-order-of-CFLAGS.patch
> > patch: /lib64/libattr.so.1: version `ATTR_1.3' not found (required
> > by patch)
> > Patch 0009-Change-order-of-CFLAGS.patch does not apply (enforce
> > with -f)
> > 
> > which is a symptom of this issue (libattr-native is a dependency of
> > patch-native).
> > 
> 
> ah so this was the problem I wondered

Its one problem we're seeing, I'm still not sure those two other
patches of yours apply cleanly though... :/

Cheers,

Richard



More information about the Openembedded-core mailing list