Source: splint Version: 3.1.2.dfsg1-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi, While working on the "reproducible builds" effort [1], we have noticed that splint could not be built reproducibly. The attached patch removes timestamps from the build system. Once applied, splint can be built reproducibly in our reproducible toolchain. I would have much prefered to patch configure.ac and reconf but there are already patches directly against against ./configure. [1]: https://wiki.debian.org/ReproducibleBuilds Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/configure 2015-08-28 22:32:57.307021901 +0100 --- b/configure 2015-08-28 22:38:47.655293324 +0100 @@ -3948,9 +3948,16 @@ # These used to be in herald.h LCL_PARSE_VERSION="Splint 3.1.2" +if [ -n "${SOURCE_DATE_EPOCH}" ] +then +cat >>confdefs.h <<_ACEOF +#define SPLINT_VERSION "$LCL_PARSE_VERSION --- `LC_ALL=C date --utc --date="@${SOURCE_DATE_EPOCH}" +"%d %b %Y"`" +_ACEOF +else cat >>confdefs.h <<_ACEOF #define SPLINT_VERSION "$LCL_PARSE_VERSION --- `date +"%d %b %Y"`" _ACEOF +fi cat >>confdefs.h <<_ACEOF