Bug#787997: scotch: please make the build reproducible

Dhole dhole at openmailbox.org
Sun Jun 7 15:59:32 UTC 2015


Source: scotch
Version: 5.1.12b.dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that scotch could not be built reproducibly.

The attached patch removes extra timestamps from the gzip files. Once
applied, scotch can be built reproducibly in our current experimental
framework.

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

-- 
Dhole
-------------- next part --------------
diff --git a/scotch-5.1.12b.dfsg/debian/rules b/scotch-5.1.12b.dfsg/debian/rules
index 1b5dd0d..c1364cd 100755
--- a/scotch-5.1.12b.dfsg/debian/rules
+++ b/scotch-5.1.12b.dfsg/debian/rules
@@ -117,7 +117,7 @@ install: build
 	cp debian/ptscotch_esmumps.1 int/share/man/man1	
 #	Fix lintian warnings
 	for file in $(shell ls int/bin); do \
-	   (cd int/share/man/man1 && gzip -9 $$file.1); \
+	   (cd int/share/man/man1 && gzip -9n $$file.1); \
 	done
 
 	for file in $(shell ls int/bin); do \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150607/65987a2d/attachment.sig>


More information about the debian-science-maintainers mailing list