[Reproducible-builds] Bug#795392: blkreplay: please make the build reproducible

Dhole dhole at openmailbox.org
Thu Aug 13 15:54:18 UTC 2015


Source: blkreplay
Version: 1.0-2
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 blkreplay could not be built reproducibly.

The attached patch fixes the timezone in the date from the man pages to
UTC. Once applied, blkreplay can be built reproducibly in our current
experimental framework.

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


Regards,
-- 
Dhole
-------------- next part --------------
diff -Nru blkreplay-1.0/debian/changelog blkreplay-1.0/debian/changelog
--- blkreplay-1.0/debian/changelog	2015-06-29 18:54:10.000000000 +0200
+++ blkreplay-1.0/debian/changelog	2015-08-12 21:18:44.000000000 +0200
@@ -1,3 +1,10 @@
+blkreplay (1.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Set date timezone in man pages to UTC to make package build reproducibly.
+
+ -- Eduard Sanou <dhole at openmailbox.org>  Wed, 12 Aug 2015 21:18:21 +0200
+
 blkreplay (1.0-2) unstable; urgency=medium
 
   * Fix lib.sh so it doesn't try to create downloads directory.
diff -Nru blkreplay-1.0/debian/rules blkreplay-1.0/debian/rules
--- blkreplay-1.0/debian/rules	2015-06-22 11:00:38.000000000 +0200
+++ blkreplay-1.0/debian/rules	2015-08-12 21:18:16.000000000 +0200
@@ -4,7 +4,7 @@
 	dh $@ --with autoreconf
 
 %.1: %.pod
-	pod2man -c "" -d $$(date -d "$$(dpkg-parsechangelog -S Date)" +%F) -r "" $< > $@
+	pod2man -c "" -d $$(date -u -d "$$(dpkg-parsechangelog -S Date)" +%F) -r "" $< > $@
 
 override_dh_auto_build: debian/blkreplay.1
 	dh_auto_build
-------------- 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/20150813/5dbd0a5e/attachment.sig>


More information about the Reproducible-builds mailing list