Source: cxref Severity: minor Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Some locales (e.g. potentially obscure locales used by reprotest) may cause sort order reproducibility issues with the file /usr/share/cxref/cxref-cpp.defines. The attached patch fixes this by exporting LC_ALL=C.UTF-8 from debian/rules. Thanks for maintaining cxref! live well, vagrant
From cbafe4e3eee67e6a8941d7ef532e41e64883ff66 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Fri, 8 Oct 2021 19:41:31 +0000 Subject: [PATCH 4/4] debian/rules: Force building in C.UTF-8 locale. Some obscure locales (e.g. those used by reprotest) trigger reproducibility issues. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 55c313d..2921184 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,9 @@ DPKG_EXPORT_BUILDFLAGS=1 # Ensure texlive respects SOURCE_DATE_EPOCH export FORCE_SOURCE_DATE=1 +# Force locale to avoid differences when building with obscure locales +export LC_ALL=C.UTF-8 + include /usr/share/dpkg/buildflags.mk build: build-arch build-indep -- 2.33.0
signature.asc
Description: PGP signature