[Reproducible-builds] Bug#794793: doc-base: please make the build reproducible
Dhole
dhole at openmailbox.org
Thu Aug 6 17:14:43 UTC 2015
Source: doc-base
Version: 0.10.6
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 doc-base could not be built reproducibly.
The attached patch sets the timeznoe to UTC for the timestamps in the
docs. Once applied, doc-base can be built reproducibly in our current
experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -Nru doc-base-0.10.6/common.mk doc-base-0.10.6+nmu1/common.mk
--- doc-base-0.10.6/common.mk 2014-08-24 22:15:11.000000000 +0200
+++ doc-base-0.10.6+nmu1/common.mk 2015-08-06 17:50:25.000000000 +0200
@@ -35,7 +35,7 @@
DATE := $(shell LC_ALL=C dpkg-parsechangelog -l$(CHANGELOGFILE) \
| sed -n 's/^Date: *//p')
# pretty-print the date; I wish this was dynamic like the top-level makefile but oh well
- DATE_EN := $(shell LC_ALL=C date --date="$(DATE)" '+%d %B, %Y')
+ DATE_EN := $(shell LC_ALL=C date -u --date="$(DATE)" '+%d %B, %Y')
export VERSION DATE DATE_EN
unexport CDPATH
diff -Nru doc-base-0.10.6/debian/changelog doc-base-0.10.6+nmu1/debian/changelog
--- doc-base-0.10.6/debian/changelog 2014-08-24 22:15:11.000000000 +0200
+++ doc-base-0.10.6+nmu1/debian/changelog 2015-08-06 17:00:50.000000000 +0200
@@ -1,3 +1,10 @@
+doc-base (0.10.6+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Set UTC date when generating docs to get reproducible results.
+
+ -- Eduard Sanou <dhole at openmailbox.org> Thu, 06 Aug 2015 17:00:34 +0200
+
doc-base (0.10.6) unstable; urgency=medium
* Fix `Possible precedence issue with control flow operator'
-------------- 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/20150806/4d63e118/attachment.sig>
More information about the Reproducible-builds
mailing list