Bug#1093341: librdf-rdfa-generator-perl: FTBFS: Failed 1/4 test programs. 1/25 subtests failed.

Santiago Vila sanvila at debian.org
Fri Jan 17 18:53:38 GMT 2025


Package: src:librdf-rdfa-generator-perl
Version: 0.204-1
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: Older versions of ExtUtils::MakeMaker may errantly install README.pod as part of this distribution. It is recommended to avoid using this path in CPAN modules.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for RDF::RDFa::Generator
Writing MYMETA.yml and MYMETA.json
   dh_auto_build
	make -j2
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm blib/lib/RDF/RDFa/Generator/HTML/Pretty/Note.pm
cp lib/RDF/RDFa/Generator/HTML/Pretty.pm blib/lib/RDF/RDFa/Generator/HTML/Pretty.pm
cp lib/RDF/RDFa/Generator.pm blib/lib/RDF/RDFa/Generator.pm
cp lib/RDF/RDFa/Generator/HTML/Hidden.pm blib/lib/RDF/RDFa/Generator/HTML/Hidden.pm
cp lib/RDF/RDFa/Generator/HTML/Head.pm blib/lib/RDF/RDFa/Generator/HTML/Head.pm
Manifying 2 pod documents
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, 'blib/lib', 'blib/arch')" t/*.t
# Testing RDF::RDFa::Generator 0.204, Perl 5.040000, /usr/bin/perl
t/01basic.t .............. 
1..1
ok 1 - use RDF::RDFa::Generator;
ok
t/02_kk_namespaces.t ..... 
# Subtest: Default generator, old bugfix
    ok 1 - Assignment OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - RDF namespace shouldnt be reversed
    ok 4 - Correct RDF namespace declaration
    1..4
ok 1 - Default generator, old bugfix
# Subtest: Default generator, single given NS
    ok 1 - Assignment of default generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    1..3
ok 2 - Default generator, single given NS
# Subtest: Head generator, single given NS
    ok 1 - Assignment of HTML::Head generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    1..3
ok 3 - Head generator, single given NS
# Subtest: Head generator, list of known prefixes
    ok 1 - Assignment of HTML::Head generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    ok 5 - Correct doap namespace declaration
    1..5
ok 4 - Head generator, list of known prefixes
# Subtest: Head generator, list of known uris
    ok 1 - Assignment of HTML::Head generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    ok 5 - Correct doap namespace declaration
    1..5
ok 5 - Head generator, list of known uris
# Subtest: Head generator, list of unknown uris
    ok 1 - Assignment of HTML::Head generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    1..4
ok 6 - Head generator, list of unknown uris
# Subtest: Pretty generator, single given NS
    ok 1 - Assignment of HTML::Pretty generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    1..3
ok 7 - Pretty generator, single given NS
# Subtest: Pretty generator, list of known prefixes
    ok 1 - Assignment of HTML::Pretty generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    ok 5 - Correct doap namespace declaration
    1..5
ok 8 - Pretty generator, list of known prefixes
# Subtest: Pretty generator, list of known uris
    ok 1 - Assignment of HTML::Pretty generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    ok 5 - Correct doap namespace declaration
    1..5
ok 9 - Pretty generator, list of known uris
# Subtest: Pretty generator, list of unknown uris
    ok 1 - Assignment of HTML::Pretty generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    1..4
ok 10 - Pretty generator, list of unknown uris
# Subtest: Hidden generator, single given NS
    ok 1 - Assignment of HTML::Hidden generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    1..3
ok 11 - Hidden generator, single given NS
# Subtest: Hidden generator, list of known prefixes
    ok 1 - Assignment of HTML::Hidden generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    ok 5 - Correct doap namespace declaration
    1..5
ok 12 - Hidden generator, list of known prefixes
# Subtest: Hidden generator, list of known uris
    ok 1 - Assignment of HTML::Hidden generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    ok 5 - Correct doap namespace declaration
    1..5
ok 13 - Hidden generator, list of known uris
# Subtest: Hidden generator, list of unknown uris
    ok 1 - Assignment of HTML::Hidden generator OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Correct example namespace declaration
    ok 4 - Correct dbo namespace declaration
    1..4
ok 14 - Hidden generator, list of unknown uris
1..14
ok
Overwriting existing sub 'main::done_testing' with sub 'done_testing' exported by Test::Modern at t/03_kk_attean.t line 7.

#   Failed test 'no (unexpected) warnings (via done_testing)'
#   at t/03_kk_attean.t line 76.
# Looks like you failed 1 test of 8.
t/03_kk_attean.t ......... 
ok 1 - use Attean;
ok 2 - use RDF::RDFa::Generator;
# Subtest: Default generator
    ok 1 - Assignment OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Subject URI present
    ok 4 - Type predicate present
    ok 5 - pi predicate present
    ok 6 - pi decimal present
    ok 7 - pi decimal datatype present
    ok 8 - link element just local part
    ok 9 - Object present
    ok 10 - Literals OK
    1..10
