[OE-core] [PATCH 1/7] glibc-locale: Fix host-user-contaminated QA errors

Khem Raj raj.khem at gmail.com
Sat Jul 21 17:26:56 UTC 2018

On Sat, Jul 21, 2018 at 10:03 AM Alexander Kanavin
<alex.kanavin at gmail.com> wrote:
> 2018-07-21 18:27 GMT+02:00 Khem Raj <raj.khem at gmail.com>:
> > Fixes
> >
> > ERROR: glibc-locale-2.27-r0 do_package_qa: QA Issue: glibc-locale: /glibc-binary-localedata-hy-am/usr/lib/locale/hy_AM/LC_MEASUREMENT.tmp is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
> >
> This long-standing yet elusive error has acquired something of a
> mythical status. Can you explain what was going on and how the patch
> is fixing it?

-p option to cp was preserving original ownership of these files which
is actually same as build user
we were doing chown operation but it was escaping some of these files
especially these .tmp files
aside from this, why these tmp files are left in transition needs more
investigation meanwhile this
fix makes sure that we do not preserve the ownership when installing
into staging sysroot.

> Alex

More information about the Openembedded-core mailing list