Package: rspamd
Version: 3.8.1-1.1
Severity: important
User: [email protected]
Usertags: perl-5.40-transition

This package fails its autopkgtest checks with Perl 5.40 (currently
in experimental.)

  https://ci.debian.net/packages/r/rspamd/unstable/amd64/50047150/

 58s + rspamd_stats --log /dev/null
 58s Duplicate specification "symbol-bidir|S=s@" for option "s"
 58s Duplicate specification "exclude-logs|x=i" for option "x"
 58s Duplicate specification "json|j" for option "j"
 58s 
 58s === Summary 
====================================================================
 58s Messages scanned: 0
 58s 
 58s 
================================================================================
 58s autopkgtest [03:10:50]: test rspamd-stats: -----------------------]
 58s autopkgtest [03:10:50]: test rspamd-stats:  - - - - - - - - - - results - 
- - - - - - - - -
 58s rspamd-stats         FAIL stderr: Duplicate specification 
"symbol-bidir|S=s@" for option "s"

This is probably fallout from a change in the Getopt::Long library:

  https://metacpan.org/dist/Getopt-Long/changes#L34

  * Fix long standing bug that duplicate options were not detected when
    the options differ in case while ignore_case is in effect.
    This will now yield a warning and become a fatal error in a future
    release.

One way to silence the warning might be

    use Getopt::Long qw( :config no_ignore_case );

-- 
Niko Tyni   [email protected]

Reply via email to