Package: tiger
Version: 1:3.2.3-12.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: locale

Hi!

While working on the "reproducible builds" effort [0], we have noticed
that tiger could not be built reproducibly. [0]

The attached patch set the environment variable LC_COLLATE=C for the ls
command in doc/Makefile.in, which makes explain.idx vary on the locale.
Once applied, tiger should be able to build reproducibly in our current
experimental framework.

Regards,

        --dkg

[0] https://wiki.debian.org/ReproducibleBuilds
[1] 
https://reproducible.debian.net/dbd/unstable/amd64/tiger_3.2.3-12.1.debbindiff.html

diff --git a/util/genmsgidx b/util/genmsgidx
index c3316c5..d3e898f 100755
--- a/util/genmsgidx
+++ b/util/genmsgidx
@@ -101,7 +101,7 @@ haveallof variables BASEDIR || exit 1
 #    exit 1
 #}
 
-$LS $BASEDIR/doc/*.txt |
+LC_COLLATE=C.UTF-8 $LS $BASEDIR/doc/*.txt |
 while read infile 
 do
   file=`$BASENAME $infile`

Reply via email to