[Reproducible-builds] Bug#818430: ruby-coveralls: please make the build reproducible

Dhole dhole at openmailbox.org
Wed Mar 16 23:43:25 UTC 2016


Source: ruby-coveralls 
Version: 0.7.0-2 
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that
ruby-coveralls could not be built reproducibly.

When generating the manpages, ronn uses the local timezone in the
embedded timestamps.

The attached patch fixes this by setting the timezone to UTC before
calling ronn. Once applied, ruby-coveralls can be built reproducibly in
our current experimental framework.

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

Regards,
-- 
Dhole
-------------- next part --------------
diff -Nru ruby-coveralls-0.7.0/debian/changelog ruby-coveralls-0.7.0/debian/changelog
--- ruby-coveralls-0.7.0/debian/changelog	2015-12-15 18:17:57.000000000 +0100
+++ ruby-coveralls-0.7.0/debian/changelog	2016-03-16 22:55:08.000000000 +0100
@@ -1,3 +1,11 @@
+ruby-coveralls (0.7.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Set a deterministic date in the manpages to make the package build
+    reproducibly. 
+
+ -- Eduard Sanou <dhole at openmailbox.org>  Wed, 16 Mar 2016 22:52:56 +0100
+
 ruby-coveralls (0.7.0-2) unstable; urgency=low
 
   * Add missing B-D on ruby-multi-json. (Closes: #802116).
diff -Nru ruby-coveralls-0.7.0/debian/rules ruby-coveralls-0.7.0/debian/rules
--- ruby-coveralls-0.7.0/debian/rules	2014-03-05 00:51:37.000000000 +0100
+++ ruby-coveralls-0.7.0/debian/rules	2016-03-17 00:15:04.000000000 +0100
@@ -16,7 +16,7 @@
 
 override_dh_auto_build:
 	dh_auto_build
-	ronn --roff debian/coveralls.mkd
+	TZ=UTC ronn --roff debian/coveralls.mkd
 
 override_dh_auto_clean:
 	dh_auto_clean
-------------- 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/reproducible-builds/attachments/20160317/d384c2a3/attachment.sig>


More information about the Reproducible-builds mailing list