On Tue, Jun 15, 2021 at 7:31 AM Joakim Roubert <[email protected]> wrote:
>
> 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...)

I have a note written on the paper in front of me "fix cni build for
no-network", and a half started fix. :D

So yes, cni is doing some fetches, due to missing go dependencies and
trying to do a go.mod build. Neither of which we want.

Let me dig up my changs and see how far away they are from being ready for test.

Bruce

>
> BR,
>
> /Joakim
>
> 
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6564): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6564
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