Bug#1026744: libcgi-application-plugin-captcha-perl: FTBFS: dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255

Lucas Nussbaum lucas at debian.org
Tue Dec 20 17:28:45 GMT 2022


Source: libcgi-application-plugin-captcha-perl
Version: 0.04-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	/usr/bin/perl Build.PL --installdirs vendor --config "optimize=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
> Created MYMETA.yml and MYMETA.json
> Creating new 'Build' script for 'CGI-Application-Plugin-CAPTCHA' version '0.04'
>    dh_auto_build
> 	/usr/bin/perl Build
> Building CGI-Application-Plugin-CAPTCHA
>    dh_auto_test
> 	/usr/bin/perl Build test --verbose 1
> # Testing CGI::Application::Plugin::CAPTCHA 0.04, Perl 5.036000, /usr/bin/perl
> t/00-load.t ....... 
> 1..1
> ok 1 - use CGI::Application::Plugin::CAPTCHA;
> ok
> t/01-config.t ..... 
> 1..7
> ok 1 - IMAGE_OPTIONS defined
> ok 2 - CREATE_OPTIONS defined
> ok 3 - PARTICLE_OPTIONS defined
> ok 4 - IMAGE_OPTIONS should be a hashref
> ok 5 - CREATE_OPTIONS should be an arrayref
> ok 6 - PARTICLE_OPTIONS should be an arrayref
> ok 7 - CAP::CAPTCHA died when given invalid options
> ok
> Base class package "HTTP::Server::Simple::CGI" is empty.
>     (Perhaps you need to 'use' the module which defines that package first,
>     or make that module available in @INC (@INC contains: ./t /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl).
>  at t/CAPCServer.pm line 6.
> BEGIN failed--compilation aborted at t/CAPCServer.pm line 6.
> Compilation failed in require at t/02-create.t line 22.
> BEGIN failed--compilation aborted at t/02-create.t line 22.
> t/02-create.t ..... 
> Dubious, test returned 2 (wstat 512, 0x200)
> No subtests run 
> Base class package "HTTP::Server::Simple::CGI" is empty.
>     (Perhaps you need to 'use' the module which defines that package first,
>     or make that module available in @INC (@INC contains: ./t /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/x86_64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl).
>  at t/CAPCServer.pm line 6.
> BEGIN failed--compilation aborted at t/CAPCServer.pm line 6.
> Compilation failed in require at t/03-verify.t line 22.
> BEGIN failed--compilation aborted at t/03-verify.t line 22.
> t/03-verify.t ..... 
> Dubious, test returned 2 (wstat 512, 0x200)
> No subtests run 
> t/pod-coverage.t .. 
> 1..1
> ok 1 - Pod coverage on CGI::Application::Plugin::CAPTCHA
> ok
> t/pod.t ........... 
> 1..1
> ok 1 - POD test for blib/lib/CGI/Application/Plugin/CAPTCHA.pm
> ok
> 
> Test Summary Report
> -------------------
> t/02-create.t   (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> t/03-verify.t   (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> Files=6, Tests=10,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.66 cusr  0.11 csys =  0.80 CPU)
> Result: FAIL
> Failed 2/6 test programs. 0/10 subtests failed.
> dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/libcgi-application-plugin-captcha-perl_0.04-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-perl-maintainers mailing list