Hi,
I have started with with 4.1 development with the first snapshot build based on upstream git revision ad29ad7ad8 .
I will be continually building Fedora Ruby into copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/
The code from/for builds in that copr will be present in my fork on the 4.1 branch: https://src.fedoraproject.org/fork/jackorp/rpms/ruby/commits/4.1
And I plan to do a Fedora gem ecosystem rebuild from time to time in the following dedicated copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-gems/
So far, no big surprises were encoutered on the way to the first successful Fedora Rawhide build in copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/build/11122504...
Regards Jarek
Jarek Prokop via ruby-sig wrote on 2026/10/14 23:49:
Hi,
I have started with with 4.1 development with the first snapshot build based on upstream git revision ad29ad7ad8 .
I will be continually building Fedora Ruby into copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/
The code from/for builds in that copr will be present in my fork on the 4.1 branch: https://src.fedoraproject.org/fork/jackorp/rpms/ruby/commits/4.1
And I plan to do a Fedora gem ecosystem rebuild from time to time in the following dedicated copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-gems/
So far, no big surprises were encoutered on the way to the first successful Fedora Rawhide build in copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/build/11122504...
Regards Jarek
Thank you.
Now first I tried rebuilding rubygem-foo src.rpm depending on ruby C API, and at a quick glance
* test suite fails on rubygem-ffi * some "old" pkgs fails to build due to Data_Wrap_Struct macro deprecation: need migration to TypedData_Wrap_Struct, e.g. https://github.com/eventmachine/eventmachine/pull/1027/
I will (slowly) start looking at these.
Regards, Mamoru
Mamoru TASAKA via ruby-sig wrote on 2026/10/22 23:13:
Jarek Prokop via ruby-sig wrote on 2026/10/14 23:49:
Hi,
I have started with with 4.1 development with the first snapshot build based on upstream git revision ad29ad7ad8 .
I will be continually building Fedora Ruby into copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/
The code from/for builds in that copr will be present in my fork on the 4.1 branch: https://src.fedoraproject.org/fork/jackorp/rpms/ruby/commits/4.1
And I plan to do a Fedora gem ecosystem rebuild from time to time in the following dedicated copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-gems/
So far, no big surprises were encoutered on the way to the first successful Fedora Rawhide build in copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/build/11122504...
Regards Jarek
Thank you.
Now first I tried rebuilding rubygem-foo src.rpm depending on ruby C API, and at a quick glance
- test suite fails on rubygem-ffi
This looks like: https://bugs.ruby-lang.org/issues/22419 , i.e. bugs in ruby itself.
- some "old" pkgs fails to build due to Data_Wrap_Struct macro deprecation: need migration to
TypedData_Wrap_Struct, e.g. https://github.com/eventmachine/eventmachine/pull/1027/
I will (slowly) start looking at these.
rubygem-eventmachine is fixed. I am working slowly on others.
Now one of the biggest issue here is for RoR related packages. RoR related packages has runtime dependency for rubygem(net-pop):
rubygem-rails <- rubygem-actionmailer/rubygem-actionmailbox <- rubygem-mail <- rubygem(net-pop) (and notmuch has runtime dependency for rubygem(net-pop).)
But net/pop is removed from bundled gems: https://bugs.ruby-lang.org/issues/21835 https://github.com/ruby/ruby/pull/16169 https://github.com/ruby/ruby/pull/18173
Now rubygem-mail is FailToInstall, recursively rubygem-rails for ruby4.1. Would someone package rubygem-net-pop? (or if I have time, maybe I try although I will probably seldom use it by myself?)
And also net/ftp is also removed, which will affect vagrant related packages.
Regards, Mamoru
Mamoru TASAKA via ruby-sig wrote on 2026/10/25 21:51:
Now one of the biggest issue here is for RoR related packages. RoR related packages has runtime dependency for rubygem(net-pop):
rubygem-rails <- rubygem-actionmailer/rubygem-actionmailbox <- rubygem-mail <- rubygem(net-pop) (and notmuch has runtime dependency for rubygem(net-pop).)
But net/pop is removed from bundled gems: https://bugs.ruby-lang.org/issues/21835 https://github.com/ruby/ruby/pull/16169 https://github.com/ruby/ruby/pull/18173
Now rubygem-mail is FailToInstall, recursively rubygem-rails for ruby4.1. Would someone package rubygem-net-pop? (or if I have time, maybe I try although I will probably seldom use it by myself?)
So, as rubygem-net-pop will be needed with upcoming ruby4.1, I took a step to submit review request for this:
https://bugzilla.redhat.com/show_bug.cgi?id=2569655
I would appreciate it if someone would review this, and review swap is appreciated.
After the above review request passes, I will check if RoR packages can get rid of FTBFS status with ruby4.1.
And also net/ftp is also removed, which will affect vagrant related packages.
Regards, Mamoru
Dne 22. 10. 26 v 16:13 Mamoru TASAKA via ruby-sig napsal(a):
Jarek Prokop via ruby-sig wrote on 2026/10/14 23:49:
Hi,
I have started with with 4.1 development with the first snapshot build based on upstream git revision ad29ad7ad8 .
I will be continually building Fedora Ruby into copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/
The code from/for builds in that copr will be present in my fork on the 4.1 branch: https://src.fedoraproject.org/fork/jackorp/rpms/ruby/commits/4.1
And I plan to do a Fedora gem ecosystem rebuild from time to time in the following dedicated copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-gems/
So far, no big surprises were encoutered on the way to the first successful Fedora Rawhide build in copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/build/11122504...
Regards Jarek
Thank you.
Now first I tried rebuilding rubygem-foo src.rpm depending on ruby C API, and at a quick glance
- test suite fails on rubygem-ffi
- some "old" pkgs fails to build due to Data_Wrap_Struct macro
deprecation: need migration to TypedData_Wrap_Struct, e.g. https://github.com/eventmachine/eventmachine/pull/1027/
I will (slowly) start looking at these.
Thank you for all the fixes. Seeing the rubygem-bson fix (thx), I have realized that maybe I should mention that some of (my) packages should rather be orphaned/retired. Feel free to point such packages out.
Cheers,
Vít
Regards, Mamoru
Jarek Prokop via ruby-sig wrote on 2026/10/14 23:49:
Hi,
I have started with with 4.1 development with the first snapshot build based on upstream git revision ad29ad7ad8 .
I will be continually building Fedora Ruby into copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/
The code from/for builds in that copr will be present in my fork on the 4.1 branch: https://src.fedoraproject.org/fork/jackorp/rpms/ruby/commits/4.1
And I plan to do a Fedora gem ecosystem rebuild from time to time in the following dedicated copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-gems/
So far, no big surprises were encoutered on the way to the first successful Fedora Rawhide build in copr: https://copr.fedorainfracloud.org/coprs/jackorp/ruby-4.1-main/build/11122504...
Regards Jarek
Hello, all:
So I also have been trying to rebuild packages against ruby4.1.0dev:
Currently I've tried rebuilding rubygem-XXXXX.src.rpm against ◯ ruby 4.1.0dev (2026-11-13 master b9d053cc3f) +PRISM [x86_64-linux]
and the results are located here: ◯ https://copr.fedorainfracloud.org/coprs/mtasaka/rubygems-41-all-01/packages/ (non rubygem-XXXXX.src packages other than cucumber-messages.src are not tested yet)
Again note: As I've said in another mail, with ruby4.1.0dev rubygem-net-pop is removed from default bundled gems:
https://bugs.ruby-lang.org/issues/21835 https://github.com/ruby/ruby/pull/16169 https://github.com/ruby/ruby/pull/18173
This affects RoR related packages: currently I added rubygem-net-pop.src currently in review request:
◯ https://bugzilla.redhat.com/show_bug.cgi?id=2569655
and rebuilt other packages. (Review or swap-review is welcomed)
Note that rubygem-ffi FTBFS is fixed with ruby side: https://bugs.ruby-lang.org/issues/22419 https://github.com/ruby/ruby/commit/7fe831a84b198d617455e71505e20de7635ec749
Current opinion of mine is that we should resolve FTBFS first on the belows: ◯ rubygem-mysql2: - rubygem-railties has Requires for it, recursively RoR packages depends on this. Currently testsuite fails (even for ruby4.0), currently I have no idea. ◯ rubygem-ruby-libvirt - Build fails, already filed on: https://gitlab.com/libvirt/libvirt-ruby/-/work_items/16 ... no response yet. Need to migrate to TypedData API. rubygem-fog-libvirt, vagrant-libvirt depends on this.
One additional note: Among packages currently under FTBFS, rubygem-narray also FTBFS: this also needs migration to TypedData API. However at least me is not going to fix this: no other packages seem to depend on this, and rubygem-narray (in Fedora) seems very old.
Happy hacking!
Regards, Mamoru
ruby-sig@lists.fedoraproject.org