Thread View: linux.debian.bugs.rc
2 messages
2 total messages
Started by Étienne Mollier
Fri, 06 Nov 2026 16:30
Bug#1114185: libweb-query-perl: FTBFS: dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
Author: Étienne Mollier
Date: Fri, 06 Nov 2026 16:30
Date: Fri, 06 Nov 2026 16:30
94 lines
5297 bytes
5297 bytes
--SYsTU9igRD1dRTYQ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Control: tags -1 + confirmed
Greetings,
The relevant part of the build log looks like:
# Failed test at t/processing-instructions.t line 25.
# +---------+----+----------------+
# | GOT | OP | CHECK |
# +---------+----+----------------+
# | <UNDEF> | =3D~ | (?^:style.css) |
# +---------+----+----------------+
(If this table is too small, you can use the TABLE_TERM_SIZE=3D### env=
var to set a larger size, detected size is '74')
=20
# Looks like you failed 1 test of 1.
=09
# Failed test 'Web::Query::LibXML'
# at t/lib/WQTest.pm line 22.
# Looks like you failed 1 test of 3.
t/processing-instructions.t .........=20
# Seeded srand with seed '20250904' from local date.
1..3
ok 1 - use Web::Query;
# Subtest: Web::Query
1..0 # SKIP not working for Web::Query
ok 2 # skip not working for Web::Query
# Subtest: Web::Query::LibXML
not ok 1
1..1
not ok 3 - Web::Query::LibXML
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests=20
(less 1 skipped subtest: 1 okay)
I believe the problem stems from somewhere in the map'ing that
occurs in the sub as_html from lib/Web/Query.pm:
sub as_html {
my $self =3D shift;
my %args =3D @_;
=09
my @html =3D map {
ref $_ ? ( $_->isa('HTML::TreeBuilder::XPath::TextNode') || $_->is=
a('HTML::TreeBuilder::XPath::CommentNode' ) )
? $_->getValue=20
: $_->as_HTML( q{&<>'"}, $self->{indent}, {} )
: $_=20
} @{$self->{trees}};
=09
return join $args{join}, @html if defined $args{join};
=09
return wantarray ? @html : $html[0];
}
Something makes the return value undefined and as far as I could
trace, the code falls through down the last $html[0] value being
returned. I'm afraid I have not diagnosed further what the root
cause is for now, but that might ring some bells to more
proficient Perl developpers or upstream.
In hope this helps,
--=20
.''`. =C3=89tienne Mollier <emollier@debian.org>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from my alarm clock
`-
--SYsTU9igRD1dRTYQ
Content-Type: application/pgp-signature; name=signature.asc
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmrt/20ACgkQeTz2fo8N
Edq/LxAAl5o74CbwxW8Af25M2xa4+9TiWITTc5bA9jEsVNN6f+ScxiYll81nqkb1
IAubt0gzoKTptVJs8Uk6EDCH4+OqAPTS7p9cbc1HcthdkluxELUeNXJNd152oheK
I1Sc5iarVde5/9FUEb3ld+vXNloOZL0rXnkgksrH44s2VSxNPnNAKlubhCrYeAs1
43WpJJAPFCkzlDs9ISqksiU4RzisLtoTO1OPYIr0edJ9H7gl89DMB61oYCfQWyt7
zZyU0L22yrmczsCbpyS1G81X2Te/Y7Lde7ghlkRGwZaNbIR+rI8sbgYiU4Ff253P
LE2NVEDO8n4OX5S+rIfqXiUwonmx1EsVI23XXZch6/Ee97cLdsJSuZ1VF4MTnfUf
Bva+Jx+PhEOp8OKe+3l6KKBu5fC6f9SPSmjnpFPFIski74qowGFKwrGQxWppXf7G
9P2QJ6JxWhAqS5P3TE/t7FCr+cyou0hZ0PQ+VbehZNkaMwMTKTCf4aR3mz3H6Fwz
boFE+g5/NKq3XAWT/Pm1y/C7kfMxL9aF5NPHPDLLCpl3fExSsJXBdPLDfs4ZeIja
k9FwlROwMHXTM18cIW9y0B1e4D0pIoIEezOgrhSRoj507B44HGInB/VlKc6buMs6
8Bg4j7VHy6C9xtnPvkNjbSEzZZDOzh0yQtd8rhdL3OwCGNBDbYc=
=Pp6n
-----END PGP SIGNATURE-----
--SYsTU9igRD1dRTYQ--
Processed: Re: Bug#1114185: libweb-query-perl: FTBFS: dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
Author: Debian Bug Tracking System
Date: Fri, 06 Nov 2026 16:30
Date: Fri, 06 Nov 2026 16:30
11 lines
2171 bytes
2171 bytes
Processing control commands: > tags -1 + confirmed Bug #1114185 [src:libweb-query-perl] libweb-query-perl: FTBFS: dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2 Added tag(s) confirmed. -- 1114185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114185 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads