From: Alexander Kanavin <[email protected]>

selftests/locales tests configure glibc-locales to produce a restricted set,
and build core-image-minimal. This is problematic if something in
the dependency chain of that image relies on locales not in that set.

Until now, by coincidence, nothing did, but recent version updates
(particularly, json-c which relies on xxd in its ptest) pull in glib-2.0,
which for its ptest requires various locales not in the set. This causes
package_qa errors.

To address this particular error, and to minimize chances of it happening
again, let's build images for this selftest without ptest enabled; typically
only ptests want locales.

Signed-off-by: Alexander Kanavin <[email protected]>
---
 meta/lib/oeqa/selftest/cases/locales.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/lib/oeqa/selftest/cases/locales.py 
b/meta/lib/oeqa/selftest/cases/locales.py
index ac4888ef66..9f04db2129 100644
--- a/meta/lib/oeqa/selftest/cases/locales.py
+++ b/meta/lib/oeqa/selftest/cases/locales.py
@@ -16,6 +16,7 @@ class LocalesTest(OESelftestTestCase):
         features.append('IMAGE_INSTALL:append = " glibc-utils localedef"')
         features.append('GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fr_FR.UTF-8 
en_US.ISO-8859-1 de_DE.UTF-8 fr_FR.ISO-8859-1 zh_HK.BIG5-HKSCS tr_TR.UTF-8"')
         features.append('IMAGE_LINGUAS:append = " en-us fr-fr"')
+        features.append('DISTRO_FEATURES_OPTED_OUT += "ptest"')
         if binary_enabled:
             features.append('ENABLE_BINARY_LOCALE_GENERATION = "1"')
         else:
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240287): 
https://lists.openembedded.org/g/openembedded-core/message/240287
Mute This Topic: https://lists.openembedded.org/mt/120143420/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to