[Reproducible-builds] Bug#825569: ruby2.3: please sort object files in generated Makefiles

Reiner Herrmann reiner at reiner-h.de
Fri May 27 20:42:30 UTC 2016


Source: ruby2.3
Version: 2.3.1-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: toolchain fileordering
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Forwarded: https://github.com/ruby/ruby/pull/1367

Hi!

ruby2.3 contains the mkmf.rb module, which is used by several ruby
projects to generate Makefiles during build.
Unfortunately the generated Makefiles cause unreproducible builds [1],
because they don't sort the list of collected (sources/)objects,
which leads to an indeterministic linking order.

The attached patch (forwarded upstream) fixes this issue.

Regards,
 Reiner

[1]: https://tests.reproducible-builds.org/issues/unstable/ruby_mkmf_makefile_unsorted_objects_issue.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby2.3.patch
Type: text/x-diff
Size: 823 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160527/bb972717/attachment.patch>
-------------- 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/20160527/bb972717/attachment.sig>


More information about the Reproducible-builds mailing list