Bug#1084764: libcaptcha-recaptcha-v3-perl: FTBFS with unshare backend

Santiago Vila sanvila at debian.org
Mon Oct 7 23:40:58 BST 2024


Package: src:libcaptcha-recaptcha-v3-perl
Version: 0.05-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
	/usr/bin/perl Build.PL --installdirs vendor --config "optimize=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro"
Creating new 'Build' script for 'Captcha-reCAPTCHA-V3' version '0.05'
    dh_auto_build
	/usr/bin/perl Build
cp lib/Captcha/reCAPTCHA/V3.pm blib/lib/Captcha/reCAPTCHA/V3.pm
cp share/template.tx blib/lib/auto/share/dist/Captcha-reCAPTCHA-V3/template.tx
cp share/Plack.pl blib/lib/auto/share/dist/Captcha-reCAPTCHA-V3/Plack.pl
    dh_auto_test
	/usr/bin/perl Build test --verbose 1
t/00_compile.t ........
1..2
ok 1 - use Captcha::reCAPTCHA::V3;
ok 2 - An object of class 'Captcha::reCAPTCHA::V3' isa 'Captcha::reCAPTCHA::V3'
ok
something wrong to POST by libwww-perl/6.77
  at t/01_compatibility.t line 7.
# Looks like your test exited with 22 before it could output anything.
t/01_compatibility.t ..
1..1
Dubious, test returned 22 (wstat 5632, 0x1600)
Failed 1/1 subtests
t/02_javascript.t .....
1..13
ok 1 # skip Network test
ok 2 # skip Network test
ok 3 # skip Network test
ok 4 # skip Network test
ok 5 # skip Network test
ok 6 # skip Network test
ok 7 # skip Network test
ok 8 # skip Network test
ok 9 # skip Network test
ok 10 # skip Network test
ok 11 # skip Network test
ok 12 # skip Network test
ok 13 # skip Network test
ok
t/03_overload.t .......
1..3
ok 1 - the dfault name is g-recaptcha-response
ok 2 - the overload works
ok 3 - succeed to rename
ok

Test Summary Report
-------------------
t/01_compatibility.t (Wstat: 5632 (exited 22) Tests: 0 Failed: 0)
   Non-zero exit status: 22
   Parse errors: Bad plan.  You planned 1 tests but ran 0.
Files=4, Tests=18,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.20 cusr  0.07 csys =  0.30 CPU)
Result: FAIL
dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 1
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

The unshare backend of sbuild was used for the build. A failure usually
indicates the package is trying to access Internet.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the pkg-perl-maintainers mailing list