On Mon, Oct 19, 2015 at 10:50:21AM +0200, David Douard wrote: > After a quick search, Luca Falavigna pointed me to the fact that debomatic > uses a no-network wrapper for sbuild > (runs sbuild in an "unshare -n" env) in which the lo device was not up. He > uploaded a fix for this a couple of > days ago, so I'd like to try a new build from the same source package.
Well, this afaik is not supported. packages are allowed to use the lo device during the build. In pbuilder we use this wrapper to set it up: ``````````````````` % cat /usr/lib/pbuilder/pbuilder-unshare-wrapper #!/bin/sh die() { echo >&2 E: "$2" returned error code "$1" echo >&2 N: Could not set up the loopback interface. exit 1 } if test -x /sbin/ifconfig; then /sbin/ifconfig lo up || die $? ifconfig elif test -x /sbin/ip; then /sbin/ip link set lo up || die $? ip elif test -x /bin/ip; then /bin/ip link set lo up || die $? ip else echo >&2 E: Neither ifconfig nor ip found. echo >&2 N: Could not set up the loopback interface. exit 1 fi # having this variable set could cause programs looking for unreachable machines unset http_proxy exec "$@" ```````````````````` > I'm not sure wether the package must be reuploaded on debomatic or if a > rebuild dcut command is enough (since the > source package has not been uploaded in the main debian queues for now). Gian, can you try build it in pbuilder (which unshare the network by default) and see if it builds there? if it does I'd just blame the debomatic unshare setup :) -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: http://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature