Issue #12900 has been reported by Vit Ondruch.

----------------------------------------
Bug #12900: TestSyntax#test_block_after_cmdarg_in_paren fails on PPC64
https://bugs.ruby-lang.org/issues/12900

* Author: Vit Ondruch
* Status: Open
* Priority: Normal
* Assignee: 
* ruby -v: ruby -v: ruby 2.4.0dev (2016-11-04 trunk 56558) [powerpc64-linux]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
Trying to build r56558 on Fedora Rawhide, the build fails on PPC64 with following message:

```
  1) Failure:
TestSyntax#test_block_after_cmdarg_in_paren [/builddir/build/BUILD/ruby-2.4.0-r56558/test/ruby/test_syntax.rb:897]:
[ruby-core:72482] [Bug #11873].
[LocalJumpError] exception expected, not.
Class: <SyntaxError>
Message: <"should not be passed to tap">
---Backtrace---
/builddir/build/BUILD/ruby-2.4.0-r56558/test/ruby/test_syntax.rb:900:in `block (3 levels) in test_block_after_cmdarg_in_paren'
/builddir/build/BUILD/ruby-2.4.0-r56558/test/ruby/test_syntax.rb:899:in `tap'
/builddir/build/BUILD/ruby-2.4.0-r56558/test/ruby/test_syntax.rb:899:in `block (2 levels) in test_block_after_cmdarg_in_paren'
/builddir/build/BUILD/ruby-2.4.0-r56558/test/ruby/test_syntax.rb:898:in `instance_eval'
/builddir/build/BUILD/ruby-2.4.0-r56558/test/ruby/test_syntax.rb:898:in `block in test_block_after_cmdarg_in_paren'
/builddir/build/BUILD/ruby-2.4.0-r56558/test/lib/test/unit/assertions.rb:74:in `assert_raise'
/builddir/build/BUILD/ruby-2.4.0-r56558/test/ruby/test_syntax.rb:897:in `test_block_after_cmdarg_in_paren'
/builddir/build/BUILD/ruby-2.4.0-r56558/test/lib/test/unit.rb:1029:in `run_test'
---------------
```

This works just fine on x86_64.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>