120ff99bc9
Disable more tests on riscv64
...
These tests time out on QEMU VM:
1) Error:
Racc::TestRaccCommand#test_cast:
Timeout::Error: execution of assert_ruby_status expired timeout (10 sec)
pid 127860 killed by SIGTERM (signal 15)
|
/builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:108:in `ruby'
/builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:104:in `racc'
/builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:57:in `assert_compile'
/builddir/build/BUILD/ruby-2.7.1/test/racc/test_racc_command.rb:269:in `test_cast'
2) Error:
Racc::TestRaccCommand#test_riml:
Timeout::Error: execution of assert_ruby_status expired timeout (10 sec)
pid 127914 killed by SIGTERM (signal 15)
|
/builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:108:in `ruby'
/builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:104:in `racc'
/builddir/build/BUILD/ruby-2.7.1/test/racc/helper.rb:57:in `assert_compile'
/builddir/build/BUILD/ruby-2.7.1/test/racc/test_racc_command.rb:245:in `test_riml'
3) Error:
TestBugReporter#test_bug_reporter_add:
Timeout::Error: execution of assert_in_out_err expired timeout (30 sec)
pid 128134 killed by SIGKILL (signal 9)
|
| -:1: [BUG] Segmentation fault at 0x000003db0001f486
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]
| c:0001 p:0000 s:0003 E:001570 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
/builddir/build/BUILD/ruby-2.7.1/test/-ext-/bug_reporter/test_bug_reporter.rb:22:in `test_bug_reporter_add'
4) Error:
TestFiber#test_many_fibers_with_threads:
Timeout::Error: execution of assert_normal_exit expired timeout (60 sec)
pid 128358 killed by SIGKILL (signal 9)
|
/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_fiber.rb:53:in `test_many_fibers_with_threads'
5) Error:
TestRubyOptions#test_segv_test:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 134299 killed by SIGKILL (signal 9)
|
| -e:1: [BUG] Segmentation fault at 0x000003db00020c9b
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0015 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:002170 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-05-02 15:33:34 +03:00
03cb588be8
Disable failing tests on riscv64
...
[21014/21023] YAMLStoreTest#test_writing_inside_readonly_transaction_raises_error = 0.00 s
[21015/21023] YAMLStoreTest#test_yaml_store_files_are_accessed_as_binary_files = 2.52 s
1) Failure:
TestJIT#test_compile_insn_once [/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_jit.rb:495]:
Expected 1 times of JIT success, but succeeded 0 times.
script:
"""
p proc { /#{true}/o =~ "true" && $~.to_a }.call
"""
stderr:
"""
gcc: internal compiler error: Segmentation fault signal terminated program cc1
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla > for instructions.
Successful MJIT finish
"""
.
<1> expected but was
<0>.
2) Error:
TestBugReporter#test_bug_reporter_add:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 69062 killed by SIGKILL (signal 9)
|
| -:1: [BUG] Segmentation fault at 0x000003db00010dc6
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0021 s:0006 e:000005 EVAL -:1 [FINISH]
| c:0001 p:0000 s:0003 E:001c20 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -:1:in `<main>'
| -:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
| Unknown extended opcode: 5 in /builddir/build/BUILD/ruby-2.7.1/ruby
| Unknown extended opcode: 5 in /builddir/build/BUILD/ruby-2.7.1/ruby
| Unknown extended opcode: 5 in /builddir/build/BUILD/ruby-2.7.1/ruby
| Unknown extended opcode: 5 in /builddir/build/BUILD/ruby-2.7.1/ruby
| Unknown extended opcode: 5 in /builddir/build/BUILD/ruby-2.7.1/ruby
[..]
/builddir/build/BUILD/ruby-2.7.1/test/-ext-/bug_reporter/test_bug_reporter.rb:22:in `test_bug_reporter_add'
3) Error:
TestRubyOptions#test_segv_loaded_features:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 74892 killed by SIGABRT (signal 6) (core dumped)
|
| -e:1: [BUG] Segmentation fault at 0x000003db0001248c
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0016 s:0006 e:000005 BLOCK -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:000ee0 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `block in <main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
| Unknown extended opcode: 5 in /builddir/build/BUILD/ruby-2.7.1/ruby
[..]
/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_rubyoptions.rb:725:in `assert_segv'
/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_rubyoptions.rb:735:in `test_segv_loaded_features'
4) Error:
TestRubyOptions#test_segv_setproctitle:
Timeout::Error: execution of assert_in_out_err expired timeout (10 sec)
pid 74904 killed by SIGABRT (signal 6) (core dumped)
|
| -e:1: [BUG] Segmentation fault at 0x000003db00012498
| ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
|
| -- Control frame information -----------------------------------------------
| c:0003 p:---- s:0012 e:000011 CFUNC :kill
| c:0002 p:0029 s:0006 e:000005 EVAL -e:1 [FINISH]
| c:0001 p:0000 s:0003 E:002640 (none) [FINISH]
|
| -- Ruby level backtrace information ----------------------------------------
| -e:1:in `<main>'
| -e:1:in `kill'
|
| -- C level backtrace information -------------------------------------------
| Unknown extended opcode: 5 in /builddir/build/BUILD/ruby-2.7.1/ruby
[..]
/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_rubyoptions.rb:725:in `assert_segv'
/builddir/build/BUILD/ruby-2.7.1/test/ruby/test_rubyoptions.rb:729:in `test_segv_test'
Finished tests in 4584.001316s, 4.5844 tests/s, 593.8157 assertions/s.
21015 tests, 2722052 assertions, 1 failures, 4 errors, 61 skips
ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [riscv64-linux]
RPM build errors:
make: *** [uncommon.mk:783: yes-test-all] Error 5
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-20 15:39:12 +03:00
98349071bc
Fix atomic detection for RISC-V (riscv64)
...
See:
abe2e7de4d
https://bugs.ruby-lang.org/issues/16800
https://bugs.ruby-lang.org/issues/16774
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-20 11:00:53 +03:00
f297a7ee61
Merge remote-tracking branch 'up/master' into master-riscv64
...
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-04-20 10:58:19 +03:00
Vít Ondruch
26bc2eb795
Fix changelog identation.
2020-04-16 10:35:30 +02:00
Vít Ondruch
102ff85d98
Prevent issues with openssl loading when RubyGems are disabled.
2020-04-15 18:48:14 +02:00
Vít Ondruch
50345c3ee4
Hardcode obsolete version for rubygem-racc.
2020-04-15 18:08:21 +02:00
Vít Ondruch
fb50c77241
Hardcode obsolete version for rubygem-did_you_mean.
2020-04-15 18:07:11 +02:00
Vít Ondruch
ca69f778a9
Bundle did_you_mean into StdLib.
...
Resolves: rhbz#1817178
2020-04-08 18:26:49 +02:00
Vít Ondruch
838cca0381
Move Racc .gemspec to better place.
2020-04-08 18:14:52 +02:00
Vít Ondruch
baf046a6a4
Bundle Racc into StdLib.
...
It is increasingly hard to maintain default gems extracted from StdLib
into gems. If they are overlapped by independent versions, it is even
harder, because the overlapped versions would need to provide symlinks
back to StdLib \[[1]\]. On top of that, the layout differs from
upstream, where default gems are always available.
Because these small nuances can make hard discoverable race conditions
during Ruby application loading and runtime, it will be best to keep the
default gems bundled.
[1]: https://src.fedoraproject.org/rpms/rubygem-racc/pull-request/1
2020-04-02 20:37:38 +02:00
Vít Ondruch
c63e907e87
Add ruby-default-gems subpackage shipping all extra default gem content.
2020-04-02 20:37:32 +02:00
Vít Ondruch
e5cef5e271
Be more strict about StdLib content.
2020-04-02 11:44:07 +02:00
Vít Ondruch
759d6796c6
Properly own BigDecimal files.
2020-04-02 11:44:07 +02:00
Vít Ondruch
a9b3ba531f
Shuffle bits of .spec file around.
...
Reorganize subpackages to keep default and bundled gems together.
2020-04-02 11:44:03 +02:00
Vít Ondruch
f2d727806b
Upgrade to Ruby 2.7.1.
2020-04-01 21:06:53 +02:00
Vít Ondruch
79683d7d62
Fix FTBFS due to glibc 2.31.9000 implementing lchmod(2).
2020-04-01 19:08:27 +02:00
Vít Ondruch
40937c8a7a
Install Racc it by default.
2020-01-28 13:50:46 +01:00
Vít Ondruch
40610a988c
Provide StdLib links for Racc.
2020-01-28 13:49:34 +01:00
Vít Ondruch
dde320d13d
Remove useless rdoc directory from racc.
2020-01-27 18:13:11 +01:00
Vít Ondruch
26cfdf277e
The json.gemspec now referes properly to the extensions.
2020-01-27 10:41:26 +01:00
4a959b9846
Disable pthread assert for riscv
...
Let's see how far this can go in testing.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-01-17 19:56:49 +02:00
4916a7212e
Merge commit '04b63f48ea89ff10fcffafe2ff3815dfa0e16e99' into master-riscv64
...
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-01-17 19:35:32 +02:00
Vít Ondruch
345ce0e5b8
Make rubygem(did_you_mean) hard dependency.
2020-01-16 11:43:08 +01:00
Vít Ondruch
197c02993b
Remove useless .github directory from Rake.
2020-01-16 11:43:08 +01:00
Vít Ondruch
bb318e2964
.gitignore is not included in Rake anymore.
2020-01-16 10:36:22 +01:00
Vít Ondruch
8454ff1601
The did_you_mean does not include its temporary directory anymore.
2020-01-16 10:34:34 +01:00
Vít Ondruch
3696d7be37
Upgrade to Ruby 2.7.0.
...
This is SRPM import. The evolution of this commit is preserved in
private-ruby-2.7 branch.
2020-01-15 16:26:13 +01:00
Slava Kardakov
04b63f48ea
Update to Ruby 2.6.5.
2019-10-08 21:47:31 +02:00
Vít Ondruch
fe3a1dd604
Fix checksec 2.0+ compatibility.
2019-09-25 14:00:57 +02:00
Pavel Valena
050a503e16
Update to Ruby 2.6.4.
2019-09-03 11:39:53 +02:00
Fedora Release Engineering
423327ef48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:52:39 +00:00
60baed04d5
Disable pthread on RISC-V (riscv64)
...
Until we can understand the build failure related to pthread thread
model it's better we disable it:
BUILDSTDERR: rb_mjiminiruby: thread_pthread.c:1995: rb_sigwait_fd_put: Assertion `old == th' failed.
BUILDSTDERR: make: *** [uncommon.mk:233: .ext/include/riscv64-linux/rb_mjit_min_header-2.6.3.h] Aborted (core dumped)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-07-23 17:04:04 +03:00
d2b1e688a4
Merge remote-tracking branch 'up/master' into master-riscv64
...
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-07-23 16:40:15 +03:00
Vít Ondruch
13a1b3e907
Properly support %prerelease in %gemspec_ macros.
2019-06-25 13:48:27 +02:00
Pavel Valena
1cc2a497d3
Update sources file.
2019-05-14 18:39:59 +02:00
Pavel Valena
ed790644ea
Update to Ruby 2.6.3.
2019-05-14 18:00:32 +02:00
Arjen Heidinga
ea106d15b2
Bump version and add changelog
2019-03-29 11:35:19 +01:00
Arjen Heidinga
e38302eeb1
Add zlib-devel as BuildRequire
...
This is needed to compile zlib support. I think it is by accident available in the original buildroot, but not in mine.
I think it is better to explicitly name it.
2019-03-29 11:35:14 +01:00
Vít Ondruch
395ef05d65
Exclude irb.rb from ruby-libs.
...
This file is just part of rubygem-irb.
2019-03-25 15:00:51 +01:00
Vít Ondruch
9d08846cc7
Link IRB files instead of directories.
...
During update, RPM cannot simply replace directory by link to direcotry,
therefore create the directory structure and link the files there one by
one (rhbz#1691039).
2019-03-21 10:45:11 +01:00
Vít Ondruch
5aa32e278d
Link IRB back to StdLib.
...
This avoids issues running `$ bin/rails console --sandbox`, which
otherwise breaks with error such as:
~~~
$ bin/rails console --sandbox
Traceback (most recent call last):
12: from bin/rails:4:in `<main>'
11: from bin/rails:4:in `require'
10: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/commands.rb:18:in `<top (required)>'
9: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command.rb:44:in `invoke'
8: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command.rb:70:in `find_by_namespace'
7: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:79:in `lookup'
6: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:79:in `each'
5: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:80:in `block in lookup'
4: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:80:in `each'
3: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:84:in `block (2 levels) in lookup'
2: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:84:in `require'
1: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/commands/console/console_command.rb:3:in `<top (required)>'
/builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/commands/console/console_command.rb:3:in `require': cannot load such file -- irb (LoadError)
~~~
2019-03-19 15:21:09 +01:00
Vít Ondruch
f4c0ae4dea
Upgrade to Ruby 2.6.2.
2019-03-14 17:53:29 +01:00
Vít Ondruch
392287d18b
Fix ".include =" support in openssl.cnf.
...
Because of rhbz#1668916, OpenSSL now supports = character in
openssl.cnf.
2019-03-05 10:39:40 +01:00
Igor Gnatenko
a889754fa2
Rebuild for readline 8.0
2019-02-17 09:30:52 +01:00
Vít Ondruch
f3953123c0
Don't ship .stp files when SystemTap support is disabled.
2019-02-07 15:16:51 +01:00
Vít Ondruch
17f23f30d6
Upgrade to Ruby 2.6.1.
2019-01-31 12:42:56 +01:00
Igor Gnatenko
bc094d8811
Remove obsolete Group tag
...
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:45 +01:00
Vít Ondruch
b610699f35
Upstream fix adding -C flag instead of changing directory for gem build.
2019-01-24 17:18:59 +01:00
Vít Ondruch
1e60df6dc1
Loosen RDoc dependency.
2019-01-24 15:15:00 +01:00