Hi!

After upgrade to Hardknott from Gatesgarth, building cni on a machine behind a proxy gives me network errors:

run.do_compile.18062' failed with exit code 1: go: github.com/onsi/[email protected]: Get "https://proxy.golang.org/github.com/onsi/ginkgo/@v/v1.13.0.mod": dial tcp 142.250.74.81:443: connect: network is unreachable

The command that fails is

https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/tree/recipes-networking/cni/cni_git.bb?h=hardknott&id=6c9b889224cedd42191ef5edc7e1f37b0c8ecfec#n37

and can be mitigated by explicitly setting the proxy environment variable on that line:

http_proxy=http://<myproxyserver>:<proxyport> https_proxy=http://<myproxyserver>:<proxyport> ${GO} build

Since building with Gatesgarth (where that line is the same in the recipe, but the cni version 0.7 instead of 0.8) worked fine I did not expect this to happen. Do you guys have any ideas? (Setting the environment variable as describe above does not strike me as the proper/best solution...)

BR,

/Joakim
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6563): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6563
Mute This Topic: https://lists.yoctoproject.org/mt/83553463/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to