Source: check-pgbackrest
Version: 1.9-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
check-pgbackrest could not be built reproducibly.

While it uses SOURCE_DATE_EPOCH when generating the manpage, the output
depended on the build system's local timezone.

A patch is attached that uses UTC.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2020-09-24 10:19:23.432519587 +0100
--- b/debian/rules      2020-09-24 10:20:16.804429572 +0100
@@ -3,7 +3,7 @@
 include /usr/share/dpkg/pkg-info.mk
 
 override_dh_auto_build:
-       pod2man --center '' --release $(DEB_VERSION_UPSTREAM) --date $(shell 
date +%F -d @$(SOURCE_DATE_EPOCH)) check_pgbackrest > check_pgbackrest.1
+       pod2man --center '' --release $(DEB_VERSION_UPSTREAM) --date $(shell 
date -u +%F -d @$(SOURCE_DATE_EPOCH)) check_pgbackrest > check_pgbackrest.1
 
 %:
        dh $@

Reply via email to