Source: fox1.6
Version: 1.6.55-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because the date call in debian/rules (which does use
SOURCE_DATE_EPOCH - thanks!) does not correct ensure the timezone
is consistent across builds).

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index 17ab40c..5291ee9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,7 +13,7 @@ endif
 
 include /usr/share/dpkg/pkg-info.mk
 export DEB_CPPFLAGS_MAINT_APPEND = -D_DEBDATE_=\"$(shell \
-       date -d @$(SOURCE_DATE_EPOCH) +%b-%d-%Y)\"
+       LC_ALL=C date -u -d @$(SOURCE_DATE_EPOCH) +%b-%d-%Y)\"
 
 %:
        dh $@ --with autoreconf

Reply via email to