#1111883 remctl: FTBFS with Perl 5.42: t/backend/options.t failure

Package:
src:remctl
Source:
src:remctl
Submitter:
Niko Tyni
Date:
2025-08-23 17:23:01 UTC
Severity:
normal
Tags:
#1111883#5
Date:
2025-08-23 08:41:59 UTC
From:
To:
Source: remctl
Version: 3.18-3
Severity: important
Tags: ftbfs forky sid upstream patch
User: debian-perl@lists.debian.org
Usertags: perl-5.42-transition

This package fails to build with Perl 5.42 (currently in experimental.)

https://perl.debian.net/rebuild-logs/perl-5.42/remctl_3.18-3/remctl_3.18-3+b1_amd64-2025-08-23T07:37:05Z.build

  #   Failed test '...and correct error'
  #   at t/backend/options.t line 96.
  #          got: 'number: value "foo" invalid for option number (integer number expected)
  # '
  #     expected: 'number: value "foo" invalid for option number (number expected)
  # '
  # Looks like you failed 1 test of 13.

This is because Getopt-Long slightly changed its
diagnostics in version 2.58, bundled with Perl 5.42.0. See
https://github.com/sciurius/perl-Getopt-Long/issues/26

Proposed patch attached. I tested lightly that this passes with both
the old and the new Getopt-Long behaviour.

If you want to test changes against Perl 5.42 yourself and run into
uninstallability problems, there is a test repository of rebuilt Debian
sid packages available at <https://perl.debian.net/>.

Thanks for your work on Debian,

#1111883#10
Date:
2025-08-23 17:18:02 UTC
From:
To:
Niko Tyni <ntyni@debian.org> writes:

Thank you! I will try to get this applied soon. (And thank you for all the
work you do to keep Perl up to date in Debian!)