[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1018802: marked as done (localechooser: reproducible builds: locale and parallelism trigger reproducibility issues)



Your message dated Thu, 01 Sep 2022 09:25:29 +0000
with message-id <E1oTgS1-001u0i-Ft@fasolo.debian.org>
and subject line Bug#1018802: fixed in localechooser 2.98
has caused the Debian Bug report #1018802,
regarding localechooser: reproducible builds: locale and parallelism trigger reproducibility issues
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1018802: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018802
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: localechooser
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale randomness
X-Debbugs-Cc: reproducible-bugs@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 <vagrant@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 <vagrant@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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: localechooser
Source-Version: 2.98
Done: Philip Hands <phil@hands.com>

We believe that the bug you reported is fixed in the latest version of
localechooser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1018802@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Philip Hands <phil@hands.com> (supplier of updated localechooser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 01 Sep 2022 10:18:21 +0200
Source: localechooser
Architecture: source
Version: 2.98
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philip Hands <phil@hands.com>
Closes: 1018802
Changes:
 localechooser (2.98) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Vagrant Cascadian ]
   * fix reproducibility issues (closes:1018802)
Checksums-Sha1:
 ced8e581cf8c0b724a7fec38cda9dd9c3ae181c4 1811 localechooser_2.98.dsc
 1410ea72f3ae18e9f88c838df26d2c544f831a98 182776 localechooser_2.98.tar.xz
Checksums-Sha256:
 95536d3a652d734f6213eeb9376b1d04f2b1ac00dc9c339a3784ab4e29a4b1b3 1811 localechooser_2.98.dsc
 9f96905d49f0bed07aebf7010ce7b49f33dc0f2239bcce07b4add0005c615062 182776 localechooser_2.98.tar.xz
Files:
 736ac8f62158da33feef1e8f3190ded4 1811 debian-installer optional localechooser_2.98.dsc
 d95d14f757b83ecd6caa000215f4867e 182776 debian-installer optional localechooser_2.98.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEE3/FBWs4yJ/zyBwfW0EujoAEl1cAFAmMQa8UPHHBoaWxAaGFu
ZHMuY29tAAoJENBLo6ABJdXAYzsQAKD4Nk9xxOPvHTDLrA0gOTrSXAis7cTXbMc1
Ow6X7bEx8VgVoXu7YjmoGPfljaO3F0pKJRx5eOkKMwj2zZLBsshX13z2B9DDgpv8
p98HHTj4nEj2+V/BhVNOpIjxYpyrd1zVZTtPCPfLBoXSoTG38QXMN8CbHNCZzJYj
zTIthxLwAilodxmlQMrjxkEBWDKlinp5LP3TXXDbIOoOpJo/v9nWLZOI5AkA4KWq
1ZMi7HsV9k/iPQ+F2iA/fmtIJPlMcKTBSHWGT/VRyilDI0lXeqsut5zdPoEOJYpC
BSW4xBwFG6BT71ONt5gRF4+KoKj6GbJvbTT18Wvs2bRmclp/7NOiQSc7XoRNvH2e
mcEHwN0MzeK0QbOv1zjFo/qlbkgsN3XZfj5jStNzwQTBCcjOp4GFWyggxAT4L/WC
xMXTfCJGO8h/rT4IolyScf9ySEbvVciPogJMaEnbdNR4iQ9oGQPz7g5jJKRF8qR3
d/tsGgsvrGR/TMkd9XD+FF+ViajAEK2QvS7pFv+U/W30SjGizEK8f3iWD/oU3355
JXvKWDJeoigiFA37qD2Vvi3x8rMbmzz3ESO08QqZcNCsMOEOcMilBNgkdb8ibvVN
hW3amdWTMae4PjnFnDSSUL16v+W9/+tamMzK6E3mEj/0pLRYw0BOqTTN21LrRN5l
Ac4mXc0d
=wUZv
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: