Bug#1018802: localechooser: reproducible builds: locale and parallelism trigger reproducibility issues

Vagrant Cascadian vagrant at reproducible-builds.org
Wed Aug 31 02:15:54 BST 2022


Source: localechooser
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: locale randomness
X-Debbugs-Cc: reproducible-bugs at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Disable-parallelism-for-reproducible-bu.patch
Type: text/x-diff
Size: 599 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220830/f790f774/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Run-the-build-with-the-C.UTF-8-locale-f.patch
Type: text/x-diff
Size: 727 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220830/f790f774/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220830/f790f774/attachment.sig>


More information about the Reproducible-bugs mailing list