Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libhttp-daemon-perl (Debian) |
Fix Released
|
Unknown
|
|||
libhttp-daemon-perl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi Everyone,
I'm building Wget 1.20.3 from sources on Ubuntu 18.04.5, x86_64, fully patched. Wget is failing 6 self tests. All of the failures are due to a broken Perl. Here is an example:
HTTP request sent, awaiting response... Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/
No data received.
Closed 3/SSL 0x0000623000000100
Retrying.
This is apparently a well known problem in HTTP::Daemon. It appears IO::Socket::INET does not support IPv6:
* https:/
* https:/
* https:/
I filed the report against libhttp-
Please pick up the fix for "Bad arg length for Socket::inet_ntoa".
---------
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
$ apt-cache show libhttp-daemon-perl
Package: libhttp-daemon-perl
Architecture: all
Version: 6.01-1
Priority: optional
Section: perl
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-
Bugs: https:/
...
$ apt-cache show libhttp-
Package: libhttp-
Architecture: all
Version: 1.05-01-1
Priority: extra
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-
Bugs: https:/
...
Changed in libhttp-daemon-perl (Debian): | |
status: | Unknown → Fix Released |
It looks like Debian has cleared this problem. Testing on Debian 10.5 does not show the error.
Here is Debian's libhttp-daemon-perl package info:
$ apt-cache show libhttp-daemon-perl message- perl, libio-socket- ip-perl, liblwp- mediatypes- perl mechanize- perl (<< 1.91-2), libwww-perl (<< 6.00)
Package: libhttp-daemon-perl
Version: 6.01-3
Installed-Size: 44
Maintainer: Debian Perl Group <email address hidden>
Architecture: all
Replaces: libwww-perl (<< 6.00)
Depends: perl, libhttp-date-perl, libhttp-
Breaks: libhttp-proxy-perl (<< 0.304-4), librpc-xml-perl (<< 0.80-2), libwww-
...
I don't believe there is anything to report upstream.