On 2017-07-31 15:11, Mattia Rizzolo wrote: > On Sun, Apr 23, 2017 at 10:07:08PM +0200, Julian Andres Klode wrote: > > On Wed, Mar 01, 2017 at 03:33:55PM +0000, James Clarke wrote: > > > So the issue here is that, by default, pbuilder runs the build in a > > > separate network namespace with only a loopback interface configured. > > > The loopback interface works, you can bind and connect as normal > > > (otherwise this would have been found a long time ago), but getaddrinfo > > > has a slightly interesting deviation from POSIX. POSIX states[1]: > > > > It also fails on my system now since I switched from dnsmasq to > > systemd-resolved. That's really annoying. > > Just a quick note that it's probably the same thing that is tracked in > glibc's #844420 (glibc FTBFS in pbuilder due a test failing to resolve > localhost). I doubt it. The bug in #844420 is that glibc fails to resolve entries from /etc/hosts when they are fully qualified. It means with the standard /etc/hosts, it fails to resolv "localhost." but succeed in resolving "localhost". In the python-apt bug, it seems that the entry to be resolved is "localhost". -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net
Attachment:
signature.asc
Description: PGP signature