[MacPorts] #64906: fixing Ruby for PowerPC
MacPorts
noreply at macports.org
Wed Apr 13 04:43:37 UTC 2022
#64906: fixing Ruby for PowerPC
-----------------------------+-------------------------------------------
Reporter: barracuda156 | Owner: kimuraw
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, snowleopard
Port: ruby27, ruby30 |
-----------------------------+-------------------------------------------
Comment (by barracuda156):
Replying to [comment:6 evanmiller]:
Chunk of basic tests are successful for both `ruby25` (no coroutines) and
`ruby30`:
ruby25
{{{
test_autoload.rb ........
:info:test
test_block.rb
..........................................................
:info:test
test_class.rb ................................................
:info:test
test_env.rb ..
:info:test
test_eval.rb .....................................
:info:test
test_exception.rb ..................................
:info:test
test_finalizer.rb .
:info:test
test_flip.rb .
:info:test
test_flow.rb
..............................................................
:info:test
test_fork.rb .....
:info:test
test_gc.rb ..
:info:test
test_insns.rb
...........................................................................................................................................................................................
:info:test
test_io.rb .........
:info:test
test_jump.rb .............................
:info:test
test_literal.rb
............................................................................................................................................................
:info:test
test_literal_suffix.rb ................................................
:info:test
test_load.rb ..
:info:test
test_marshal.rb .
:info:test
test_massign.rb ..................................
:info:test
test_method.rb
...............................................................................................................................................................................................................................
:info:test
test_objectspace.rb .....
:info:test
test_proc.rb .......................................
:info:test
test_string.rb .
:info:test
test_struct.rb .
:info:test
test_syntax.rb
............................................................................................................................................................
:info:test
test_thread.rb
..................................................
:info:test
PASS all 1201 tests
:info:test exec ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb
--extout=.ext -- --disable-gems "./bootstraptest/runner.rb"
--ruby="ruby2.5 --disable-gems" ./KNOWNBUGS.rb
:info:test 2022-04-13 11:06:40 +0800
:info:test Driver is ruby 2.5.9p229 (2021-04-05 revision 67939) [powerpc-
darwin10.0.0d2]
:info:test Target is ruby 2.5.9p229 (2021-04-05 revision 67939) [powerpc-
darwin10.0.0d2]
:info:test KNOWNBUGS.rb
:info:test No tests, no problem
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:assignment
....................................................................................................................................................................................................................................................................................................................................................................................OK
372
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:condition
..OK 2
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:if/unless
...OK 3
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:case
.....OK 5
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:while/until
........OK 8
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:exception
..........OK 10
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:array
.......................................OK 39
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:hash
...........................OK 27
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:iterator
...............................................................................................................OK
111
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:float
................................................................................OK
80
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:bignum
...............................OK 31
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:string
& char ..............................................................OK 62
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:assignment
..........OK 10
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:call
......OK 6
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:proc
.........OK 9
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:signal
..OK 2
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:eval
...........................OK 27
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:system
........OK 8
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:const
.....OK 5
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:clone
.....OK 5
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:marshal
....OK 4
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:pack
....OK 4
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:math
..OK 2
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:struct
......OK 6
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:variable
...........OK 11
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:trace
...OK 3
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:defined?
............OK 12
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:alias
......OK 6
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:path
.......................OK 23
:info:test
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby25/ruby25/work/ruby-2.5.9/basictest/test.rb:gc
....OK 4
:info:test test succeeded
:info:test Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common
./tool/runruby.rb --extout=.ext -- --disable-gems"
:info:test # Running tests:
:info:test Finished tests in 9.275339s, 23.9344 tests/s, 49.7017
assertions/s.
:info:test 222 tests, 461 assertions, 0 failures, 0 errors, 0 skips
:info:test ruby -v: ruby 2.5.9p229 (2021-04-05 revision 67939) [powerpc-
darwin10.0.0d2]
}}}
ruby30
{{{
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 .................................................
Fiber count: 10000 (skipping)
PASS all 1489 tests
exec ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext
-- --disable-gems "./bootstraptest/runner.rb" --ruby="ruby3.0 --disable-
gems" ./KNOWNBUGS.rb
2022-04-13 11:50:03 +0800
Driver is ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [ppc-darwin10]
Target is ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [ppc-darwin10]
KNOWNBUGS.rb
No tests, no problem
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:assignment
....................................................................................................................................................................................................................................................................................................................................................................................OK
372
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:condition
..OK 2
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:if/unless
...OK 3
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:case
.....OK 5
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:while/until
........OK 8
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:exception
..........OK 10
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:array
.......................................OK 39
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:hash
...........................OK 27
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:iterator
...........................................................................................................OK
107
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:float
................................................................................OK
80
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:bignum
...............................OK 31
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:string
& char ..............................................................OK 62
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:assignment
..........OK 10
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:call
......OK 6
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:proc
.........OK 9
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:signal
..OK 2
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:eval
...........................OK 27
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:system
........OK 8
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:const
.....OK 5
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:clone
.....OK 5
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:marshal
....OK 4
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:pack
....OK 4
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:math
..OK 2
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:struct
......OK 6
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:variable
............OK 12
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:trace
...OK 3
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:defined?
............OK 12
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:alias
......OK 6
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:path
.......................OK 23
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_ruby30/ruby30/work/ruby-3.0.3/basictest/test.rb:gc
....OK 4
test succeeded
Run options:
--seed=12085
"--ruby=./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb
--extout=.ext -- --disable-gems"
# Running tests:
Finished tests in 37.348612s, 9.7460 tests/s, 45.2761 assertions/s.
364 tests, 1691 assertions, 0 failures, 0 errors, 0 skips
ruby -v: ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [ppc-darwin10]
}}}
Then further down `ruby25` had a number of failures with IMAP and FTP,
which I am not yet sure if those are genuine failures and not a result of
my restrictive web-access here (plus Little Snitch which complained in the
process).
`ruby30` is stuck on the same part already forever, and I am afraid I
can't try waiting for it to end today. I think something is broken, and
the same problem I faced when trying to use newer Ruby to build other
ports.
--
Ticket URL: <https://trac.macports.org/ticket/64906#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list