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

2020-07-11 Thread Niko Tyni
On Mon, Jun 15, 2020 at 09:41:18PM +0300, Niko Tyni wrote: > 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 i

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

2020-06-15 Thread Niko Tyni
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+

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

2020-06-12 Thread Niko Tyni
On Tue, Jun 09, 2020 at 06:40:12PM +0200, gregor herrmann wrote: > On Mon, 08 Jun 2020 10:18:09 +0300, Niko Tyni wrote: > > > This seems to be a wider issue. Copying the debian-perl list for > > discussion. > > Thanks for the analysis! > > > I'm left wondering if the IO::Socket::IP default beha

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

2020-06-09 Thread Niko Tyni
On Tue, Jun 09, 2020 at 07:08:01PM +0200, Jérémy Lal wrote: > Le mar. 9 juin 2020 à 18:37, gregor herrmann a écrit : > > # unshare -n > > # ip li set lo up > > # ip li add dummy0 type dummy > > # ip li set dummy0 up > Thanks, it doesn't yield the exact same conditions, though ? >

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

2020-06-09 Thread Jérémy Lal
Le mar. 9 juin 2020 à 18:37, gregor herrmann a écrit : > On Tue, 09 Jun 2020 15:35:37 +0200, Jérémy Lal wrote: > > > Is there a simple way to setup the network locally so i can reproduce it > ? > > Naive attempts (like disabling IPv4 on the wan network) failed. > > Niko and Dom came up with this

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

2020-06-09 Thread gregor herrmann
On Mon, 08 Jun 2020 10:18:09 +0300, Niko Tyni wrote: > This seems to be a wider issue. Copying the debian-perl list for > discussion. Thanks for the analysis! > I'm left wondering if the IO::Socket::IP default behaviour is desirable, > or whether we should try to change it (maybe to special cas

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

2020-06-09 Thread gregor herrmann
On Tue, 09 Jun 2020 15:35:37 +0200, Jérémy Lal wrote: > Is there a simple way to setup the network locally so i can reproduce it ? > Naive attempts (like disabling IPv4 on the wan network) failed. Niko and Dom came up with this recipe: # unshare -n # ip li set lo up # ip li add dummy

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

2020-06-09 Thread Jérémy Lal
On Mon, 8 Jun 2020 10:18:09 +0300 Niko Tyni wrote: > On Sat, Jun 06, 2020 at 10:22:58AM +0300, Adrian Bunk wrote: > > Source: libmojolicious-perl > > Version: 8.52+dfsg-1 > > Severity: serious > > Tags: ftbfs > > > > https://buildd.debian.org/status/logs.php?pkg=libmojolicious-perl&ver=8.52+dfsg-

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

2020-06-08 Thread Niko Tyni
On Sat, Jun 06, 2020 at 10:22:58AM +0300, Adrian Bunk wrote: > Source: libmojolicious-perl > Version: 8.52+dfsg-1 > Severity: serious > Tags: ftbfs > > https://buildd.debian.org/status/logs.php?pkg=libmojolicious-perl&ver=8.52%2Bdfsg-1 > > ... > Can't create listen socket: Address family for host

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

2020-06-06 Thread Adrian Bunk
Source: libmojolicious-perl Version: 8.52+dfsg-1 Severity: serious Tags: ftbfs https://buildd.debian.org/status/logs.php?pkg=libmojolicious-perl&ver=8.52%2Bdfsg-1 ... Can't create listen socket: Address family for hostname not supported at /<>/blib/lib/Mojo/IOLoop.pm line 123. # Tests were run b