I can't connect all of my linux boxes to the internet. Even if I hook up to a hotspot, a whole git repo is too big. It also seems silly to download a whole git repo just to get a few deps to build one package. [ebuild U ] app-emulation/lxd-2.18 [2.16] USE="daemon dnsmasq%* ipv6%* -nls {-test}" git clone https://github.com/rogpeppe/godeps /var/tmp/portage/app-emulation/lxd-2.18/work/lxd-2.18/src/github.com/rogpeppe/godeps # cd .; git clone https://github.com/rogpeppe/godeps /var/tmp/portage/app-emulation/lxd-2.18/work/lxd-2.18/src/github.com/rogpeppe/godeps Cloning into '/var/tmp/portage/app-emulation/lxd-2.18/work/lxd-2.18/src/github.com/rogpeppe/godeps'... fatal: unable to access 'https://github.com/rogpeppe/godeps/': Failed to connect to github.com port 443: No route to host
Created attachment 499214 [details] build.log
Created attachment 499216 [details] emerge --info
From what I see in your build logs, this git cloning happens during the test phase, not during the regular compile phase. There's been a recent overhaul the package to properly document and pin dependencies to precisely avoid this git cloning problem, but this hasn't been done for testing dependencies yet. If you disable tests, you won't have this problem. If you want to submit a patch to pin tests dependencies, you're more than welcome :)
> If you disable tests, you won't have this problem. If you want to submit a > patch to pin tests dependencies, you're more than welcome :) I am trying to slowly rebuild my entire system with tests enabled so if there is a guide to doing this I'd like to try.
IMHO this can be closed as there are no 2.x ebuilds in portage now as of 13 Dec 2018.
I've left this open since the issue exists into 3.x. I'll need to either get USE=test working or remove it. The 3.9 release notes claim some fixes to tests so it may be worth revisiting soon.
*** This bug has been marked as a duplicate of bug 641452 ***