Bug#1093440: libatteanx-store-dbi-perl: FTBFS: Failed test 'no (unexpected) warnings (via done_testing)'
Santiago Vila
sanvila at debian.org
Sat Jan 18 19:24:34 GMT 2025
Package: src:libatteanx-store-dbi-perl
Version: 0.002-3
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor "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" "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"
Warning: prerequisite HTTP::Message::PSGI 0 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for AtteanX::Store::DBI
Writing MYMETA.yml and MYMETA.json
dh_auto_build
make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp lib/AtteanX/Store/DBI.pm blib/lib/AtteanX/Store/DBI.pm
cp lib/Test/AtteanX/Store/DBI.pm blib/lib/Test/AtteanX/Store/DBI.pm
cp bin/attean_dbi blib/script/attean_dbi
"/usr/bin/perl" "-Iinc" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/attean_dbi
Manifying 1 pod document
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
make -j2 test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/store-dbi-mysql.t line 2.
t/store-dbi-mysql.t ....... skipped: Set the MySQL environment variables to run these tests (ATTEAN_STORE_MYSQL_DATABASE, ATTEAN_STORE_MYSQL_HOST, ATTEAN_STORE_MYSQL_PORT, ATTEAN_STORE_MYSQL_USER, ATTEAN_STORE_MYSQL_PASSWORD)
Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/store-dbi-postgresql.t line 2.
t/store-dbi-postgresql.t .. skipped: Set the MySQL environment variables to run these tests (ATTEAN_STORE_PG_DATABASE, ATTEAN_STORE_PG_HOST, ATTEAN_STORE_PG_USER, ATTEAN_STORE_PG_PASSWORD)
Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/store-dbi-sqlite.t line 2.
Overwriting existing sub 'Test::AtteanX::Store::DBI::done_testing' with sub 'done_testing' exported by Test::Modern at /usr/share/perl5/Moo/_Utils.pm line 113.
# Failed test 'no (unexpected) warnings (via done_testing)'
# at t/store-dbi-sqlite.t line 80.
# Looks like you failed 1 test of 2.
t/store-dbi-sqlite.t ......
# Subtest: testing with main
# Subtest: SQLite STRSTARTS SARG with string literal
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - generated SQL
ok 3 - bound values
1..3
ok 1 - SQLite STRSTARTS SARG with string literal
# Subtest: SQLite STRSTARTS SARG with language literal
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - generated SQL
ok 3 - bound values
1..3
ok 2 - SQLite STRSTARTS SARG with language literal
# Subtest: quadstore roles
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
1..6
ok 3 - quadstore roles
# Subtest: quadstore get_quads empty
ok 1
ok 2
1..2
ok 4 - quadstore get_quads empty
# Subtest: quadstore get_quads with quads
ok 1 - 2 quads
ok 2 - 1 quad with <s> as subject
ok 3 - 2 quads with <g> as graph
ok 4 - 0 quads with <abc> as subject
1..4
ok 5 - quadstore get_quads with quads
# Subtest: count_quads
ok 1 - 2 quads
ok 2 - 1 quad with <s> as subject
ok 3 - 2 quads with <g> as graph
ok 4 - 0 quads with <abc> as subject
ok 5 - count_quads_estimate
1..5
ok 6 - count_quads
# Subtest: size
ok 1
1..1
ok 7 - size
# Subtest: get_graphs
ok 1
1..1
ok 8 - get_graphs
# Subtest: mutablequadstore add_quad
ok 1 - size 1
ok 2 - size 2
ok 3 - size 3
1..3
ok 9 - mutablequadstore add_quad
# Subtest: mutablequadstore remove_quad
ok 1 - size 3
ok 2 - size 2
ok 3 - size 1
ok 4 - size 0
1..4
ok 10 - mutablequadstore remove_quad
# Subtest: mutablequadstore create_graph
ok 1
ok 2
ok 3
ok 4
1..4
ok 11 - mutablequadstore create_graph
# Subtest: mutablequadstore drop_graph
ok 1
ok 2
ok 3
ok 4
1..4
ok 12 - mutablequadstore drop_graph
# Subtest: mutablequadstore clear_graph
ok 1
ok 2
ok 3
ok 4
1..4
ok 13 - mutablequadstore clear_graph
# Subtest: ISLITERAL type constraint SARG
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - generated SQL
ok 3
1..3
ok 14 - ISLITERAL type constraint SARG
# Subtest: ISBLANK type constraint SARG
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - generated SQL
ok 3 - bound values
1..3
ok 15 - ISBLANK type constraint SARG
# Subtest: ISLITERAL type constraint SARG
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - generated SQL
ok 3 - bound values
1..3
ok 16 - ISLITERAL type constraint SARG
# Subtest: ISIRI type constraint SARG
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - generated SQL
ok 3
1..3
ok 17 - ISIRI type constraint SARG
# Subtest: STRSTARTS
# Subtest: STR()
ok 1 - result count
ok 2 - literal value
ok 3 - literal value
1..3
ok 1 - STR()
# Subtest: xsd:string
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - result count
ok 3 - literal value
ok 4 - literal value
1..4
ok 2 - xsd:string
# Subtest: language string
ok 1 - An object of class 'AtteanX::Store::DBI::Plan' isa 'AtteanX::Store::DBI::Plan'
ok 2 - result count
ok 3 - literal value
1..3
ok 3 - language string
1..3
ok 18 - STRSTARTS
1..18
ok 1 - testing with main
not ok 2 - no (unexpected) warnings (via done_testing)
1..2
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
Test Summary Report
-------------------
t/store-dbi-sqlite.t (Wstat: 256 (exited 1) Tests: 2 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=3, Tests=2, 5 wallclock secs ( 0.02 usr 0.00 sys + 1.89 cusr 0.29 csys = 2.20 CPU)
Result: FAIL
Failed 1/3 test programs. 1/2 subtests failed.
make[1]: *** [Makefile:779: test_dynamic] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
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/202501/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
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 add an affects on src:libatteanx-store-dbi-perl, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-perl-maintainers
mailing list