Source: localechooser Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale randomness X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The templates file contains randomness and locale-specific translations dependent on the host system locale. https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/localechooser.html Indices-lo.UTF-8:·1,·2,·3,·4,·5,·6,·7,·8,·9,·10,·11, ... ,·50,·51 vs. Indices-lo.UTF-8:·1,·3,·4,·5,·6,·7,·8,·9,·10,·11, ... ·50,·51,·2,·19 Choices-lo.UTF-8:·Algeria,·Angola,·Benin,·Botswana, ... Eswatini,·Ethiopia,·Gabon ... vs. Choices-lo.UTF-8:·Algeria,·ປະເທດອັງໂກລາ,·Benin,·Botswana, ... Eswatini,·ເອທິໂອເປຍ,·Gabon ... That attached patches fix this by passing --no-parallel to dh (parallism was probably introduced in the switch from debhelper compat 9 to 13), and by exporting LC_ALL=C.UTF-8 in debian/rules. Thanks for maintaining localechooser! live well, vagrant
From 29d0987352263aa2ebedf89c558ff2868dd777d4 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 31 Aug 2022 01:04:15 +0000 Subject: [PATCH 1/2] debian/rules: Disable parallelism for reproducible build. --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 00100dd0..1eefc5fa 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,7 @@ #! /usr/bin/make -f %: - dh $@ + # Avoid parallelism triggering reproducibility issues + dh $@ --no-parallel PACKAGE=localechooser -- 2.30.2
From 52ec1950fbeb4af707991b38556438b2e1296133 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Wed, 31 Aug 2022 01:04:41 +0000 Subject: [PATCH 2/2] debian/rules: Run the build with the C.UTF-8 locale for reproducible build. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 1eefc5fa..62c0230d 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,9 @@ else # run after network-console for s390 MENUITEMNUM=2110 endif +# Avoid locale-specific reproducibility issues +export LC_ALL=C.UTF-8 + override_dh_clean: rm -rf debian/pobuild debian/iso-codes debian/short-tmp rm -rf debian/locales debian/sort-tmp -- 2.30.2
signature.asc
Description: PGP signature