[DRE-maint] Bug#882580: ruby-mmap2: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Nov 24 06:25:26 UTC 2017


Source: ruby-mmap2
Version: 2.2.7-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that ruby-mmap2 could not be built reproducibly.

This is because the install target (yes!) builds something using GCC
and then we include the log of that build which contains the absolute
build path.

Patch attached that cleans this log - we have buildd.d.o after all.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2017-11-24 15:19:33.929600214 +0900
--- b/debian/rules	2017-11-24 15:23:58.023131209 +0900
@@ -7,3 +7,7 @@
 
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+override_dh_auto_install:
+	dh_auto_install
+	find debian/ -name mkmf.log -delete


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