From 9b277b4d04d0acc2784024e0fda621ad2f1d9679 Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 12 Jul 2024 10:17:17 -0500 Subject: [PATCH] libxcb: Set well-known locale for build --- var/spack/repos/builtin/packages/libxcb/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/libxcb/package.py b/var/spack/repos/builtin/packages/libxcb/package.py index 1f11a79ef9..3210159024 100644 --- a/var/spack/repos/builtin/packages/libxcb/package.py +++ b/var/spack/repos/builtin/packages/libxcb/package.py @@ -57,3 +57,6 @@ def configure_args(self): def patch(self): filter_file("typedef struct xcb_auth_info_t {", "typedef struct {", "src/xcb.h") + + def setup_build_environment(self, env): + env.set('LC_ALL', 'en_US.UTF-8') # set well defined locae; see: https://www.linuxfromscratch.org/blfs/view/git/x/libxcb.html