[Reproducible-builds] Bug#795985: xorg: please make the build reproducible
Dhole
dhole at openmailbox.org
Tue Aug 18 13:17:48 UTC 2015
Source: xorg
Version: 1:7.7+9
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 xorg 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, xorg can
be built reproducibly in our current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -Nru xorg-7.7+9/debian/changelog xorg-7.7+9.1/debian/changelog
--- xorg-7.7+9/debian/changelog 2015-05-11 14:53:51.000000000 +0200
+++ xorg-7.7+9.1/debian/changelog 2015-08-17 16:38:13.000000000 +0200
@@ -1,3 +1,11 @@
+xorg (1:7.7+9.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:37:50 +0200
+
xorg (1:7.7+9) unstable; urgency=medium
* Remove the siliconmotion driver from xserver-xorg-video-all.
diff -Nru xorg-7.7+9/xsf-docs/Makefile xorg-7.7+9.1/xsf-docs/Makefile
--- xorg-7.7+9/xsf-docs/Makefile 2013-09-26 01:24:29.000000000 +0200
+++ xorg-7.7+9.1/xsf-docs/Makefile 2015-08-17 16:44:17.000000000 +0200
@@ -6,7 +6,7 @@
pdf_files = $(patsubst %.txt,%.pdf,$(txt_files))
-TXT_TO_HTML = asciidoc -a linkcss
+TXT_TO_HTML = TZ=UTC asciidoc -a linkcss
HTML_TO_PDF = wkhtmltopdf
CSS_FILE = xsf.css
ADOC_CSS_FILE= asciidoc-xhtml11.css
-------------- 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/ab95a50c/attachment.sig>
More information about the Reproducible-builds
mailing list