Bug#1078075: libgetopt-long-descriptive-perl: FTBFS with Perl 5.40: t/descriptive.t failure

Niko Tyni ntyni at debian.org
Tue Aug 6 17:06:31 BST 2024


Package: libgetopt-long-descriptive-perl
Version: 0.111-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.40-transition
Tags: fixed-upstream

This package fails to build from source with Perl 5.40 (currently in
experimental.)

  #   Failed test 'got one warning about ambiguity of options'
  #   at t/descriptive.t line 465.
  # warning: Getopt::Long::Descriptive was configured with these ambiguous options: f
  # warning: Duplicate specification "faith|f" for option "f"
  # Looks like you failed 1 test of 60.

This is fixed upstream in 0.112, but requires a newer Getopt::Long that
causes the test failure in the first place. Seems like an unfortunate
coupling of the two, particularly as Getopt::Long is bundled with
Perl itself.

Not sure what to do about this. Packaging Getopt::Long separately just
for this feels overkill. Just bear with it and upload the newer version
in lockstep with the Perl 5.40 transition?  We might want a Breaks entry
for the older version on the Perl side in that case.

OTOH it's just test-only breakage AFAICS so I guess we could just
patch the failing test out temporarily to lift the lockstep migration
requirement...

A full build log is at

  https://perl.debian.net/rebuild-logs/perl-5.40-throwaway/libgetopt-long-descriptive-perl_0.111-1/libgetopt-long-descriptive-perl_0.111-1_amd64-2024-08-04T07:43:50Z.build

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list