[Pkg-mozext-maintainers] Bug#901611: enigmail: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Jun 15 15:27:09 BST 2018


Source: enigmail
Version: 2:2.0.7-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that enigmail could not be built reproducibly.

This is because it contains the output of iterating over the
filesystem in a nondeterministic order.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
diff --git a/util/genxpi b/util/genxpi
index d104d3a..ee17d12 100755
--- a/util/genxpi
+++ b/util/genxpi
@@ -51,7 +51,7 @@ fi
 
 cd "$targetDir"
 
-find modules -name "*.js*" > modules/all-modules.txt
+find modules -name "*.js*" | LC_ALL=C sort > modules/all-modules.txt
 
 echo "Creating ${xpiFile} file"
 


More information about the Pkg-mozext-maintainers mailing list