An interpreter of object-oriented scripting language
Go to file
Jun Aruga a937dc62ed Remove the patch applied to pass the test/fiddle/test_import.rb on PPC.
In Ruby 3.0.3, a new logic with the hard-coded "libc.so.6" to detect glibc
works on PPC, both Power 8 and 9.
See <https://bugs.ruby-lang.org/issues/12666#note-13>.

Note the logic also fixes the following error on a Power 9 environment where
the path is `/lib64/glibc-hwcaps/power9/libc-2.28.so`.

```
/builddir/build/BUILD/ruby-2.6.9/.ext/common/fiddle/import.rb:299:in `import_function': cannot find the function: strcpy() (Fiddle::DLError)
    from /builddir/build/BUILD/ruby-2.6.9/.ext/common/fiddle/import.rb:172:in `extern'
    from /builddir/build/BUILD/ruby-2.6.9/test/fiddle/test_import.rb:17:in `<module:LIBC>'
    from /builddir/build/BUILD/ruby-2.6.9/test/fiddle/test_import.rb:10:in `<module:Fiddle>'
    from /builddir/build/BUILD/ruby-2.6.9/test/fiddle/test_import.rb:9:in `<top (required)>'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:958:in `require'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:958:in `block in non_options'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:952:in `each'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:952:in `non_options'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:64:in `process_args'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:130:in `process_args'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:1136:in `process_args'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:1141:in `run'
    from /builddir/build/BUILD/ruby-2.6.9/test/lib/test/unit.rb:1148:in `run'
    from ./test/runner.rb:33:in `<main>'
```

Related: rhbz#2049693
2022-02-11 13:52:42 +01:00
.gitignore Merged update from upstream sources 2021-01-08 15:41:21 +00:00
libruby.stp RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
macros.ruby RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
macros.rubygems Pass ldflags to gem install 2021-08-19 16:24:37 +02:00
operating_system.rb RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
ruby-1.9.3-mkmf-verbose.patch RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
ruby-2.1.0-always-use-i386.patch Upgrade to Ruby 3.0.2. 2021-08-19 16:24:35 +02:00
ruby-2.1.0-custom-rubygems-location.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-2.1.0-Enable-configuration-of-archlibdir.patch Upgrade to Ruby 3.0.2. 2021-08-19 16:24:35 +02:00
ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch Upgrade to Ruby 3.0.2. 2021-08-19 16:24:35 +02:00
ruby-2.3.0-ruby_version.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-2.7.0-Initialize-ABRT-hook.patch Merged update from upstream sources 2021-01-08 15:41:21 +00:00
ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch Merged update from upstream sources 2021-01-08 15:41:21 +00:00
ruby-3.0-support-openssl-3.0-pr399.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.0.3-ext-openssl-extconf.rb-require-OpenSSL-version-1.0.1.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-addr2line-DW_FORM_ref_addr.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Get-rid-of-type-punning-pointer-casts.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Ignore-DW_FORM_ref_addr.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Properly-exclude-test-cases.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-3.1.0-Support-GCCs-DWARF-5.patch Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
ruby-exercise.stp RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
ruby.rpmlintrc Additional enhancement changes 2021-08-19 16:24:37 +02:00
ruby.spec Remove the patch applied to pass the test/fiddle/test_import.rb on PPC. 2022-02-11 13:52:42 +01:00
rubygems-3.2.33-Fix-loading-operating_system-rb-customizations-too-late.patch Fix loading of default gems. 2022-02-11 13:52:42 +01:00
rubygems.attr RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
rubygems.con RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
rubygems.prov RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
rubygems.req RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
sources Upgrade to Ruby 3.0.3. 2022-02-11 13:52:42 +01:00
test_abrt.rb RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00
test_systemtap.rb RHEL 9.0.0 Alpha bootstrap 2020-10-14 21:55:41 -07:00