[MacPorts] #64906: fixing Ruby for PowerPC
MacPorts
noreply at macports.org
Sat Apr 16 04:04:12 UTC 2022
#64906: fixing Ruby for PowerPC
-----------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: kimuraw
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: wontfix | Keywords: powerpc, leopard, snowleopard
Port: ruby27, ruby30 |
-----------------------------+-------------------------------------------
Comment (by barracuda156):
UPD. @3.1.1 builds and passes basic tests, but tests freeze on the same
spot:
{{{
config.status: creating ruby-runner.h
making mjit_build_dir.dylib
generating ppc-darwin10.0.0d2-fake.rb
ppc-darwin10.0.0d2-fake.rb updated
test_attr.rb ..
test_autoload.rb ........
test_block.rb
..........................................................
test_class.rb
................................................
test_env.rb ..
test_eval.rb ........................................
test_exception.rb ..................................
test_fiber.rb .....
test_finalizer.rb .
test_flip.rb .
test_flow.rb
..............................................................
test_fork.rb ....
test_gc.rb ..
test_insns.rb
.................................................................................................................................................................................................................................................................................................................................................................................................
test_io.rb .........
test_jump.rb .............................
test_literal.rb
............................................................................................................................................................
test_literal_suffix.rb
................................................
test_load.rb ..
test_marshal.rb .
test_massign.rb ..................................
test_method.rb
...............................................................................................................................................................................................................................
test_objectspace.rb ......
test_proc.rb .....................................
test_ractor.rb
....................................................................................................
test_string.rb .
test_struct.rb .
test_syntax.rb
............................................................................................................................................................
test_thread.rb
.................................................
test_yjit.rb
..................................................................................................................................................................
test_yjit_30k_ifelse.rb .
test_yjit_30k_methods.rb .
Fiber count: 2558 (Cannot allocate memory - coroutine_transfer)
PASS all 1668 tests
exec ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext
-- --disable-gems "./bootstraptest/runner.rb" --ruby="ruby3.1 --disable-
gems" ./KNOWNBUGS.rb
2022-04-16 11:22:38 +0800
Driver is ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [ppc-
darwin10.0.0d2]
Target is ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [ppc-
darwin10.0.0d2]
KNOWNBUGS.rb
No tests, no problem
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:assignment
....................................................................................................................................................................................................................................................................................................................................................................................OK
372
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:condition
..OK 2
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:if/unless
...OK 3
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:case
.....OK 5
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:while/until
........OK 8
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:exception
..........OK 10
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:array
.......................................OK 39
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:hash
...........................OK 27
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:iterator
...........................................................................................................OK
107
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:float
................................................................................OK
80
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:bignum
...............................OK 31
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:string
& char ..............................................................OK 62
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:assignment
..........OK 10
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:call
......OK 6
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:proc
.........OK 9
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:signal
..OK 2
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:eval
...........................OK 27
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:system
........OK 8
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:const
.....OK 5
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:clone
.....OK 5
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:marshal
....OK 4
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:pack
....OK 4
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:math
..OK 2
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:struct
......OK 6
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:variable
............OK 12
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:trace
...OK 3
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:defined?
............OK 12
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:alias
......OK 6
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:path
.......................OK 23
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby31/ruby31/work/ruby-3.1.1/basictest/test.rb:gc
....OK 4
test succeeded
Run options:
--seed=40591
"--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb
--extout=.ext -- --disable-gems"
# Running tests:
Finished tests in 32.239231s, 9.4295 tests/s, 54.3747 assertions/s.
304 tests, 1753 assertions, 0 failures, 0 errors, 12 skips
ruby -v: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [ppc-
darwin10.0.0d2]
Run options:
--seed=13135
"--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb
--extout=.ext -- --disable-gems"
--excludes-dir=./test/excludes
--name=!/memory_leak/
# Running tests:
test-script:4:in `setrlimit': Invalid argument - setrlimit (Errno::EINVAL)
from test-script:4:in `<main>'
test-script:4:in `setrlimit': Invalid argument - setrlimit (Errno::EINVAL)
from test-script:4:in `<main>'
}}}
Need to find out what goes wrong here.
--
Ticket URL: <https://trac.macports.org/ticket/64906#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list