Source: dutch
Version: 1:2.10-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

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

This is caused by the call to grep in the "convert" script detecting
binary data under some locales and generating a file with (in LC_ALL=C)
"Binary file (standard input) matches" instead of the actual content.

The attached patch fixes this issue by passing "-a" to grep. Once
applied, dutch can be built reproducibly using our reproducible
toolchain.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/convert b/convert
index beea7b1..9351ad4 100644
--- a/convert
+++ b/convert
@@ -102,7 +102,7 @@ munchlist -l $ISPELL_AFF -v -w "&'\`-_" $LATIN1FIXEDLIST > 
$LATIN1ISPELL
 gzip -9nf $LATIN1ISPELL
 
 # aspell
-grep -v "[0-9 \.'\+]" $LATIN1FIXEDLIST > $LATIN1ASPELL.wl
+grep -av "[0-9 \.'\+]" $LATIN1FIXEDLIST > $LATIN1ASPELL.wl
 prezip $LATIN1ASPELL.wl
 gzip -9nf $LATIN1ASPELL.cwl
 
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to