Dne 07. 01. 21 v 15:14 Mamoru TASAKA napsal(a):
Mamoru TASAKA wrote on 2021/01/07 22:41:
> Mamoru TASAKA wrote on 2021/01/07 16:54:
>> Current leftovers (wrt library dependency issue):
>>
>> $ dnf repoquery --repo=koji-ruby30 --qf '%{sourcerpm}'
>> --whatrequires "libruby.so.2.7()(64bit)" | cat -n
>> =================================================================
>> 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
>
> Applying the following makes build succeed... however I am not sure if
> this is correct approach...
> ---------------------------------------------------------------------
> ---
> libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/yui.i.ruby30
> 2021-01-07 16:27:19.835043901 +0900
> +++
> libyui-bindings-59dfa64f05adb40c7da88325255d758f4588ab42/swig/yui.i
> 2021-01-07 17:13:28.648458721 +0900
> @@ -275,7 +275,7 @@
>
> #if defined(SWIGRUBY)
> %extend YEvent {
> - VALUE mywidget() { return INT2FIX( $self->widget() ); }
> + VALUE mywidget() { return INT2FIX( (long)$self->widget() ); }
> }
> #endif
>
Anyway I've applied the above fix for now and build itself now succeeds:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1666141
Asked upstream for verification:
https://github.com/libyui/libyui-bindings/pull/38
Now current leftovers (using old libruby.so.2.7 library):
$ dnf repoquery --repo=koji-ruby30 --qf '%{sourcerpm}' --whatrequires
"libruby.so.2.7()(64bit)" | cat -n
1 libsbml-5.18.0-19.fc34.src.rpm
2 rubygem-debug_inspector-0.0.3-11.fc33.src.rpm
3 rubygem-mysql2-0.5.3-5.fc33.src.rpm
4 rubygem-ox-2.12.1-3.fc33.src.rpm
5 rubygem-raindrops-0.13.0-18.fc33.src.rpm
6 rubygem-unicode-0.4.4.2-17.fc33.src.rpm
Apart from these I found that:
7 puppet is FTBFS:
http://koji.fedoraproject.org/koji/taskinfo?taskID=59131883
/usr/share/ruby/fileutils.rb:865:in `install': wrong number of arguments
(given 3, expected 2) (ArgumentError)
from install.rb:63:in `block in do_configs'
from install.rb:61:in `each'
from install.rb:61:in `do_configs'
from install.rb:493:in `block in <main>'
from /usr/share/ruby/fileutils.rb:139:in `chdir'
from /usr/share/ruby/fileutils.rb:139:in `cd'
from install.rb:475:in `<main>'
8 vim is FTBFS, not sure if it impacts also runtime:
http://koji.fedoraproject.org/koji/taskinfo?taskID=59145293
but there is upstream fix:
https://github.com/vim/vim/pull/7564
and vim maintainer is aware about this issue. He is going to rebase as
soon as we merge.
All in all, I am comfortable with merging this back into the Rawhide,
any objections? If nobody objects in ~1.5h, I'll proceed.
And thx to everybody for the rebuild effort. I think this time we are
done earlier then any time before, which should give us more time to
handle all the remaining glitches, such as webrick/rexml dependnecies
and all the other Ruby incompatibilities.
Vít
Regards,
Mamoru
_______________________________________________
ruby-sig mailing list -- ruby-sig(a)lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-leave(a)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.fedoraprojec...