Bug#887590: libhttp-daemon-perl: Please patch HTTP::Daemon to IPv6

Tim Ruehsen tim.ruehsen at gmx.de
Thu Jan 18 09:48:57 UTC 2018


Package: libhttp-daemon-perl
Version: 6.01-1
Severity: normal

Dear Maintainer,

the Wget test suite fails because of HTTP::Daemon being IPv4 only.

This comes out when 'localhost' resolves to IPv6 ::1.
In this case tests/Test-https-* fail with
HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51.

Switching off IPv6 and the tests pass (echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6).

At least Arch Linux ships a patched version of HTTP::Daemon (so all tests survive).
The patch can be found at
https://metacpan.org/pod/HTTP::Daemon::Patch::IPv6

Patching should also fix issue #667738.

Regards, Tim


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libhttp-daemon-perl depends on:
ii  libhttp-date-perl       6.02-1
ii  libhttp-message-perl    6.14-1
ii  liblwp-mediatypes-perl  6.02-1
ii  perl                    5.26.1-4

libhttp-daemon-perl recommends no packages.

libhttp-daemon-perl suggests no packages.

-- no debconf information



More information about the pkg-perl-maintainers mailing list