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

Jérémy Lal jerry at eda.sarl
Tue Jun 9 18:08:01 BST 2020


Le mar. 9 juin 2020 à 18:37, gregor herrmann <gregoa at debian.org> 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 recipe:
>
>     # unshare -n
>     # ip li set lo up
>     # ip li add dummy0 type dummy
>     # ip li set dummy0 up
>
> If you are using pbuilder/cowbuilder you can
> - make sure you have USENETWORK=no in your pbuilderrc
> - add the following to /usr/lib/pbuilder/pbuilder-unshare-wrapper
>   after the lo dance:
>
> ip li add dummy0 type dummy
> ip li set dummy0 up
>

Thanks, it doesn't yield the exact same conditions, though ?
Error: getaddrinfo ENOTFOUND localhost

Is there a way to keep the localhost dns resolution ?

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200609/94b3efdc/attachment-0001.html>


More information about the pkg-perl-maintainers mailing list