Bug#815082: arachne-pnr: please make the build reproducible
Dhole
dhole at openmailbox.org
Thu Feb 18 14:38:48 UTC 2016
Source: arachne-pnr
Version: 0~20150927gitefdb026-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
arachne-pnr could not be built reproducibly.
The attached patch sets the embedded date in the man pages generated by txt2man
to UTC with LC_ALL=C to normalize the locale. Once applied, arachne-pnr can be
built reproducibly in our current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -Nru arachne-pnr-0~20150927gitefdb026/debian/changelog arachne-pnr-0~20150927gitefdb026/debian/changelog
--- arachne-pnr-0~20150927gitefdb026/debian/changelog 2016-02-06 11:33:55.000000000 +0100
+++ arachne-pnr-0~20150927gitefdb026/debian/changelog 2016-02-18 01:38:23.000000000 +0100
@@ -1,3 +1,10 @@
+arachne-pnr (0~20150927gitefdb026-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Set changelog date to UTC with LC_ALL=C to make man pages reproducible.
+
+ -- Eduard Sanou <dhole at openmailbox.org> Thu, 18 Feb 2016 01:38:01 +0100
+
arachne-pnr (0~20150927gitefdb026-1) unstable; urgency=low
* Initial release (Closes: #801230)
diff -Nru arachne-pnr-0~20150927gitefdb026/debian/rules arachne-pnr-0~20150927gitefdb026/debian/rules
--- arachne-pnr-0~20150927gitefdb026/debian/rules 2016-02-06 11:33:55.000000000 +0100
+++ arachne-pnr-0~20150927gitefdb026/debian/rules 2016-02-18 15:14:07.000000000 +0100
@@ -5,7 +5,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-CHANGELOG_DATE ?= $(shell date -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y")
+CHANGELOG_DATE ?= $(shell LC_ALL=C date -u -d "`dpkg-parsechangelog --show-field Date`" +"%d %B %Y")
%:
dh $@
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160218/321c46f9/attachment.sig>
More information about the debian-science-maintainers
mailing list