Package: jansson Version: 2.7-3 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps
Hi! While working on the "reproducible builds" effort [1], we have noticed that jansson could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, jansson can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -urNp jansson-2.7.old/debian/rules jansson-2.7/debian/rules --- jansson-2.7.old/debian/rules 2015-06-23 08:11:19.000000000 -0300 +++ jansson-2.7/debian/rules 2015-06-24 00:19:44.637089407 -0300 @@ -1,11 +1,15 @@ #!/usr/bin/make -f +LAST_CHANGE = $(shell dpkg-parsechangelog -S Date) +BUILD_DATE = $(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") +SPHINXOPTS := -D today=\"$(BUILD_DATE)\" + %: dh $@ --with=autoreconf,sphinxdoc override_dh_auto_build: dh_auto_build - $(MAKE) html + $(MAKE) html SPHINXOPTS="$(SPHINXOPTS)" override_dh_strip: dh_strip --dbg-package=libjansson-dbg
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds