Sunday, 2 February 2025

+1 maintenance report for week#5 2025

Hello,


I was on my sixth +1 maintenance shift this week. I began with the php-defaults transition (PHP 8.4) and later moved to looking into the ruby-rack 3.0.8 transition. I avoided some other clusters - numpy (because ginngs is actively looking into it) and ocaml (because I am completely oblivious to that ecosystem).

php-defaults
============

The cacti package was affected [1] by failures due to warnings related to the deprecation of E_STRICT in php8.4. The package needed a merge with Debian unstable and has now been done by athos. I also found another bug [2] causing cacti to fail on armhf. This armhf failure is not a regression and a later version of cacti has removed the erring code.

[1] https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/2096724
[2] https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/2096752

Package mediawiki [3] and friends are also affected by PHP deprecation warnings. I found this upstream issue [4] fixed [5] in version 1.43. I worked on backporting and extending that fix on the version Debian and Ubuntu are currently using (1.39). However, I later found version 1.43 imported [6] in Debian salsa - though it isnt' uploaded yet. I can confirm that the problem does not happen with 1.43. I have deleted my Ubuntu MP.

[3] https://bugs.launchpad.net/ubuntu/+source/mediawiki/+bug/2096755
[4] https://phabricator.wikimedia.org/T380456
[5] https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1112229
[6] https://salsa.debian.org/mediawiki-team/mediawiki/-/blob/master/debian/changelog?ref_type=heads#L1


The php-db package was affected [7] due to the use of the deprecated E_USER_ERROR. I submitted an Ubuntu MP [8]. A fix has been released by Debian too. But, the Ubuntu package will need a merge with debian/sid.

[7] https://bugs.launchpad.net/ubuntu/+source/php-db/+bug/2096780
[8] https://code.launchpad.net/~pushkarnk/ubuntu/+source/php-db/+git/php-db/+merge/480181

I also fixed a failure [9] in php-fdomdocument due to php8.4 stdlib changes to DOMXPath. Thanks to tsimonq2 for uploading. I have forwarded the fix to Debian, but it fails to build in the current state of the archive.

[9] https://bugs.launchpad.net/ubuntu/+source/php-fdomdocument/+bug/2096868


ruby-rack
=========

Changes in rack 3.X have affected quite a many ruby-* packages. I happened to investigate and fix a few of them. Most of these had existed Debian bug reports. I have also forwarded the fixes to Debian (wherever applicable).

camping
-------
Rack 3 factored out the session functionality into a new rack-session gem (which is now available as a package in Debian & Ubuntu). I submitted a patch [10] to add this new dependency in Debian. Version 2.3-1.1ubuntu1 in Ubuntu has a delta which is now redundant with 2.3-2 in debian/sid. I propose we do a sync after this issue is fixed in debian/sid.

[10] https://salsa.debian.org/ruby-team/camping/-/merge_requests/4

ruby-warden
-----------
Package ruby-warden also needs to be updated [11] to use the new ruby-rack-session dependency.

[11] https://bugs.launchpad.net/ubuntu/+source/ruby-warden/+bug/2096978

unicorn
-------
This patch updates [12] the unicorn tests to adapt to the rack 3 lint mandate of having lowercase headers with HTTP/2

[12] https://code.launchpad.net/~pushkarnk/ubuntu/+source/unicorn/+git/unicorn/+merge/480359

ruby-sinatra
------------
WEBrick was removed as a bundled gem by Ruby 3 and sinatra only recommends puma as the web-server, with rackup having dropped the WEBrick dependency. The smoke-test now needs rackup and puma to run. Thanks tsimonq2 for sponsoring [13].

[13] https://code.launchpad.net/~pushkarnk/ubuntu/+source/ruby-sinatra/+git/ruby-sinatra/+merge/480424

ruby-sprockets & tdiary
-----------------------
Package diary is FTBFS because we do not have a rack 3 adapted ruby-sprockets. The latter has an Ubuntu delta and I had to do a merge [14] with the latest release debian/sid. Consequently, tdiary [15] builds and the tests pass. Thanks to tsimonq2 for sponsoring.

[14] https://code.launchpad.net/~pushkarnk/ubuntu/+source/ruby-sprockets/+git/ruby-sprockets/+merge/480436
[15] https://bugs.launchpad.net/ubuntu/+source/tdiary/+bug/2097086


Miscellaneous
=============

node-luxon
----------
Package nodejs 20.18.1+dfsg-1ubuntu2 [16] builds against ICU 76.1-1 which includes CLDR 46. The latter has a Date & Time delta for the kn (Kannada) and ta (Tamil) locales. As a result upstream tests of node-luxon are affected. This hasn't affected Debian/unstable yet, where ICU 76.1 is currently in Debian experimental. I submitted an Ubuntu MP [17] and an upstream PR [18].

[16] https://launchpad.net/ubuntu/+source/nodejs/20.18.1+dfsg-1ubuntu2
[17] https://bugs.launchpad.net/ubuntu/+source/node-luxon/+bug/2096900
[18] https://github.com/moment/luxon/pull/1680


And that was all for the past week. Thanks for reading!