Skip to contentSkip to conversation

glibc-locale: fix QA warning

PATCH In review Armin Kuster 6 participants 9 messages Jan 31, 2016 – Apr 2, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc-locale: fix QA warning

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd-in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-locale.inc +1 -1
index df6d073..2352bd0 100644
@@ -87,7 +87,7 @@ do_install () {
 	if [ -e ${LOCALETREESRC}/${datadir}/locale ]; then
 		cp -fpPR ${LOCALETREESRC}/${datadir}/locale ${D}${datadir}
 	fi
-	chown root.root -R ${D}
+	chown root:root -R ${D}
 	cp -fpPR ${LOCALETREESRC}/SUPPORTED ${WORKDIR}
 }
 
Signature · 1 line
2.3.5
#1 lore raw

Stable branch rules [Was: Re: [PATCH][jethro] glibc-locale: fix QA warning]

Quoted 7 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd -in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Quoted 5 lines

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Enough is enough.

I cannot tell whether these patches are in master or not or whether master needs them or not. Master needs this one, its not in master, its only being proposed for jethro. Its a mess.

I am therefore not taking any more stable branch patches at all until we amend the stable branch rules to state that pull requests and patches clearly state which branches need a fix, or clearly state why they don't.

Cheers,

Richard

#2 lore raw

Re: [Openembedded-architecture] Stable branch rules [Was: Re: [PATCH][jethro] glibc-locale: fix QA warning]

Quoted 14 lines · Richard Purdie
Quoted 7 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd -in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Quoted 5 lines

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines

Enough is enough.

I cannot tell whether these patches are in master or not or whether master needs them or not. Master needs this one, its not in master, its only being proposed for jethro. Its a mess.

We should always check fix into master or ensure that master does not exhibit same problem
If master needs fix then it should flow into stable branches via master. In cases where master does not show the problem or has the isssue fixed due to some other indirect
change which is too intrusive for stable branches, a patch for stable only should be proposed.

In some cases we may offer to defer, master fixes if we are certain that another pending chnages e.g. recipe upgrades can fix it
for master, I would still recommend that we propose it for master still and recipe upgrade accounts for it later by removing this change. At least we will have a cherry-pick chance to newer stable branches.

Quoted 15 lines

I am therefore not taking any more stable branch patches at all until we amend the stable branch rules to state that pull requests and patches clearly state which branches need a fix, or clearly state why they don't.

Cheers,

Richard

_______________________________________________
Openembedded-architecture mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-architecture

#3 lore raw

Re: Stable branch rules [Was: Re: [PATCH][jethro] glibc-locale: fix QA warning]

In reply to Richard Purdie
Quoted 22 lines · Richard Purdie
Quoted 8 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd -in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the
same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Quoted 5 lines

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)

Enough is enough.

I cannot tell whether these patches are in master or not or whether master needs them or not. Master needs this one, its not in master, its
only being proposed for jethro. Its a mess.

Quoted 4 lines

I am therefore not taking any more stable branch patches at all until we amend the stable branch rules to state that pull requests and patches clearly state which branches need a fix, or clearly state why they don't.

I made an attempt at starting to documenting that requirement:
https://wiki.yoctoproject.org/wiki/index.php?title=Stable_branch_mainte
nance&diff=17480&oldid=17028

'Patches' welcome.

Regards,

Joshua

#4 lore raw

Re: Stable branch rules [Was: Re: [PATCH][jethro] glibc-locale: fix QA warning]

Quoted 28 lines · Joshua G Lock
Quoted 22 lines · Richard Purdie
Quoted 8 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd -in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the
same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Quoted 5 lines

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Enough is enough.

I cannot tell whether these patches are in master or not or whether master needs them or not. Master needs this one, its not in master, its
only being proposed for jethro. Its a mess.

Quoted 4 lines

I am therefore not taking any more stable branch patches at all until we amend the stable branch rules to state that pull requests and patches clearly state which branches need a fix, or clearly state why they don't.

Quoted 5 lines

I made an attempt at starting to documenting that requirement:
https://wiki.yoctoproject.org/wiki/index.php?title=Stable_branch_mainte
nance&diff=17480&oldid=17028

'Patches' welcome.

Does this belong on the Yocto Project or OpenEmbedded wikis? Hunting both is getting annoying.

Philip

Quoted 5 lines

Regards,

Joshua

#5 lore raw

