Source: last-align
Severity: minor
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Some very obscure locales used by reprotest (e.g. kk_KZ.RK1048), trigger
build failures.

The attached patch to debian/rules fixes this by exporting LC_ALL and
LANG to use C.UTF-8.


Thanks for maintaining last-align!


live well,
  vagrant
From e9c8247f6c20c3e74874e531023c2ff68cf39a17 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Tue, 11 Jan 2022 00:17:47 +0000
Subject: [PATCH 2/2] debian/rules: export LC_ALL and LANG to use C.UTF-8.

This fixes build failures triggered by very obscure locales used by
reprotest (e.g. kk_KZ.RK1048).
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index f89ac6e..b34190d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 # for reproducible builds
 export SIMD_LIST = fallback-to-plain-simd
 
+export LC_ALL=C.UTF-8
+export LANG=C.UTF-8
+
 BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W "libsimde-dev")
 
 %:
-- 
2.34.1

Attachment: signature.asc
Description: PGP signature

Reply via email to