+1 Maintenance report - Week 34

I was on +1 maintenance this week and here is my report.

ruby-defaults 1:3.3~ubuntu3 transition

I spent most of the time on the autopkgtest failures reported against the transition. I did an initial triage of the failures and then decided to focus on two categories of failures:

Category 1: Removal of the three-argument overload of Regexp::new (Regexp::compile is an alias)

A total of 6 packages are affected by this. I have grouped these packages under bug 2077502.
Ruby 3.3 removed support for the “encoding” argument to method Regexp::new/::compile. This argument was deprecated by Ruby 3.2 and only values ‘n’ and ‘N’, corresponding to Regexp::NOENCODING were supported. Ruby 3.3 removes the argument and recommends accommodating it in the 'flags. See the release notes here and the bug report.

I have merge-proposals submitted for the affected packages. See here for details.

Category 2: Changes in the minitest gem API

A total of 20 packages seem to be affected by this. I have grouped them under bug 2077617.
Ruby 3.3 includes minitest 5.20.0. Version 5.19.0 of the minitest gem, stopped loading the MiniTest class by default and users are not expected to use “Minitest” (instead of MiniTest). However, use of environment variable MT_COMPAT falls back to the old behaviour and no code changes are needed. See this.

I have merge-proposals submitted for most of the affected packages. See here for details. Thanks to Athos for sponsoring! I liked this suggestion from Athos, in this context.

Currently, the remaining autopkgtest failures in the ruby-defaults cluster can be grouped into:

  1. Failures due to unmet dependencies - i386 (37 packages), all-archs (3 packages)
    The all-archs list has drastically reduced this week. Thanks to NCRs done by Lucas Kanashiro. Lucas also seems to be working through the i386 list.
  2. Failures due to missing gems like method_source, octokit, sqlite3 and sprocket. See this.
  3. Other miscellaneous test failures. Again, see this.

This should be a good list of todos for the next +1 shift :slight_smile:

I also worked on a couple of FTBFSs on the first day of the shift.

FTBFS in crack

The crack package FTBFS on armhf because it assumes sizeof(long) == sizeof(time_t).
Bug report: Bug #2077298 “Version 5.0a-15 FTBFS on armhf” : Bugs : crack package : Ubuntu
MP: https://code.launchpad.net/~pushkarnk/ubuntu/+source/crack/+git/crack/+merge/471486

FTBFS in eiciel

A new overload of Gdk::Cursor::create() added in gtkmm4.0 4.15.0-1 seems to confuse the C++ compiler. We can work-around the ambiguity.
Bug report: Bug #2077346 “Version 0.10.1-1 FTBFS” : Bugs : eiciel package : Ubuntu
MP: https://code.launchpad.net/~pushkarnk/ubuntu/+source/eiciel/+git/eiciel/+merge/471528

Thanks for reading through!

Regards,
Pushkar