XPost: linux.debian.bugs.dist
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
[email protected] http://www.aurel32.net
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd0YmQqnvlP0Pdxltupx4Bh3djJsFAll/L/gACgkQupx4Bh3d jJtmwBAAm2FBQDSF4KpEO1bfyxTFW8g7wKhnSaSGlxSYxefcNNVrUZ8AbPcq4lh4 D37duEBqgfkiquyUoBtv+JUz2kc6XzO3uHhIdKd83+jBFVhiszu0vAra4wpdAbY1 fDN2dhaXLbR1Duuc2n6Ep+gVukI9qU1NgjtogTwIv4AKhO6iWnD309Q8ws781Xy1 HVdsViiIMuENkAUTQ4rgFP2G/vBYyfV+F3N7GdiriVTlvXQU7CtluQ1qB9hWTcwf Zb4NW632CU4NqsRxsfk9mnDFLmS5PFHuefoXxkzST6JAg8I2oBXgub0h157HR6Dw 7rwc+mOhrGOHNCDhTffvxFlmCg2IWZ7zHmIwLFVncCT23AK07sQFCbJ3HLFdICcV rsLf7IwCRSpylesVWLDI9/z+x0LvyIMnkwVhI8cAb/JNX0Z30pPVEO93WYjmeLv7 0YRdt4D/r1Ovv/1hsXiEP5v+quLsgsTaUeHzvFUgsOVbh1aJbdQxCTK+foWgC7yt wSkk6OZNXsARQqIU0EkXsD8UYm2b3iX6AMkxmzcQxHNL/fVOBKZZt+WuF5NFP7Kj ZlT0mD9z8EGxNsdEDdw9KEkECp32n5LHTWzMZAA1VZ1qFJg4GuwX7oFt/SDMFg8M DPp/oREAN1PGf9zFbwA7qjHVYLta2yIVrYMJHTOG7rgVYtnZZ4U=
=9XaP
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet