Source: arachne-pnr 
Version: 0~20150927gitefdb026-1 
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@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
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 <dh...@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 $@ 

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to