Source: jargon Version: 4.0.0-5.1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that jargon could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, jargon can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff -urNad jargon.orig/jargon-4.0.0/debian/rules jargon/jargon-4.0.0/debian/rules --- jargon.orig/jargon-4.0.0/debian/rules 2015-02-08 19:27:48.331986673 +0000 +++ jargon/jargon-4.0.0/debian/rules 2015-02-08 19:31:56.590880163 +0000 @@ -29,13 +29,13 @@ # The actual info file install -d $(INSTALLOPT) -m 755 $(INFODIR) install $(INSTALLOPT) -m 644 jarg400.info $(INFODIR)/jargon.info - gzip -9 $(INFODIR)/jargon.info + gzip -9n $(INFODIR)/jargon.info # Lookup script install -d $(INSTALLOPT) -m 755 $(DESTDIR)/usr/bin install $(INSTALLOPT) -m 755 debian/jargon $(DESTDIR)/usr/bin/jargon install -d $(INSTALLOPT) -m 755 $(MANDIR)/man1 install $(INSTALLOPT) -m 644 debian/jargon.1 $(MANDIR)/man1/jargon.1 - gzip -9 $(MANDIR)/man1/jargon.1 + gzip -9n $(MANDIR)/man1/jargon.1 # Docs install -d $(INSTALLOPT) -m 755 $(DOCDIR) install $(INSTALLOPT) -m 644 debian/jargon.html \ @@ -44,7 +44,7 @@ install $(INSTALLOPT) -m 644 debian/changelog $(DOCDIR)/changelog.Debian install $(INSTALLOPT) -m 644 debian/README.Debian $(DOCDIR)/README.Debian install $(INSTALLOPT) -m 644 jargon-README $(DOCDIR)/README - gzip -9 $(DOCDIR)/changelog.Debian $(DOCDIR)/README + gzip -9n $(DOCDIR)/changelog.Debian $(DOCDIR)/README # Control files install -d $(INSTALLOPTS) -m 755 $(DESTDIR)/DEBIAN