Source: fatresize Version: 1.0.2-7 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 fatresize could not be built reproducibly. The attached patch removes varying timestamps from the build system. Once applied, fatresize can be built reproducibly in our reproducible toolchain. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2015-08-17 17:39:52.706079625 +0200 @@ -0,0 +1,11 @@ +--- fatresize-1.0.2.orig/configure.ac ++++ fatresize-1.0.2/configure.ac +@@ -7,7 +7,7 @@ AM_CONFIG_HEADER(config.h) + AM_MAINTAINER_MODE + + dnl set some basic variables +-BUILD_DATE="`date '+%D'`" ++BUILD_DATE="`date --utc --date="$(dpkg-parsechangelog --show-field=Date)" '+%D'`" + AC_DEFINE_UNQUOTED(BUILD_DATE, "$BUILD_DATE", [The date of the build.]) + + # Check for programs. --- a/debian/patches/series 2015-08-17 17:31:08.820534074 +0200 --- b/debian/patches/series 2015-08-17 17:32:17.984767732 +0200 @@ -1,3 +1,4 @@ ped_free.patch pkg-config.patch libparted-3.1.patch +reproducible-build.patch
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds