From 843409b8bd325ed12c1a7a6eb2dae69355416fa9 Mon Sep 17 00:00:00 2001 From: Emanuele Aina Date: Mon, 12 Apr 2021 12:10:17 +0200 Subject: Force locale to C.UTF-8 Multiple packages have run into build failures on our OBS. On closer inspection, it was concluded to be issues with the locale settings. These issues were never seen on the Debian buildd infrastructure because there the locale setting LC_ALL=C.UTF-8 is in use. This change keeps us closer to what is used in Debian buildds. https://github.com/openSUSE/obs-build/pull/665 Signed-off-by: Emanuele Aina Gbp-Pq: Name 0013-Force-locale-to-C.UTF-8.patch --- build-pkg-deb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-pkg-deb b/build-pkg-deb index 1042b24..3cdf767 100644 --- a/build-pkg-deb +++ b/build-pkg-deb @@ -37,7 +37,7 @@ deb_chroot () cd $1 && DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical \ DEBCONF_NONINTERACTIVE_SEEN=true \ - LC_ALL=C LANGUAGE=C LANG=C \ + LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 LANG=C.UTF-8 \ chroot $* ) } -- cgit v1.2.3