Bug#962019: perl: arch:all build fails on buildd (transient error?)

Julien Cristau jcristau at debian.org
Tue Jun 2 10:04:28 BST 2020


Control: tag -1 patch

On Tue, Jun 02, 2020 at 08:09:43AM +0200, Salvatore Bonaccorso wrote:
> On Tue, Jun 02, 2020 at 06:40:41AM +0200, Salvatore Bonaccorso wrote:
> > Source: perl
> > Version: 5.30.3-1
> > Severity: serious
> > Justification: FTBFS
> > 
> > Hi Dom an Niko
> > 
> > Guess you have seen it but filling a bug for tracking. arch:all build
> > failed on buildd:
> > 
> > https://buildd.debian.org/status/fetch.php?pkg=perl&arch=all&ver=5.30.3-1&stamp=1591057198&raw=0
> 
> FTR, the issue is that the build got picked up by a IPv6-only enabled
> buildd.

FWIW, it seems IO::Socket::IP passes AI_ADDRCONFIG to getaddrinfo, which
then doesn't return ipv4 addresses because the host doesn't have
non-local ones, even though the address we're trying to resolve is
"127.0.0.1".

Passing either GetAddrInfoFlags => AI_NUMERICHOST or GetAddrInfoFlags =>
0 to both IO::Socket::IP->new calls in the test file lets it pass, by
turning off the smarts in getaddrinfo.

Cheers,
Julien




More information about the Perl-maintainers mailing list