[request-tracker-maintainers] Bug#1078047: request-tracker4: FTBFS with Perl 5.40: Attempt to call undefined import method with arguments
Niko Tyni
ntyni at debian.org
Tue Aug 6 11:07:00 BST 2024
Source: request-tracker4
Version: 4.4.7+dfsg-1.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.)
I assume adapting the trivial RT5 upstream fix is enough, see
https://github.com/bestpractical/rt/commit/5b9c371b192121c8c28136176fd4e78ee89d647c
# 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 ("1.40") via package "DBIx::SearchBuilder" (Perhaps you forgot to load the package?) at /<<PKGBUILDDIR>>/lib/RT/SearchBuilder.pm line 74.
# at /<<PKGBUILDDIR>>/lib/RT/SearchBuilder.pm line 74.
# RT::SearchBuilder::BEGIN() called at /<<PKGBUILDDIR>>/lib/RT/SearchBuilder.pm line 74
# eval {...} called at /<<PKGBUILDDIR>>/lib/RT/SearchBuilder.pm line 74
# require RT/SearchBuilder.pm called at /usr/lib/x86_64-linux-gnu/perl-base/base.pm line 135
# eval {...} called at /usr/lib/x86_64-linux-gnu/perl-base/base.pm line 103
# base::import("base", "RT::SearchBuilder") called at /<<PKGBUILDDIR>>/lib/RT/Tickets.pm line 73
# RT::Tickets::BEGIN() called at /<<PKGBUILDDIR>>/lib/RT/Tickets.pm line 73
# eval {...} called at /<<PKGBUILDDIR>>/lib/RT/Tickets.pm line 73
# require RT/Tickets.pm called at /<<PKGBUILDDIR>>/lib/RT.pm line 464
# RT::InitClasses() called at /<<PKGBUILDDIR>>/lib/RT/Test.pm line 162
# RT::Test::import("RT::Test", "nodb", 1, "tests", 44) called at t/00-compile.t line 5
# main::BEGIN() called at t/00-compile.t line 5
# eval {...} called at t/00-compile.t line 5
Information on the new warning that seems to be triggering all
the failures 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/request-tracker4_4.4.7+dfsg-1.1/request-tracker4_4.4.7+dfsg-1.1_amd64-2024-08-06T07:50:18Z.build
--
Niko Tyni ntyni at debian.org
More information about the pkg-request-tracker-maintainers
mailing list