[DRE-maint] Bug#834541: ruby-pg: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Aug 16 20:59:36 UTC 2016


Source: ruby-pg
Version: 0.18.4-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that ruby-pg could not be built reproducibly as it includes
non-deterministic memory addresses in the generated documentation.

Adding a Rdoc ":nodoc:" to the offending class fixes it.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/0003-reproducible-build.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/0003-reproducible-build.patch	2016-08-16 21:30:40.210803568 +0100
@@ -0,0 +1,14 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-16
+
+--- ruby-pg-0.18.4.orig/lib/pg/result.rb
++++ ruby-pg-0.18.4/lib/pg/result.rb
+@@ -3,6 +3,7 @@
+ require 'pg' unless defined?( PG )
+ 
+ 
++# :nodoc:
+ class PG::Result
+ 
+ 	# Apply a type map for all value retrieving methods.
--- a/debian/patches/series	2016-08-16 21:11:19.017943317 +0100
--- b/debian/patches/series	2016-08-16 21:30:38.934793750 +0100
@@ -1,2 +1,3 @@
 0002-fix-license-gemspec.patch
 0001-do-not-set-rpath.patch
+0003-reproducible-build.patch


More information about the Pkg-ruby-extras-maintainers mailing list