Bug#962318: libmojolicious-perl: build fails on IPv6-only buildds

Niko Tyni ntyni at debian.org
Mon Jun 15 19:41:18 BST 2020


On Fri, Jun 12, 2020 at 06:58:15PM +0300, Niko Tyni wrote:

> I have not had the tuits yet for looking at IO::Socket::IP properly.
> It seems to me that it could look at the address and pass AI_NUMERICHOST
> to getaddrinfo(3) if it looks like an IPv4 address. I guess matching
> against qr/^\d+\.\d+\.\d+\.\d+$/ would suffice.

Here's a first try at such a patch. Something like this might be
a better fix for #962047 in libio-socket-ip-perl than the test suite
change in 0.39-2.

I've only tested that libio-socket-ip-perl and libtest-tcp-perl build
and work with this.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Call-getaddrinfo-3-with-AI_NUMERICHOST-for-IPv4-nume.patch
Type: text/x-diff
Size: 3659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200615/68ad5107/attachment-0001.patch>


More information about the pkg-perl-maintainers mailing list