Pavel Valena wrote on 2021/01/07 14:19:


----- Original Message -----
From: "Vít Ondruch" <vondr...@redhat.com>
To: ruby-sig@lists.fedoraproject.org
Sent: Wednesday, January 6, 2021 7:23:36 PM
Subject: Re: Ruby 3.0 - Mass rebuild



The PR was merged and should be available in the side tag. Should anybody
package RubyGems plugins, please use the `%{gem_plugin}` macro to own the
RubyGems plugin stub.

I've been creating PRs, mostly, with rexml / webrick dependencies (I'm not 
finished yet).

Mamoru, Vit, thank you for all the builds!

You're welcome!!

Currently 91 packages are using new "libruby.so.3.0()(64bit)" library.
Current leftovers (wrt library dependency issue):

$ dnf repoquery --repo=koji-ruby30 --qf '%{sourcerpm}' --whatrequires 
"libruby.so.2.7()(64bit)" | cat -n
=================================================================
     1  kf5-kross-interpreters-20.08.3-1.fc34.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59090361
/builddir/build/BUILD/kross-interpreters-20.08.3/ruby/rubyinterpreter.cpp:69:5: 
error: 'rb_set_safe_level' was not declared in this scope
   69 |     rb_set_safe_level( info->optionValue("safelevel", 
defaultsafelevel).toInt() );

Perhaps simply calling rb_set_safe_level should be removed?
=================================================================
     2  libsbml-5.18.0-19.fc34.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59090995
configure: error: Doxygen version cannot be greater than 1.8.11, but found 
version 1.8.20.

Perhaps not related to ruby
=================================================================
     3  libyui-bindings-2.0.2-1.fc33.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59088613
/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/x86_64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:
 In function 'VALUE YEvent_mywidget(YEvent*)':
/builddir/build/BUILD/libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/x86_64-redhat-linux-gnu/swig/ruby/yui_ruby.cxx:3287:77:
 error: invalid conversion from 'YWidget*' to 'long int' [-fpermissive]
????
Perhaps related to ruby 3.0 change, however for now I don't know in detail.
Note that build for rawhide succeeds:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59089100
=================================================================
     4  rubygem-debug_inspector-0.0.3-11.fc33.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59090797
current directory: 
/builddir/build/BUILD/debug_inspector-0.0.3/usr/share/gems/gems/debug_inspector-0.0.3/ext/debug_inspector
"make \"DESTDIR=\" clean"
make: *** No rule to make target 'clean'.  Stop.
current directory: 
/builddir/build/BUILD/debug_inspector-0.0.3/usr/share/gems/gems/debug_inspector-0.0.3/ext/debug_inspector
"make \"DESTDIR=\""
echo "Nada."
Nada.

Perhaps building ruby extension is really failing
=================================================================
     5  rubygem-mysql2-0.5.3-5.fc33.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59090805

Failures:
  1) Mysql2::Error encoding returns error messages as UTF-8 by default
  2) Mysql2::Statement should create a statement
  3) Mysql2::Statement close should free server resources

Some test failure
=================================================================
     6  rubygem-ox-2.12.1-3.fc33.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59091142

Failures like:
Error: test_array_multi(Func): FrozenError: can't modify frozen Range: 0..0
=================================================================
     7  rubygem-posix-spawn-0.3.13-7.fc33.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59091190

mv: cannot stat 
'/builddir/build/BUILDROOT/rubygem-posix-spawn-0.3.13-7.fc34.x86_64/usr/share/gems/gems/posix-spawn-0.3.13/lib/posix_spawn_ext.so':
 No such file or directory

Looks like posix_spawn_ext.so is successfully built, but installation 
destination is somehow
wrong.

=================================================================
     8  rubygem-raindrops-0.13.0-18.fc33.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59091207

Many:
TypeError: no implicit conversion of Hash into Integer
=================================================================
     9  rubygem-unicode-0.4.4.2-17.fc33.src.rpm

build fails:
https://koji.fedoraproject.org/koji/taskinfo?taskID=59090709

armv7hl only: document generation segfaults:
Installing darkfish documentation for unicode-0.4.4.2
/usr/share/gems/gems/rdoc-6.3.0/lib/rdoc/markup/to_html.rb:226: [BUG] 
Segmentation fault at 0xb2654000
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [armv7hl-linux]


So currently, packages still using "libruby.so.2.7()(64bit)" (9 packages) all 
fails to build,
and (as I've said above) 91 packages are using new "libruby.so.3.0()(64bit)" 
library.

I think we can merge side build into rawhide main buildroot.

Regards,
Mamoru


_______________________________________________
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org

Reply via email to