#1089156 wget2: test suite fails on IPv6-only hosts

Package:
src:wget2
Source:
src:wget2
Submitter:
Thomas Uhle
Date:
2026-07-27 17:35:04 UTC
Severity:
normal
Tags:
#1089156#5
Date:
2024-12-06 11:46:31 UTC
From:
To:
Dear maintainers,

currently, microhttpd (used for automatically testing wget2 during build)
is setup with IPv4 sockets.  This test suite setup fails on IPv6-only
hosts [1].  In a private discussion with Andreas and Paul (both are on CC),
we agreed that disabling the test suite on IPv6-only hosts is not an ideal
solution but the only way to currently let wget2 migrate to Debian testing
(trixie) again because we regard it not as a regression since the test
suite has not been run before during builds on Debian buildd servers [2].

Therefore, I have chosen not to tag this ticket with "patch" although an
"intermediate" patch is attached.  Once the test suite runs on IPv6-only
hosts too, this work-around could be removed again.  Moreover, the test
suite is perfectly running locally (tested on amd64 and arm64) as well as
on Salsa CI thanks to Andreas.

Anyway, I have opened a ticket upstream to discuss this issue there [3].

Please be aware that my proposed patch only applies smoothly if the patch
for bug ticket #1089154 [4] (enabling bzip2 support again) has been
applied before.  It is because of adding the option --with-bzip2 to
configure.

Best regards,

Thomas Uhle


[1] https://buildd.debian.org/status/fetch.php?pkg=wget2&arch=amd64&ver=2.1.0-4&stamp=1727628234
[2] https://bugs.debian.org/1054291
[3] https://gitlab.com/gnuwget/wget2/-/issues/683
[4] https://bugs.debian.org/1089154

#1089156#14
Date:
2024-12-06 22:26:07 UTC
From:
To:
Am Fri, Dec 06, 2024 at 11:12:43PM +0100 schrieb Thomas Uhle:

Great.  Would you mind pushing this patch to Git?

#1089156#19
Date:
2024-12-06 22:12:43 UTC
From:
To:
Hello Andreas!

A temporary patch with the file skip-tests-on-ipv6-only-hosts.diff.gz [1]
was attached to the bug report earlier this day.

Best regards,

Thomas


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1089156;filename=skip-tests-on-ipv6-only-hosts.diff.gz;msg=5

#1089156#24
Date:
2024-12-12 13:36:20 UTC
From:
To:
Done.  The builds and checks on Salsa CI have also passed.

Best regards,

Thomas