ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: tropikhajma@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:92899] [Ruby trunk Bug#15890] psych.so is not deterministic
Date: Thu, 30 May 2019 23:02:23 +0000 (UTC)	[thread overview]
Message-ID: <redmine.issue-15890.20190530230223.2f3ce07f1fd90d0f@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-15890.20190530230223@ruby-lang.org

Issue #15890 has been reported by hajma (hajma hajma).

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

* Author: hajma (hajma hajma)
* Status: Open
* Priority: Normal
* Assignee: 
* 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/

       reply	other threads:[~2019-05-30 23:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <redmine.issue-15890.20190530230223@ruby-lang.org>
2019-05-30 23:02 ` tropikhajma [this message]
2019-06-02  4:09 ` [ruby-core:92927] [Ruby trunk Bug#15890] psych.so is not deterministic merch-redmine
2019-06-02  5:00 ` [ruby-core:92928] " merch-redmine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=redmine.issue-15890.20190530230223.2f3ce07f1fd90d0f@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).