Source: isa-support
Version: 1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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";

Reply via email to