Dne 29. 01. 19 v 13:06 Mamoru TASAKA napsal(a):
Vít Ondruch wrote on 2019/01/29 20:58:
> Dne 29. 01. 19 v 12:29 Mamoru TASAKA napsal(a):
>> Zdenek Dohnal wrote on 2019/01/29 18:07:
>>> I'm just adding my 'cent' to ruby 2.6 mass rebuild - Vim started
>>> fail after ruby-2.6 was introduced to rawhide, but it fails only on
>>> i686 and armv7hl:
>>> task: https://koji.fedoraproject.org/koji/taskinfo?taskID=32309685
>>> task: https://koji.fedoraproject.org/koji/taskinfo?taskID=32309687
>>> The error looks like mistake in C programming, but I already tried to
>>> build current Vim with old ruby in copr and the build passes, but it
>>> fails with new ruby. Did anyone encounter such errors with new ruby?
>> Actually this is due to API change on rb_int2big in ruby 2.6:
> Right. Please see the attached patch for naive fix of this issue (it
> builds on i686 with the patch, that is all I tested). However, there
> should be probably some Ruby version checks, because I suspect the patch
> won't work on Ruby 2.5 and older.
> I'll probably open Ruby upstream ticket pointing out the issue. But not
> sure what anwer to expect ¯\_(ツ)_/¯
Or the attached patch may be preferable (ruby version check added).
Looks better. Thx.
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines