]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
gettext: Force UTF-8 runtime and skip requiring ISO-8859-1
authorKhem Raj <raj.khem@gmail.com>
Fri, 22 Aug 2025 05:17:25 +0000 (22:17 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Aug 2025 16:46:38 +0000 (17:46 +0100)
commit0fe96efea084f4594df43f57e121cb2353bfafa7
tree5260a089e6bd762ca282bb9f7a37b6ac4df3da76
parent16b1fff0dc3f95d2f52106b0133133d175725d52
gettext: Force UTF-8 runtime and skip requiring ISO-8859-1

On musl, there is no real legacy (non-UTF-8) fr_FR locale.
These tests are designed for libcs that ship both fr_FR (ISO-8859-1)
and fr_FR.UTF-8. So the right thing will be to SKIP these tests

Unsetting LOCALE_FR will ensure that it does not enable ISO-8859-1
path, so reset it in run-ptest but thats not enough because it is
being set in the test's own init-env file as well so clear it in that
file as well.

Fixes
Failed ptests:
{'gettext': ['intl-2', 'intl-4', 'intl-thread-3', 'lang-sh', 'lang-bash']}

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-core/gettext/gettext_0.23.1.bb