ok 3 - Default generator
# Subtest: Hidden generator
    ok 1 - Assignment OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Subject URI present
    ok 4 - Type predicate present
    ok 5 - pi predicate present
    ok 6 - pi decimal present
    ok 7 - pi decimal datatype present
    ok 8 - i element just local part
    ok 9 - Object present
    ok 10 - Literals OK
    1..10
ok 4 - Hidden generator
# Subtest: Pretty generator
    ok 1 - Assignment OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Subject URI present
    ok 4 - Type predicate present
    ok 5 - pi predicate present
    ok 6 - pi decimal present
    ok 7 - pi decimal datatype present
    ok 8 - Language Literal OK
    ok 9 - "Plain" Literal OK
    1..9
ok 5 - Pretty generator
# Subtest: Pretty generator with interlink
    ok 1 - Assignment OK
    ok 2 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 3 - Subject URI present
    ok 4 - Type predicate present
    ok 5 - pi predicate present
    ok 6 - pi decimal present
    ok 7 - pi decimal datatype present
    ok 8 - div element just local part
    ok 9 - Literals OK
    1..9
ok 6 - Pretty generator with interlink
# Subtest: Pretty generator with Note
    ok 1 - Note creation OK
    ok 2 - Assignment OK
    ok 3 - An object of class 'XML::LibXML::Document' isa 'XML::LibXML::Document'
    ok 4 - Subject URI present
    ok 5 - Type predicate present
    ok 6 - pi predicate present
    ok 7 - pi decimal present
    ok 8 - pi decimal datatype present
    ok 9 - aside element found
    ok 10 - Note text found
    1..10
