[ruby-core:92928] [Ruby trunk Bug#15890] psych.so is not deterministic

From: merch-redmine@...
Date: 2019-06-02 05:00:19 UTC
List: ruby-core #92928
Issue #15890 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Open to Closed

hsbt merged the pull request, so this can be closed.

----------------------------------------
Bug #15890: psych.so is not deterministic
https://bugs.ruby-lang.org/issues/15890#change-78303

* Author: hajma (hajma hajma)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: 
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
psych.so is not binary identical across builds (it's hash changes), as the order of its sources is random.

You probably want to add a sort to
https://github.com/ruby/ruby/blob/6a5e89e23c433199f926d757481bc3c29fce7854/ext/psych/extconf.rb#L16
just like it's at
https://github.com/ruby/ruby/blob/6a5e89e23c433199f926d757481bc3c29fce7854/lib/mkmf.rb#L2230



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next