Bug#1078061: libencode-imaputf7-perl: FTBFS with Perl 5.40: Attempt to call undefined import method with arguments ("encode" ...)

Niko Tyni ntyni at debian.org
Tue Aug 6 13:00:35 BST 2024


Source: libencode-imaputf7-perl
Version: 1.05-2.1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.40-transition
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=149091

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

  #   Failed test 'no warnings'
  #   at /usr/share/perl/5.40/Test/Builder.pm line 193.
  # There were 1 warning(s)
  #     Previous test 0 ''
  #     Attempt to call undefined import method with arguments ("encode" ...) via package "Encode::IMAPUTF7" (Perhaps you forgot to load the package?) at t/0-test.t line 9.
  #  at t/0-test.t line 9.
  # 	main::BEGIN() called at t/0-test.t line 9
  # 	eval {...} called at t/0-test.t line 9
  # 
  # Looks like you failed 1 test of 2.
  t/0-test.t ....... 
  1..2
  ok 1 - IMAP-UTF-7 RT:ksc5601.utf
  not ok 2 - no warnings
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/2 subtests 

Information on the new warning that seems to cause this can be found at

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

A full build log is at

  https://perl.debian.net/rebuild-logs/perl-5.40-throwaway/libencode-imaputf7-perl_1.05-2.1/libencode-imaputf7-perl_1.05-2.1_amd64-2024-08-04T07:03:26Z.build

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list