Bug#872453: isa-support: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Aug 17 15:26:00 UTC 2017


Source: isa-support
Version: 1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that isa-support could not be built reproducibly due to using
gzip without the "-n" flag.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/build	2017-08-17 08:22:39.046270938 -0700
--- b/build	2017-08-17 08:24:52.440902139 -0700
@@ -62,7 +62,7 @@
     close C;
     system("cc", "-Wall", split(/ /, $field{'CFLAGS'}//""), "-s", "test-$name.c", "-o", "test-$name")
         and die "Compile failed, aborting.\n";
-    $uue=`gzip -9 <test-$name|uuencode meow` or die "Uuencode failed.\n";
+    $uue=`gzip -9n <test-$name|uuencode meow` or die "Uuencode failed.\n";
     $uue=~s/^begin \d\d\d meow\n//s or die "Uuencode output corrupted.\n";
 
     unlink "debian/substvars";


More information about the Reproducible-bugs mailing list