[Bug 1904907] [NEW] Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at /usr/share/perl5/HTTP/Daemon.pm line 51

Jeffrey Walton 1904907 at bugs.launchpad.net
Thu Nov 19 18:04:36 UTC 2020


Public bug reported:

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/perl5/HTTP/Daemon.pm line 51.
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://rt.cpan.org/Public/Bug/Display.html?id=71395
* https://rt.cpan.org/Public/Bug/Display.html?id=91699
* https://bugzilla.redhat.com/show_bug.cgi?id=1413065

I filed the report against libhttp-daemon-perl, but that may be wrong. I
also see there is a libhttp-daemon-ssl-perl. Other package names include
perl-HTTP-Daemon.

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 <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
...

$ apt-cache show libhttp-daemon-ssl-perl
Package: libhttp-daemon-ssl-perl
Architecture: all
Version: 1.05-01-1
Priority: extra
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
...

** Affects: libhttp-daemon-perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libhttp-daemon-perl in Ubuntu.
https://bugs.launchpad.net/bugs/1904907

Title:
  Bad arg length for Socket::inet_ntoa, length is 16, should be 4 at
  /usr/share/perl5/HTTP/Daemon.pm line 51

Status in libhttp-daemon-perl package in Ubuntu:
  New

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/perl5/HTTP/Daemon.pm line 51.
  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://rt.cpan.org/Public/Bug/Display.html?id=71395
  * https://rt.cpan.org/Public/Bug/Display.html?id=91699
  * https://bugzilla.redhat.com/show_bug.cgi?id=1413065

  I filed the report against libhttp-daemon-perl, but that may be wrong.
  I also see there is a libhttp-daemon-ssl-perl. Other package names
  include perl-HTTP-Daemon.

  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 <ubuntu-devel-discuss at lists.ubuntu.com>
  Original-Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  ...

  $ apt-cache show libhttp-daemon-ssl-perl
  Package: libhttp-daemon-ssl-perl
  Architecture: all
  Version: 1.05-01-1
  Priority: extra
  Section: universe/perl
  Origin: Ubuntu
  Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
  Original-Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libhttp-daemon-perl/+bug/1904907/+subscriptions



More information about the foundations-bugs mailing list