Bug#1078094: libcatmandu-perl: Catmandu::Util warns on usage with Perl 5.40: Attempt to call undefined import method with arguments

Niko Tyni ntyni at debian.org
Tue Aug 6 21:45:36 BST 2024


Package: libcatmandu-perl
Version: 1.2021-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.40-transition

The Catmandu::Util module in this package warns on usage with Perl 5.40
(currently in experimental).  This causes an autopkgtest regression in
the libcatmandu-xsd-perl package, hence the severity.

  https://ci.debian.net/packages/libc/libcatmandu-xsd-perl/unstable/amd64/50042235/

  $ perl -w -e 'use Catmandu::XSD'
  Attempt to call undefined import method with arguments ("is_string") via package "Catmandu::Util" (Perhaps you forgot to load the package?) at /usr/share/perl5/Catmandu/Error.pm line 47.
  $ perl -w -e 'use Catmandu::Util'
  Attempt to call undefined import method with arguments ("is_string") via package "Catmandu::Util" (Perhaps you forgot to load the package?) at /usr/share/perl5/Catmandu/Error.pm line 47.

Information on the new warning can be found at

  https://metacpan.org/dist/perl/view/pod/perldelta.pod#Calling-the-import-method-of-an-unknown-package-produces-a-warning

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list