* [PATCH v1] glibc-locale: work around host-user-contaminated QA failure @ 2022-06-16 5:54 Muhammad Hamza 2022-06-16 5:59 ` [OE-core] " Jacob Kroon 2022-06-16 10:23 ` Richard Purdie 0 siblings, 2 replies; 4+ messages in thread From: Muhammad Hamza @ 2022-06-16 5:54 UTC (permalink / raw) To: openembedded-core; +Cc: Muhammad Hamza, Christopher Larson Work around long standing periodic host-user-contaminated QA failure by explicitly correcting the ownership. See `glibc-locale: Rewrite do_install using install utility instead of cp` on the oe-core mailing list for discussion. This should be dropped when a real fix is implemented. Explicitly disable host-user-contaminated to further work around the pseudo bug. With pseudo acting up, even if the ownership is correct, it may well think it is not, so just sidestep the issue until upstream fixes the root cause. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> --- meta/recipes-core/glibc/glibc-locale.inc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc index b8de7d3192..34c178268b 100644 --- a/meta/recipes-core/glibc/glibc-locale.inc +++ b/meta/recipes-core/glibc/glibc-locale.inc @@ -69,6 +69,23 @@ FILES:localedef = "${bindir}/localedef" LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" +# Work around long standing periodic host-user-contaminated QA failure by +# explicitly correcting the ownership. +# +# See `glibc-locale: Rewrite do_install using install utility instead of cp` +# on the oe-core mailing list for discussion. This should be dropped when +# a real fix is implemented. + +do_prep_locale_tree_append () { + chown -R root:root $treedir +} + +# Explicitly disable host-user-contaminated to further work around the +# pseudo bug. With pseudo acting up, even if the ownership is correct, +# it may well think it is not, so just sidestep the issue until upstream +# fixes the root cause. +ERROR_QA_remove = "host-user-contaminated" + copy_locale_files() { local dir=$1 mode=$2 -- 2.25.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [OE-core] [PATCH v1] glibc-locale: work around host-user-contaminated QA failure 2022-06-16 5:54 [PATCH v1] glibc-locale: work around host-user-contaminated QA failure Muhammad Hamza @ 2022-06-16 5:59 ` Jacob Kroon 2022-06-16 10:23 ` Richard Purdie 1 sibling, 0 replies; 4+ messages in thread From: Jacob Kroon @ 2022-06-16 5:59 UTC (permalink / raw) To: Muhammad Hamza, openembedded-core; +Cc: Christopher Larson On 6/16/22 07:54, Muhammad Hamza wrote: > Work around long standing periodic host-user-contaminated QA failure by > explicitly correcting the ownership. > > See `glibc-locale: Rewrite do_install using install utility instead of cp` > on the oe-core mailing list for discussion. This should be dropped when > a real fix is implemented. > > Explicitly disable host-user-contaminated to further work around the > pseudo bug. With pseudo acting up, even if the ownership is correct, it > may well think it is not, so just sidestep the issue until upstream > fixes the root cause. > > Signed-off-by: Christopher Larson <chris_larson@mentor.com> > > Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> > --- > meta/recipes-core/glibc/glibc-locale.inc | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc > index b8de7d3192..34c178268b 100644 > --- a/meta/recipes-core/glibc/glibc-locale.inc > +++ b/meta/recipes-core/glibc/glibc-locale.inc > @@ -69,6 +69,23 @@ FILES:localedef = "${bindir}/localedef" > > LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" > > +# Work around long standing periodic host-user-contaminated QA failure by > +# explicitly correcting the ownership. > +# > +# See `glibc-locale: Rewrite do_install using install utility instead of cp` > +# on the oe-core mailing list for discussion. This should be dropped when > +# a real fix is implemented. > + > +do_prep_locale_tree_append () { > + chown -R root:root $treedir > +} > + > +# Explicitly disable host-user-contaminated to further work around the > +# pseudo bug. With pseudo acting up, even if the ownership is correct, > +# it may well think it is not, so just sidestep the issue until upstream > +# fixes the root cause. > +ERROR_QA_remove = "host-user-contaminated" > + > copy_locale_files() { > local dir=$1 mode=$2 > > Given the append/remove override syntax used here, I guess this patch is aimed at an older Yocto release, and shouldn't be necessary for master ? Jacob ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core] [PATCH v1] glibc-locale: work around host-user-contaminated QA failure 2022-06-16 5:54 [PATCH v1] glibc-locale: work around host-user-contaminated QA failure Muhammad Hamza 2022-06-16 5:59 ` [OE-core] " Jacob Kroon @ 2022-06-16 10:23 ` Richard Purdie 2022-06-16 12:23 ` Hamza, Muhammad 1 sibling, 1 reply; 4+ messages in thread From: Richard Purdie @ 2022-06-16 10:23 UTC (permalink / raw) To: Muhammad Hamza, openembedded-core; +Cc: Christopher Larson On Thu, 2022-06-16 at 10:54 +0500, Muhammad Hamza wrote: > Work around long standing periodic host-user-contaminated QA failure by > explicitly correcting the ownership. > > See `glibc-locale: Rewrite do_install using install utility instead of cp` > on the oe-core mailing list for discussion. This should be dropped when > a real fix is implemented. > > Explicitly disable host-user-contaminated to further work around the > pseudo bug. With pseudo acting up, even if the ownership is correct, it > may well think it is not, so just sidestep the issue until upstream > fixes the root cause. > > Signed-off-by: Christopher Larson <chris_larson@mentor.com> > > Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> > --- > meta/recipes-core/glibc/glibc-locale.inc | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc > index b8de7d3192..34c178268b 100644 > --- a/meta/recipes-core/glibc/glibc-locale.inc > +++ b/meta/recipes-core/glibc/glibc-locale.inc > @@ -69,6 +69,23 @@ FILES:localedef = "${bindir}/localedef" > > LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" > > +# Work around long standing periodic host-user-contaminated QA failure by > +# explicitly correcting the ownership. > +# > +# See `glibc-locale: Rewrite do_install using install utility instead of cp` > +# on the oe-core mailing list for discussion. This should be dropped when > +# a real fix is implemented. > + > +do_prep_locale_tree_append () { > + chown -R root:root $treedir > +} > + > +# Explicitly disable host-user-contaminated to further work around the > +# pseudo bug. With pseudo acting up, even if the ownership is correct, > +# it may well think it is not, so just sidestep the issue until upstream > +# fixes the root cause. > +ERROR_QA_remove = "host-user-contaminated" > + > copy_locale_files() { > local dir=$1 mode=$2 At a quick search I couldn't find the email you reference so it probably isn't recent. As Jacob mentions, this syntax is invalid for master. Was this not fixed properly by something like: https://git.yoctoproject.org/poky/commit/?id=2e75c084f2cfe7617de3b9a4b006caa3fee687a6 ? We're definitely not taking this without more details on what is going on and a correct patch as this looks like a workaround. Cheers, Richard ^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [OE-core] [PATCH v1] glibc-locale: work around host-user-contaminated QA failure 2022-06-16 10:23 ` Richard Purdie @ 2022-06-16 12:23 ` Hamza, Muhammad 0 siblings, 0 replies; 4+ messages in thread From: Hamza, Muhammad @ 2022-06-16 12:23 UTC (permalink / raw) To: Richard Purdie, openembedded-core@lists.openembedded.org, Jacob Kroon Cc: Larson, Chris Hello, my bad, yes these changes are on some older branch and don't need upstream. Thanks, Hamza -----Original Message----- From: Richard Purdie <richard.purdie@linuxfoundation.org> Sent: Thursday, June 16, 2022 3:23 PM To: Hamza, Muhammad <Muhammad_Hamza@mentor.com>; openembedded-core@lists.openembedded.org Cc: Larson, Chris <Chris_Larson@mentor.com> Subject: Re: [OE-core] [PATCH v1] glibc-locale: work around host-user-contaminated QA failure On Thu, 2022-06-16 at 10:54 +0500, Muhammad Hamza wrote: > Work around long standing periodic host-user-contaminated QA failure > by explicitly correcting the ownership. > > See `glibc-locale: Rewrite do_install using install utility instead of > cp` on the oe-core mailing list for discussion. This should be dropped > when a real fix is implemented. > > Explicitly disable host-user-contaminated to further work around the > pseudo bug. With pseudo acting up, even if the ownership is correct, > it may well think it is not, so just sidestep the issue until upstream > fixes the root cause. > > Signed-off-by: Christopher Larson <chris_larson@mentor.com> > > Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> > --- > meta/recipes-core/glibc/glibc-locale.inc | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/meta/recipes-core/glibc/glibc-locale.inc > b/meta/recipes-core/glibc/glibc-locale.inc > index b8de7d3192..34c178268b 100644 > --- a/meta/recipes-core/glibc/glibc-locale.inc > +++ b/meta/recipes-core/glibc/glibc-locale.inc > @@ -69,6 +69,23 @@ FILES:localedef = "${bindir}/localedef" > > LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" > > +# Work around long standing periodic host-user-contaminated QA > +failure by # explicitly correcting the ownership. > +# > +# See `glibc-locale: Rewrite do_install using install utility instead > +of cp` # on the oe-core mailing list for discussion. This should be > +dropped when # a real fix is implemented. > + > +do_prep_locale_tree_append () { > + chown -R root:root $treedir > +} > + > +# Explicitly disable host-user-contaminated to further work around > +the # pseudo bug. With pseudo acting up, even if the ownership is > +correct, # it may well think it is not, so just sidestep the issue > +until upstream # fixes the root cause. > +ERROR_QA_remove = "host-user-contaminated" > + > copy_locale_files() { > local dir=$1 mode=$2 At a quick search I couldn't find the email you reference so it probably isn't recent. As Jacob mentions, this syntax is invalid for master. Was this not fixed properly by something like: https://git.yoctoproject.org/poky/commit/?id=2e75c084f2cfe7617de3b9a4b006caa3fee687a6 ? We're definitely not taking this without more details on what is going on and a correct patch as this looks like a workaround. Cheers, Richard ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-16 12:23 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-06-16 5:54 [PATCH v1] glibc-locale: work around host-user-contaminated QA failure Muhammad Hamza 2022-06-16 5:59 ` [OE-core] " Jacob Kroon 2022-06-16 10:23 ` Richard Purdie 2022-06-16 12:23 ` Hamza, Muhammad
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.