Hi everybody,
Dne 15.1.2016 v 14:31 Mamoru TASAKA napsal(a):
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.
Postgres guys are aware and looking into this. There is already used
some "safelevel" parameter, not sure if lowering to 1 would help.
Otherwise, some patching (mostly code removal will be needed, something
along these lines:
https://bugs.ruby-lang.org/issues/5455). Will see.
libguestfs: not tried
I asked Rich about rebuild and since they are building quite often, we
agreed that we will look into this after merge of side tag.
shogun: not tried
This is blocked by SWIG if I am not mistaken. And SWIG is broken for
Ruby 2.3:
https://github.com/swig/swig/issues/593
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
Have not looked into this yet. Weird error.
This seems to be SWIG yet again.
From my POV, we are good to merge back into the master. Mamoru, please
ask rel-engs if you like, or I'll ask them on Monday (unless there
arises some real blocker). And thank you for the help with rebuild!
Vít