c7513cd67c
Symlinks to StdLib provided to preserve `--disable-gems` functionality together with `require_relative` cause double loading issues [1], e.g.: ~~~ $ ruby --disable-gems -e 'require "openssl"; require "openssl/digest"' /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::MD4 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of MD4 was here /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::MD5 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of MD5 was here /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::RIPEMD160 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of RIPEMD160 was here /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA1 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA1 was here /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA224 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA224 was here /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA256 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA256 was here /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA384 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA384 was here /usr/share/ruby/openssl/digest.rb:45: warning: already initialized constant OpenSSL::Digest::SHA512 /usr/share/gems/gems/openssl-2.2.0/lib/openssl/digest.rb:45: warning: previous definition of SHA512 was here /usr/share/ruby/openssl/digest.rb:52:in `<class:Digest>': superclass mismatch for class Digest (TypeError) from /usr/share/ruby/openssl/digest.rb:16:in `<module:OpenSSL>' from /usr/share/ruby/openssl/digest.rb:15:in `<top (required)>' from -e:1:in `require' from -e:1:in `<main>' ~~~ We could maintain a downstream patch reverting the `require_relative`, but given that how much troubles the extracted gems cause, it'll be better to keep them bundled. This will provide similar experience to upstream and prevent similar issues. [1]: https://bugs.ruby-lang.org/issues/16978#note-11 |
||
---|---|---|
.gitignore | ||
libruby.stp | ||
macros.ruby | ||
macros.rubygems | ||
operating_system.rb | ||
ruby-1.9.3-mkmf-verbose.patch | ||
ruby-2.1.0-always-use-i386.patch | ||
ruby-2.1.0-custom-rubygems-location.patch | ||
ruby-2.1.0-Enable-configuration-of-archlibdir.patch | ||
ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch | ||
ruby-2.3.0-ruby_version.patch | ||
ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch | ||
ruby-2.7.0-Initialize-ABRT-hook.patch | ||
ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch | ||
ruby-3.0.0-Dont-try-to-clear-cache-on-garbage-objects.patch | ||
ruby-3.0.0-Fixed-dangling-imemo_tmpbuf.patch | ||
ruby-exercise.stp | ||
ruby.spec | ||
rubygems.attr | ||
rubygems.con | ||
rubygems.prov | ||
rubygems.req | ||
sources | ||
test_abrt.rb | ||
test_systemtap.rb |