Source: alot Version: 0.3.6-1 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 alot could not be built reproducibly. The attached patch removes extra timestamps from the build system when creating the source archive. Once applied, alot can be built reproducibly in our current experimental framework. [1]: https://wiki.debian.org/ReproducibleBuilds -- System Information: Debian Release: stretch/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -rupN alot-0.3.6.old/debian/rules alot-0.3.6/debian/rules --- alot-0.3.6.old/debian/rules 2014-08-22 06:52:14.000000000 -0300 +++ alot-0.3.6/debian/rules 2015-05-07 11:35:52.565732248 -0300 @@ -1,4 +1,6 @@ #!/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)") %: dh $@ --with python2,sphinxdoc @@ -6,7 +8,7 @@ override_dh_auto_build: dh_auto_build rm -rf $(CURDIR)/docs/build - $(MAKE) -C docs html man + $(MAKE) -C docs html man SPHINXOPTS="-D today=\"$(BUILD_DATE)\"" override_dh_auto_install: dh_auto_install -- --install-lib=/usr/share/alot/
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds