• Bug#856152: python-apt: FTBFS: Testsuite failure

    From Mattia Rizzolo@21:1/5 to Julian Andres Klode on Mon Jul 31 16:20:02 2017
    XPost: linux.debian.bugs.dist

    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).

    --
    regards,
    Mattia Rizzolo

    GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
    more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'`
    Debian QA page: https://qa.debian.org/developer.php?login=mattia `-

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAll/LGQACgkQCBa54Yx2 K60vYBAAoXawI7msmezLAgaXT7bKjjKw7HN2N2u4gGrfKMgC7Qy9p4cGjU1/irdm STDSMpixsw+ODNvDzoQxvze2GcUnnlLBSWkUZ8iqb8/NUX09xl+lUqxWdtsc/sA7 ANNQx0gNrQeS7FAyprZlns65wnRg6/AXQFfhW38ApYpvZJyDTwyPQm89eVYViU/p 8pE58JNZPm6dNMp29ZGUkgrKk+2RueibbZKVJj9LU7GyvAuC+s7yQ5CHf5Ousxpq 5bynPxKjglQHR94gkZobw64TclK995AWNXRh7SzUyMEvJhU+oF77ZpnTpaad2jm9 ZoNLEx8xfabKEMRPgsMH9Krn3yza5AaAvaW7tqQAXPwQ6qk7EqTbWJaVU0lyDFRz ITuQskCaHK0ZQ5iId5dOY05Nui0RbgI3cagF6Xokg3mf0bS9IMgXedORUMU+UXJ6 o2+PkAbhCqhUMlzx8516+Rhzce5NGW5C813N0OOuaMW0ez9L4fZIINzYoMpVSnzB 37XpQeHoKcjE2B9rCUmyV5cjV3LoasoH+iMRpKm8Hms93UHGefn
  • From Aurelien Jarno@21:1/5 to Mattia Rizzolo on Mon Jul 31 16:30:01 2017
    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 aurelien@aurel32.net 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