Source: libmath-base-convert-perl Version: 0.11-1 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 libmath-base-convert-perl could not be built reproducibly. The patch to use SOURCE_DATE_EPOCH still uses localtime, which will produce different results in different timezones. The attached patch fixes this by using gmtime instead. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch index da04584..a77dfe2 100644 --- a/debian/patches/reproducible.patch +++ b/debian/patches/reproducible.patch @@ -2,7 +2,7 @@ Description: use SOURCE_DATE_EPOCH to get reproducible builds Origin: vendor Forwarded: not-needed Author: gregor herrmann <gre...@debian.org> -Last-Update: 2015-10-21 +Last-Update: 2015-10-26 --- a/bitmaps +++ b/bitmaps @@ -11,7 +11,7 @@ Last-Update: 2015-10-21 $VERSION = '|. $VERSION .q|'; -# created by Makefile.PL |. scalar localtime(). q| -+# created by Makefile.PL |. scalar localtime($ENV{SOURCE_DATE_EPOCH}). q| ++# created by Makefile.PL |. scalar gmtime($ENV{SOURCE_DATE_EPOCH}). q| # # Do not edit this package, #
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds