Bug#964772: gem2deb: should not install mkmf.log files

Chris Lamb lamby at debian.org
Fri Jul 10 10:38:59 BST 2020


Source: gem2deb
Version: 1.1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
gem2deb was generating Debian packages that were not reproducible.

For example, ruby-enumerable-statistics was installing a mkmf.log file
that contained various absolute build paths, which will make the package
not reproducible.

I note that there is code already in gem2deb that attempts to not
install these (?), but it does not appear to be working. Patch
attached, although this is just a proof of concept and/or to
demonstrate the problem a little more.

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


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gem2deb.diff.txt
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20200710/cc9bb29c/attachment-0001.txt>


More information about the Reproducible-bugs mailing list