diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2024-10-02 16:54:51 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-25 16:53:08 +0000 |
commit | bd9fef71ec005be3c3a6d7f8b99d8116daf70c4f (patch) | |
tree | 3e176d4d31f2e32a10222d2d6e0bf228a5ccc5b4 /lib/oeqa/sdkmingw/testsdk.py | |
parent | acbba477893ef87388effc4679b7f40ee49fc852 (diff) | |
download | meta-mingw-scarthgap.tar.gz |
oeqa: Set LANG in wine testsyocto-5.0.9yocto-5.0.8scarthgap-5.0.9scarthgap-5.0.8scarthgap
Glib likes to try and determine the local name using the Windows
GetConsoleOutputCP(), which doesn't work well running under wine in our
test cases (it seems to be linked to stdin not being a terminal).
This results in the error message:
GLib-WARNING (recursed) **: Failed to determine console output code page: Invalid access.. Falling back to UTF-8
and then Glib falls back to the locale "UTF-8", which is invalid and the
program will likely crash.
In particular, pkg-config seems to be sensitive to this on some hosts
(e.g. Ubuntu 24.04)
Set the LANG variable to a valid language to make sure that this
codepath in Glib is not triggered.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/oeqa/sdkmingw/testsdk.py')
0 files changed, 0 insertions, 0 deletions