🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #2519

Bug#1114185: libweb-query-perl: FTBFS: dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2

#2519
From: Étienne Mollier
Date: Fri, 06 Nov 2026 16:30
94 lines
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--
Technical Details
Message-ID: <NWuZb-adYv-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <LrJmk-d3P9-175@gated-at.bofh.it> <LrJmk-d3P9-175@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.datentrampelpfad.de!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Étienne Mollier <emollier@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1114185: libweb-query-perl: FTBFS: dh_auto_test: error: make -j2 test TEST_VERBOSE=1 returned exit code 2
Date: Fri, 06 Nov 2026 17:30:01 +0100
Message-ID: <NWuZb-adYv-3@gated-at.bofh.it>
References: <LrJmk-d3P9-175@gated-at.bofh.it> <LrJmk-d3P9-175@gated-at.bofh.it>
X-Original-To: 1114185@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Nov  6 16:27:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Étienne Mollier <emollier@debian.org>, 1114185@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-perl-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1114185
X-Debian-Pr-Package: src:libweb-query-perl
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: libweb-query-perl
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="SYsTU9igRD1dRTYQ"
Content-Disposition: inline
X-Debian-User: emollier
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837383
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 94
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 6 Nov 2026 17:25:17 +0100
X-Original-Message-ID: <au3_bYf3nHnLkGCi@emlwks999.eu>
X-Original-References: <E1uub2G-0041w8-0x@paradis.debian.org> <E1uub2G-0041w8-0x@paradis.debian.org>