[OE-core] [PATCH 1/3] dbus-test: Fix QA host-contamination errors
Khem Raj
raj.khem at gmail.com
Sun Mar 1 08:12:05 UTC 2020
On Sat, Feb 29, 2020 at 11:57 PM Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:
> On Sat, 2020-02-29 at 17:42 -0800, Khem Raj wrote:
> > Errors like below are fixed
> >
> > bus/connection.h is owned by uid 1000, which is the same as t
> > he user running bitbake. This may be due to host contamination
> >
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > ---
> > meta/recipes-core/dbus/dbus-test_1.12.16.bb | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Why aren't we seeing this everywhere? The autobuilders don't show it
> and no other reports. What is unique to your setup to reproduce this?
These are QA warnings by default and in my distro I turned it into error so
they were being reported before too
Secondly this is a Debian10 minimum container running in docker where the
user id is 1000 for the build user other than that there is nothing special
>
>
> Cheers,
>
> Richard
>
> > diff --git a/meta/recipes-core/dbus/dbus-test_1.12.16.bb
> > b/meta/recipes-core/dbus/dbus-test_1.12.16.bb
> > index bea0e74ed0..91e2ba69d2 100644
> > --- a/meta/recipes-core/dbus/dbus-test_1.12.16.bb
> > +++ b/meta/recipes-core/dbus/dbus-test_1.12.16.bb
> > @@ -70,11 +70,11 @@ do_install_ptest() {
> >
> > install ${B}/test/test-segfault ${D}${PTEST_PATH}/test
> >
> > - cp -r ${B}/test/data ${D}${PTEST_PATH}/test
> > + cp -R --no-dereference --preserve=mode,links ${B}/test/data
> > ${D}${PTEST_PATH}/test
> > install ${B}/dbus/.libs/test-dbus ${D}${PTEST_PATH}/test
> >
> > install -d ${D}${PTEST_PATH}/test/.libs
> > - cp -a ${B}/dbus/.libs/*.so* ${D}${PTEST_PATH}/test/.libs
> > + cp -R --no-dereference --preserve=mode,links
> > ${B}/dbus/.libs/*.so* ${D}${PTEST_PATH}/test/.libs
> >
> > # Remove build host references...
> > find "${D}${PTEST_PATH}/test/data" \( -name *.service -o -name
> > *.conf -o -name "*.aaprofile" \) -type f -exec \
> > --
> > 2.25.1
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20200301/f1a27c79/attachment.html>
More information about the Openembedded-core
mailing list