On Fri, 27 Dec 2019 15:56:58 -0800
Jeremy Evans <jer...@openbsd.org> wrote:

> I fixed the copy coroutine issue upstream.  For the other issue, it may
> be easier to work around with rb_cv_function_name_string=__func__ added
> to CONFIGURE_ENV, instead of patching configure.  I haven't figured out
> how to fix that properly upstream in configure.ac yet. Once I can
> recreate the issue in a development environment, I'll work on that.

Might need to delete the RUBY_WERROR_FLAG call around the __func__ check
in configure.ac.  The called macro is in tool/m4/ruby_werror_flag.m4.

I did a "make test" in /usr/ports/lang/ruby/2.7 on powerpc.  Results are
better than ever: I saw 2 failures, 2 errors.  The early tests (before
the big ./test/runner.rb) all pass.  I feared that ./test/runner.rb got
stuck in an infinite loop, but it wasn't stuck: it runs thousands of
tests without output.  If I let it run for a few hours, it finishes.

I'm pasting the end of "make test" output for powerpc.  --George

ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [powerpc-openbsd]
exec ./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- -
-disable-gems "./test/runner.rb" --ruby="./miniruby -I./lib -I. -I.ext/common  .
/tool/runruby.rb --extout=.ext  -- --disable-gems" --excludes-dir=./test/exclude
s --name=!/memory_leak/
generate_index tests are being skipped.  Install builder gem.
Gem::Indexer tests are being skipped.  Install builder gem.
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --e
xtout=.ext  -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_le
ak/

# Running tests:

Leaked thread: DRbTests::TestDRbTCP#test_immediate_close: #<Thread:0xecc2be58 /u
sr/ports/pobj/ruby-2.7.0/ruby-2.7.0/lib/drb/drb.rb:1722 sleep>

  1) Failure:
Fiddle::TestImport#test_gettimeofday [/usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/test
/fiddle/test_import.rb:126]:
Failed assertion, no message given.

  2) Failure:
TestFiber#test_stack_size [/usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/test/ruby/test_
fiber.rb:389]:
Expected 17 to be >= 18.

  3) Error:
TestRefinement#test_prepend_after_refine_wb_miss:
Timeout::Error: execution of assert_normal_exit expired timeout (30 sec)
pid 43213 exit 1
| -:38:in `block in <main>': NameError
|       from -:3:in `times'
|       from -:3:in `<main>'
|

    /usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/test/ruby/test_refinement.rb:913:in `t
est_prepend_after_refine_wb_miss'

  4) Error:
TestWEBrickSSLServer#test_slow_connect:
Timeout::Error: execution expired
    /usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/.ext/common/openssl/ssl.rb:235:in `add
r'
    /usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/.ext/common/openssl/ssl.rb:235:in `add
r'
    /usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/lib/webrick/server.rb:110:in `initiali
ze'
    /usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/test/webrick/utils.rb:56:in `new'
    /usr/ports/pobj/ruby-2.7.0/ruby-2.7.0/test/webrick/utils.rb:56:in `block in
start_server'

Finished tests in 9608.291331s, 2.1812 tests/s, 283.6097 assertions/s.
20958 tests, 2725005 assertions, 2 failures, 2 errors, 72 skips

ruby -v: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [powerpc-openbsd]
*** Error 4 in /usr/ports/pobj/ruby-2.7.0/ruby-2.7.0 (Makefile:1470 'yes-test-al
l')
*** Error 1 in . (Makefile:43 'do-test')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2919 '/usr/ports/pobj
/ruby-2.7.0/.test_done')
*** Error 1 in /usr/ports/lang/ruby/2.7 (/usr/ports/infrastructure/mk/bsd.port.m
k:2556 'test')

Reply via email to