Bug#846647: tinyeartrainer: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Dec 2 22:47:13 UTC 2016


Source: tinyeartrainer
Version: 0.1.0-3
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 tinyeartrainer could not be built reproducibly.

(This is due to iterating over the filesystem without sorting the
results.)

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/setup.py	2016-12-02 22:40:12.585847669 +0000
--- b/setup.py	2016-12-02 22:46:06.937242061 +0000
@@ -30,7 +30,7 @@
             for counter in xrange(len(outputs)):
                 outputs[counter] = outputs[counter][root_len:]
         self.execute(write_file,
-                (install_info, outputs),
+                (install_info, sorted(outputs)),
                 "writing install-info to '%s'" % install_info)
 
 


More information about the Reproducible-bugs mailing list