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

gregor herrmann gregoa at debian.org
Tue Jun 9 17:37:47 BST 2020


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


Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20200609/cd778785/attachment.sig>


More information about the pkg-perl-maintainers mailing list