On Ubuntu 24.04, the shipped version of the library is v2.00. Debian 12 has v0.01. The feature it self works fine on either, but v2.00 introduced a warning that is making our test suite to fail [1]. On version v2.01 the author fixed the warning [2] To reproduce: 1. Start an Ubuntu 24.04 KTD: $ KOHA_IMAGE=main-noble ktd --name noble up -d 2. Run: $ ktd --name noble --shell k$ pmvers GD::Barcode::QRcode => 2.00 3. Run: k$ prove t/db_dependent/Koha/Auth/TwoFactorAuth.t => FAIL: Tests fail! 4. Run: k$ sudo cpanm -i GD::Barcode::QRcode@2.01 5. Repeat 3 => SUCCESS: Tests pass! 6. Exit the 24.04 KTD and stop it: k$ exit $ ktd --name noble down 7. Start a Debian 12 KTD: $ KOHA_IMAGE=main-bookworm ktd --name bookworm up -d 8. Run: $ ktd --name bookworm --shell k$ pmvers GD::Barcode::QRcode => 0.01 9. Run: k$ prove t/db_dependent/Koha/Auth/TwoFactorAuth.t => SUCCESS: Tests pass! 10. Run: k$ sudo cpanm -i GD::Barcode::QRcode@2.01 11. Repeat 9 => SUCCESS: Tests still pass! [1] https://jenkins.koha-community.org/job/Koha_Main_U24/lastCompletedBuild/consoleFull [2] https://github.com/mbeijen/GD-Barcode/commit/85e7911e65bf1c4746d9ce2e743580bbf51da793
I would like to add that Debian Trixie also ships the 'faulty' v2.00.
Created attachment 185513 [details] [review] Bug 40663: Update GD::Barcode::QRcode to v2.01 1. Start an Ubuntu 24.04 KTD: $ KOHA_IMAGE=main-noble ktd --name noble up -d 2. Run: $ ktd --name noble --shell k$ pmvers GD::Barcode::QRcode => 2.00 3. Run: k$ prove t/db_dependent/Koha/Auth/TwoFactorAuth.t => FAIL: Tests fail! 4. Run: k$ sudo cpanm -i GD::Barcode::QRcode@2.01 5. Repeat 3 => SUCCESS: Tests pass! 6. Exit the 24.04 KTD and stop it: k$ exit $ ktd --name noble down 7. Start a Debian 12 KTD: $ KOHA_IMAGE=main-bookworm ktd --name bookworm up -d 8. Run: $ ktd --name bookworm --shell k$ pmvers GD::Barcode::QRcode => 0.01 9. Run: k$ prove t/db_dependent/Koha/Auth/TwoFactorAuth.t => SUCCESS: Tests pass! 10. Run: k$ sudo cpanm -i GD::Barcode::QRcode@2.01 11. Repeat 9 => SUCCESS: Tests still pass! Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>