Bug#855909: publicsuffix: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Feb 23 09:06:13 UTC 2017


Source: publicsuffix
Version: 20170206.1059-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timezone
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that publicsuffix could not be built reproducibly.

This is due to a timezone variation introduced in the most recent
20170206.1059-1 upload.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-02-23 17:02:27.512647411 +0800
--- b/debian/rules	2017-02-23 17:04:37.690176708 +0800
@@ -12,6 +12,6 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)) public_suffix_list.dat
+	TZ=UTC touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)) public_suffix_list.dat
 	psl-make-dafsa --input-format=psl --output-format=binary public_suffix_list.dat public_suffix_list.dafsa
-	touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)).59 public_suffix_list.dafsa
+	TZ=UTC touch -t $(subst .,,$(DEB_VERSION_UPSTREAM)).59 public_suffix_list.dafsa


More information about the Reproducible-bugs mailing list