Source: translate
Version: 1.0.0
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

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

Although it uses SOURCE_DATE_EPOCH, the output varies on the timezone
of the build server. A patch is attached that ensures that UTC is used.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2021-08-23 09:16:53.664000053 +0100
--- b/debian/rules      2021-08-23 09:17:26.582014464 +0100
@@ -10,5 +10,5 @@
 
 override_dh_install:
        dh_install
-       sed -e "s/__VERSION__/$(DEB_VERSION)/;s/__DATE__/$$(date -I -d 
@$(SOURCE_DATE_EPOCH))/" \
+       sed -e "s/__VERSION__/$(DEB_VERSION)/;s/__DATE__/$$(date -u -I -d 
@$(SOURCE_DATE_EPOCH))/" \
            -i $(DESTDIR)/usr/bin/translate

Reply via email to