Package: fiona Version: 1.5.0-2 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 fiona could not be built reproducibly. The attached patch removes extra timestamps from the build system. Once applied, fiona 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 -urNp fiona-1.5.0/debian/rules fiona-1.5.0.new/debian/rules --- fiona-1.5.0/debian/rules 2015-02-05 16:37:29.000000000 -0200 +++ fiona-1.5.0.new/debian/rules 2015-06-10 02:52:27.434895787 -0300 @@ -2,9 +2,11 @@ export LC_ALL=C.UTF-8 export LANG=C.UTF-8 +LAST_CHANGE=$(shell dpkg-parsechangelog -S Date) +BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") export PYBUILD_NAME=fiona -export PYBUILD_AFTER_BUILD_python2 = PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html +export PYBUILD_AFTER_BUILD_python2 = PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' sphinx-build -N -bhtml -D today="$(BUILD_DATE)" docs/ build/html export PYBUILD_TEST_NOSE=1 export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir} export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds