Source: libcgi-application-plugin-authentication-perl
Version: 0.23+~cs0.5-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231028 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<>/driver-dbic'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness"
> "-e" "undef *Test::Harness::Switches; test_harness(1, '../blib/lib',
> '../blib/arch')" t/*.t
> t/00-signature.t skipped: Set the environment variable
> TEST_SIGNATURE to enable this test.
> # Testing CGI::Application::Plugin::Authentication::Driver::DBIC 0.02, Perl
> 5.036000, /usr/bin/perl
> t/01-load.t .
> 1..1
> ok 1 - use CGI::Application::Plugin::Authentication::Driver::DBIC;
> ok
> DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use
> search( \%condition ) instead at
> /<>/driver-dbic/../blib/lib/CGI/Application/Plugin/Authentication/Driver/DBIC.pm
> line 121
> t/authenticate.t
> 1..8
> ok 1 - missing credentials - login failure
> ok 2 - missing credentials - username not set
> ok 3 - successful login
> ok 4 - successful login - username set
> ok 5 - successful login - failed login count
> ok 6 - login failure
> ok 7 - login failure - username not set
> ok 8 - login failure - failed login count
> ok
> DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use
> search( \%condition ) instead at
> /<>/driver-dbic/../blib/lib/CGI/Application/Plugin/Authentication/Driver/DBIC.pm
> line 121
> t/authenticate_crypt.t ..
> 1..3
> ok 1 - successful login crypt
> ok 2 - successful login crypt - username set
> ok 3 - successful login crypt - failed login count
> ok
> DBIx::Class::ResultSet::search_rs(): search( %condition ) is deprecated, use
> search( \%condition ) instead at
> /<>/driver-dbic/../blib/lib/CGI/Application/Plugin/Authentication/Driver/DBIC.pm
> line 121
> t/authenticate_md5.t
> 1..3
> ok 1 - successful login MD5
> ok 2 - successful login MD5 - username set
> ok 3 - successful login MD5 - failed login count
> ok
> t/pod-coverage.t skipped: Test::Pod::Coverage 1.04 required for
> testing POD coverage
> t/pod.t . skipped: Test::Pod 1.14 required for testing POD
> All tests successful.
> Files=7, Tests=15, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.97 cusr 0.20
> csys = 1.21 CPU)
> Result: PASS
> make[3]: Leaving directory '/<>/driver-dbic'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness"
> "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib',
> 'blib/arch')" t/*.t
> t/01_basic.t
> 1..9
> ok 1 - require CGI::Application::Plugin::Authentication;
> ok 2 - warning when the plugin is used in a non-CGIApp module
> ok 3 - instance dies when called passed non CGI::App module
> ok 4 - ->authen called as a class method works
> ok 5 - An object of class 'CGI::Application::Plugin::Authentication' isa
> 'CGI::Application::Plugin::Authentication'
> ok 6 - An object of class 'CGI::Application::Plugin::Authentication' isa
> 'CGI::Application::Plugin::Authentication'
> ok 7 - Objects have same different address
> ok 8 - Objects have same address
> ok 9 - instance dies when called incorrectly
> ok
> t/02_config.t ...
> 1..69
> ok 1 - All config parameters accepted
> ok 2 - credentials set
> ok 3 - An object of class
> 'CGI::Application::Plugin::Authentication::Driver::Generic' isa
> 'CGI::Application::Plugin::Authentication::Driver::Generic'
> ok 4 - An object of class 'Store::Dummy' isa 'Store::Dummy'
> ok 5 - All config parameters accepted
> ok 6 - config dies when DRIVER is passed a hashref
> ok 7 - config accepts single DRIVER without options
> ok 8 - config accepts single DRIVER with options
> ok 9 - config accepts multiple DRIVERs
> ok 10 - config dies when STORE is passed a hashref
> ok 11 - config accepts STORE without options
> ok 12 - config accepts STORE with options
> ok 13 - config dies when LOGIN_RUNMODE is passed a hashref
> ok 14 - config accepts LOGIN_RUNMODE as a string
> ok 15 - config dies when LOGIN_URL is passed a hashref
> ok 16 - config accepts LOGIN_URL as a string
> ok 17 - LOGIN_URL ignored when LOGIN_RUNMODE is configured
> ok 18 - config dies when LOGOUT_RUNMODE is passed a hashref
> ok 19 - config accepts LOGOUT_RUNMODE as a string
> ok 20 - config dies when LOGOUT_URL is passed a hashref
> ok 21 - config accepts LOGOUT_URL as a string
> ok 22 - LOGOUT_URL ignored when LOGOUT_RUNMODE is configured
> ok 23 - config dies when POST_LOGIN_RUNMODE is passed a hashref
> ok 24 - config accepts POST_LOGIN_RUNMODE as a string
> ok 25 - config dies when POST_LOGIN_URL is passed a hashref
> ok 26 - config accepts POST_LOGIN_URL as a string
> ok 27 - POST_LOGIN_UR_URL ignored when POST_LOGIN_RUNMODE is configured
> ok 28 - config dies when