Re: Stable branch rules [Was: Re: [PATCH][jethro] glibc-locale: fix QA warning]

Quoted 39 lines · Philip Balister
Quoted 38 lines · Joshua G Lock
Quoted 25 lines · Richard Purdie
Quoted 9 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd -in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is
the
same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Quoted 5 lines

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)

Enough is enough.

I cannot tell whether these patches are in master or not or whether
master needs them or not. Master needs this one, its not in master,
its
only being proposed for jethro. Its a mess.

Quoted 6 lines

I am therefore not taking any more stable branch patches at all until
we amend the stable branch rules to state that pull requests and patches clearly state which branches need a fix, or clearly state why
they don't.

I made an attempt at starting to documenting that requirement:
https://wiki.yoctoproject.org/wiki/index.php?title=Stable_branch_ma
inte
nance&diff=17480&oldid=17028

Quoted 4 lines
Quoted 1 line

'Patches' welcome.

Does this belong on the Yocto Project or OpenEmbedded wikis? Hunting both is getting annoying.

I edited the guidelines where they currently exist. I'll be more than happy to move this to the OE wiki, but I'd rather do that once we have something that people can agree.

Regards,

Joshua

#6 lore raw
In reply to Armin Kuster
Quoted 3 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd-in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

FWIW: my last bitbke world build shows few of these:
glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-ka-ge/usr/lib/locale/ka_GE/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-mr-in/usr/lib/locale/mr_IN/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-ru-ua/usr/lib/locale/ru_UA/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Even with your change already in master.

Quoted 27 lines

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-locale.inc +1 -1
index df6d073..2352bd0 100644
@@ -87,7 +87,7 @@ do_install () {
 	if [ -e ${LOCALETREESRC}/${datadir}/locale ]; then
 		cp -fpPR ${LOCALETREESRC}/${datadir}/locale ${D}${datadir}
 	fi
-	chown root.root -R ${D}
+	chown root:root -R ${D}
 	cp -fpPR ${LOCALETREESRC}/SUPPORTED ${WORKDIR}
 }
 
Signature · 7 lines
2.3.5

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#7 lore raw
Quoted 22 lines · Martin Jansa
Quoted 6 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd -in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

FWIW: my last bitbke world build shows few of these:
glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-ka -ge/usr/lib/locale/ka_GE/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-mr -in/usr/lib/locale/mr_IN/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-ru -ua/usr/lib/locale/ru_UA/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Quoted 1 line

Even with your change already in master.

I do wonder if this might be a pseudo issue which we fixed in master. The trouble is that whilst master is working better, there is a bigger rewrite/fixup of some pseudo code planned for 2.2 so even with master, its not "properly" fixed yet. Master would error more clearly and hasn't shown errors in recent builds though.

Cheers,

Richard

#9 lore raw
In reply to a message not in the archive
Quoted 14 lines · akuster
Quoted 10 lines · Martin Jansa
Quoted 3 lines · Armin Kuster

From: Armin Kuster <[email protected]>

WARNING: QA Issue: glibc-locale: /glibc-binary-localedata-sd-in/usr/lib/locale/sd_IN/LC_CTYPE is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

FWIW: my last bitbke world build shows few of these:
glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-ka-ge/usr/lib/locale/ka_GE/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-mr-in/usr/lib/locale/mr_IN/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated] glibc-locale-2.23: glibc-locale: /glibc-binary-localedata-ru-ua/usr/lib/locale/ru_UA/LC_MEASUREMENT is owned by uid 3004, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

Quoted 6 lines

hmm. I have not seen those.

Quoted 2 lines

Even with your change already in master.

so are you seeing those in master or jethro ?

master

Quoted 30 lines

- armin

Quoted 28 lines
Quoted 27 lines

fix type

---
 meta/recipes-core/glibc/glibc-locale.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-locale.inc +1 -1
index df6d073..2352bd0 100644
@@ -87,7 +87,7 @@ do_install () {
 	if [ -e ${LOCALETREESRC}/${datadir}/locale ]; then
 		cp -fpPR ${LOCALETREESRC}/${datadir}/locale ${D}${datadir}
 	fi
-	chown root.root -R ${D}
+	chown root:root -R ${D}
 	cp -fpPR ${LOCALETREESRC}/SUPPORTED ${WORKDIR}
 }
 
Signature · 7 lines
2.3.5

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]