Your message dated Mon, 8 Aug 2016 11:35:03 +0800
with message-id <[email protected]>
and subject line sen: please make the build reproducible (timestamps)
has caused the Debian Bug report #823764,
regarding sen: please make the build reproducible (timestamps)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
823764: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823764
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: sen
Version: 0.3.0-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps fileordering

Hi!

While working on the “reproducible builds” effort [1], we have noticed
that sen could not be built reproducibly [2].

The attached patch renders the build timestamp in a consistent timezone,
causing the "build date" comment in the man page nroff source to be
reproducible.

Cheers,

Daniel

P.S. Incidentally, setting the "build date" to the changelog timestamp —
as sen does — is indeed the recommended approach: see [3]. 

 [1]: https://wiki.debian.org/ReproducibleBuilds
 [2]: 
https://tests.reproducible-builds.org/dbdtxt/unstable/amd64/sen_0.3.0-1.diffoscope.txt
 [3]: https://reproducible-builds.org/specs/source-date-epoch/
diff --git a/debian/rules b/debian/rules
index d5be1f2..d39019d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 #export DH_VERBOSE = 1
 
 export LC_ALL=C.UTF-8
-DATE := $(shell date --date="$$(dpkg-parsechangelog --show-field Date)" +%F)
+DATE := $(shell env TZ=UTC date --date="$$(dpkg-parsechangelog --show-field Date)" +%F)
 
 %:
 	dh $@ --with python3 --buildsystem=pybuild

--- End Message ---
--- Begin Message ---
Control: fixed -1 sen/0.4.0-1


-- 
ChangZhuo Chen (陳昌倬) <[email protected]>
Debian Developer (https://nm.debian.org/public/person/czchen)
Key fingerprint = EC9F 905D 866D BE46 A896  C827 BE0C 9242 03F4 552D
                  BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to