[Reproducible-builds] Bug#795981: x11proto-input: please make the build reproducible

Dhole dhole at openmailbox.org
Tue Aug 18 13:12:29 UTC 2015


Source: x11proto-input
Version: 2.3.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that x11proto-input could not be built reproducibly.

The attached patch sets the timezone to UTC before calling asciidoc to
avoid timezone differences in the generated docs. Once applied,
x11proto-input can be built reproducibly in our current experimental
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,
-- 
Dhole
-------------- next part --------------
diff -u x11proto-input-2.3.1/debian/changelog x11proto-input-2.3.1/debian/changelog
--- x11proto-input-2.3.1/debian/changelog
+++ x11proto-input-2.3.1/debian/changelog
@@ -1,3 +1,11 @@
+x11proto-input (2.3.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Set TZ=UTC before calling asciidoc to make the embedded dates invariant to 
+    timezones in order to make the package build reproducibly.
+
+ -- Eduard Sanou <dhole at openmailbox.org>  Mon, 17 Aug 2015 16:22:00 +0200
+
 x11proto-input (2.3.1-1) unstable; urgency=medium
 
   * New upstream release.
only in patch2:
unchanged:
--- x11proto-input-2.3.1.orig/specs/Makefile.am
+++ x11proto-input-2.3.1/specs/Makefile.am
@@ -6,7 +6,7 @@
 dist_doc_DATA = XI2proto.txt XIproto.txt
 
 %.html: %.txt
-	$(AM_V_GEN)$(ASCIIDOC) -o $@ $<
+	TZ=UTC $(AM_V_GEN)$(ASCIIDOC) -o $@ $<
 
 CLEANFILES = $(doc_DATA)
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150818/d5be7df3/attachment.sig>


More information about the Reproducible-builds mailing list