Source: dict-gazetteer2k Version: 1.0.0-5.2 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that dict-gazetteer2k could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, dict-gazetteer2k 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 dict-gazetteer2k.orig/dict-gazetteer2k-1.0.0/debian/rules dict-gazetteer2k/dict-gazetteer2k-1.0.0/debian/rules --- dict-gazetteer2k.orig/dict-gazetteer2k-1.0.0/debian/rules 2015-01-27 12:15:09.178630836 +0000 +++ dict-gazetteer2k/dict-gazetteer2k-1.0.0/debian/rules 2015-01-27 12:19:20.241716434 +0000 @@ -10,6 +10,7 @@ PYTHON=python BASENAMES=places counties zips +BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date) ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g @@ -38,6 +39,8 @@ $(PYTHON) zipswriter.py $(PYTHON) placeswriter.py $(PYTHON) countieswriter.py + # Ensure deterministic mtime for dictzip to inherit + touch --date='$(BUILD_DATE)' *.dict dictzip *.dict touch build-stamp
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds