Hello, ruby folks:
Vít Ondruch wrote on 01/07/2016 01:21 AM:
Hi all,
You have probably noticed, that Ruby 2.3 was released during Christmas
so we can move forward with the change proposal [1] and get Ruby 2.3 for
F24. Actually, I already obtained build target for Ruby 2.3 [2] and
build ruby-2.3 package and now its time for you to help :)
What does it means? This is the list of packages which very likely needs
to be rebuild:
$ dnf repoquery --disablerepo=* --enablerepo=rawhide
--enablerepo=rawhide-source --arch=src --whatrequires 'ruby-devel' |
sort | uniq
Currently I used:
$ repoquery --disablerepo=\* --enablerepo=koji-ruby24 --whatrequires
'libruby.so.2.2()(64bit)' | sort
Current leftovers (for libruby.so.2.2) are:
postgresql-plruby-0:0.5.4-6.fc23.x86_64
ruby-libguestfs-1:1.33.1-1.fc24.x86_64
ruby-shogun-0:4.0.1-0.6.git20151219.af8c1df.fc24.x86_64
rubygem-raindrops-0:0.13.0-2.fc23.x86_64
subversion-ruby-0:1.9.3-1.fc24.x86_64
postgresql-plruby:
Build fails:
DEBUG: In function 'pl_init_all',
DEBUG: inlined from 'pl_internal_call_handler' at plruby.c:526:9:
DEBUG: plruby.c:1660:5: error: call to 'ruby_safe_level_2_error' declared with
attribute error: $SAFE=2 to 4 are obsolete
DEBUG: rb_set_safe_level(MAIN_SAFE_LEVEL);
DEBUG: ^
DEBUG: Makefile:239: recipe for target 'plruby.o' failed
Looks like $SAFE on ruby2.3 is valid only if it is 0 or 1.
libguestfs: not tried
shogun: not tried
rubygem-raindrops:
Test fails.
DEBUG: # Running:
DEBUG: ...E...............
DEBUG: Finished in 0.455880s, 41.6777 runs/s, 372.9054 assertions/s.
DEBUG: 1) Error:
DEBUG: TestLinux#test_unix_resolves_symlinks:
DEBUG: RegexpError: /.../n has a non escaped non ASCII character in non ASCII-8BIT script
DEBUG:
/builddir/build/BUILD/rubygem-raindrops-0.13.0/usr/share/gems/gems/raindrops-0.13.0/lib/raindrops/linux.rb:57:in
`unix_listener_stats'
DEBUG:
/builddir/build/BUILD/rubygem-raindrops-0.13.0/usr/share/gems/gems/raindrops-0.13.0/test/test_linux.rb:97:in
`test_unix_resolves_symlinks'
DEBUG: 19 runs, 170 assertions, 0 failures, 1 errors, 0 skips
subversion:
Test fails.
koji.fedoraproject.org/koji/taskinfo?taskID=12558220
You can take the and just fire rebuild, but please, you should be using
f24-ruby build target, i.e. the build command should look like:
$ fedpkg build --target f24-ruby
Regards,
Mamoru