ok 7 - Pretty generator with Note
not ok 8 - no (unexpected) warnings (via done_testing)
1..8
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/8 subtests 
t/uninit_lang_warning.t .. 
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.0">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>RDFa Document</title>
<meta name="generator" value="RDF::RDFa::Generator::HTML::Pretty"/>
</head>
<body>
<h1>RDFa Document</h1>
<main><div xmlns:adms="http://www.w3.org/ns/adms#" xmlns:ex="http://example.org/" xmlns:rr="http://www.w3.org/ns/r2rml#" xmlns:vcard="http://www.w3.org/2006/vcard/ns#" xmlns:dbo="http://dbpedia.org/ontology/" xmlns:ctag="http://commontag.org/ns#" xmlns:dctype="http://purl.org/dc/dcmitype/" xmlns:dc11="http://purl.org/dc/elements/1.1/" xmlns:time="http://www.w3.org/2006/time#" xmlns:csvw="http://www.w3.org/ns/csvw#" xmlns:gr="http://purl.org/goodrelations/v1#" xmlns:vann="http://purl.org/vocab/vann/" xmlns:deps="http://ontologi.es/doap-deps#" xmlns:sd="http://www.w3.org/ns/sparql-service-description#" xmlns:gn="http://www.geonames.org/ontology#" xmlns:rev="http://purl.org/stuff/rev#" xmlns:dc="http://purl.org/dc/terms/" xmlns:as="https://www.w3.org/ns/activitystreams#" xmlns:prov="http://www.w3.org/ns/prov#" xmlns:org="http://www.w3.org/ns/org#" xmlns:schema="http://schema.org/" xmlns:jsonld="http://www.w3.org/ns/json-ld#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:ma="http://www.w3.org/ns/ma-ont#" xmlns:ldp="http://www.w3.org/ns/ldp#" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#" xmlns:acl="http://www.w3.org/ns/auth/acl#" xmlns:rel="http://purl.org/vocab/relationship/" xmlns:pos="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:odrl="http://www.w3.org/ns/odrl/2/" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#" xmlns:duv="http://www.w3.org/ns/duv#" xmlns:skosxl="http://www.w3.org/2008/05/skos-xl#" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:bibo="http://purl.org/ontology/bibo/" xmlns:solid="http://www.w3.org/ns/solid/terms#" xmlns:dbp="http://dbpedia.org/property/" xmlns:qb="http://purl.org/linked-data/cube#" xmlns:v="http://rdf.data-vocabulary.org/#" xmlns:hydra="http://www.w3.org/ns/hydra/core#" xmlns:yago="http://yago-knowledge.org/resource/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:wdr="http://www.w3.org/2007/05/powder#" xmlns:og="http://ogp.me/ns#" xmlns:rdfa="http://www.w3.org/ns/rdfa#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:frbr="http://purl.org/vocab/frbr/core#" xmlns:sosa="http://www.w3.org/ns/sosa/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wdrs="http://www.w3.org/2007/05/powder-s#" xmlns:earl="http://www.w3.org/ns/earl#" xmlns:event="http://purl.org/NET/c4dm/event.owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:cc="http://creativecommons.org/ns#" xmlns:void="http://rdfs.org/ns/void#" xmlns:ssn="http://www.w3.org/ns/ssn/" xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#" xmlns:oa="http://www.w3.org/ns/oa#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:dqv="http://www.w3.org/ns/dqv#" xmlns:rif="http://www.w3.org/2007/rif#" xmlns:doap="http://usefulinc.com/ns/doap#"><div about="[_:x]"><h3 class="blank">_:x</h3><dl><dt title="http://example.org/p">ex:p</dt><dd property="ex:p" class="typed-literal" datatype="xsd:string">3</dd></dl></div></div></main>
<footer>
<p><small>Generated by RDF::RDFa::Generator::HTML::Pretty.</small></p>
</footer>
</body>
</html>
ok 1 - pretty - no uninitalized value warning ok
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml" version="XHTML+RDFa 1.0">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<title>RDFa Document</title>
<meta name="generator" value="RDF::RDFa::Generator::HTML::Head"/>
<meta xmlns:skosxl="http://www.w3.org/2008/05/skos-xl#" xmlns:solid="http://www.w3.org/ns/solid/terms#" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:bibo="http://purl.org/ontology/bibo/" xmlns:dbp="http://dbpedia.org/property/" xmlns:qb="http://purl.org/linked-data/cube#" xmlns:hydra="http://www.w3.org/ns/hydra/core#" xmlns:v="http://rdf.data-vocabulary.org/#" xmlns:yago="http://yago-knowledge.org/resource/" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:wdr="http://www.w3.org/2007/05/powder#" xmlns:og="http://ogp.me/ns#" xmlns:wdrs="http://www.w3.org/2007/05/powder-s#" xmlns:sosa="http://www.w3.org/ns/sosa/" xmlns:earl="http://www.w3.org/ns/earl#" xmlns:frbr="http://purl.org/vocab/frbr/core#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdfa="http://www.w3.org/ns/rdfa#" xmlns:event="http://purl.org/NET/c4dm/event.owl#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:cc="http://creativecommons.org/ns#" xmlns:ssn="http://www.w3.org/ns/ssn/" xmlns:void="http://rdfs.org/ns/void#" xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#" xmlns:oa="http://www.w3.org/ns/oa#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:dqv="http://www.w3.org/ns/dqv#" xmlns:rif="http://www.w3.org/2007/rif#" xmlns:doap="http://usefulinc.com/ns/doap#" xmlns:adms="http://www.w3.org/ns/adms#" xmlns:ex="http://example.org/" xmlns:rr="http://www.w3.org/ns/r2rml#" xmlns:dbo="http://dbpedia.org/ontology/" xmlns:vcard="http://www.w3.org/2006/vcard/ns#" xmlns:ctag="http://commontag.org/ns#" xmlns:dctype="http://purl.org/dc/dcmitype/" xmlns:dc11="http://purl.org/dc/elements/1.1/" xmlns:time="http://www.w3.org/2006/time#" xmlns:gr="http://purl.org/goodrelations/v1#" xmlns:csvw="http://www.w3.org/ns/csvw#" xmlns:vann="http://purl.org/vocab/vann/" xmlns:deps="http://ontologi.es/doap-deps#" xmlns:sd="http://www.w3.org/ns/sparql-service-description#" xmlns:gn="http://www.geonames.org/ontology#" xmlns:rev="http://purl.org/stuff/rev#" xmlns:dc="http://purl.org/dc/terms/" xmlns:as="https://www.w3.org/ns/activitystreams#" xmlns:org="http://www.w3.org/ns/org#" xmlns:prov="http://www.w3.org/ns/prov#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:jsonld="http://www.w3.org/ns/json-ld#" xmlns:schema="http://schema.org/" xmlns:ma="http://www.w3.org/ns/ma-ont#" xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#" xmlns:ldp="http://www.w3.org/ns/ldp#" xmlns:acl="http://www.w3.org/ns/auth/acl#" xmlns:pos="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:rel="http://purl.org/vocab/relationship/" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:odrl="http://www.w3.org/ns/odrl/2/" xmlns:duv="http://www.w3.org/ns/duv#" xmlns:vs="http://www.w3.org/2003/06/sw-vocab-status/ns#" about="[_:x]" property="ex:p" content="3" datatype="xsd:string"/></head>
<body/>
</html>
ok 2 - head - no uninitalized value warning ok
1..2
ok

Test Summary Report
-------------------
t/03_kk_attean.t       (Wstat: 256 (exited 1) Tests: 8 Failed: 1)
  Failed test:  8
  Non-zero exit status: 1
Files=4, Tests=25,  2 wallclock secs ( 0.02 usr  0.01 sys +  1.55 cusr  0.29 csys =  1.87 CPU)
Result: FAIL
Failed 1/4 test programs. 1/25 subtests failed.
make[1]: *** [Makefile:857: test_dynamic] Error 255
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:librdf-rdfa-generator-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