Hei,

Golang does have the required features to support this, but it is more of a 
challenge to convince the repo owners to start using this.
You can download all of the dependencies in golang with go mod vendor and then 
store the vendor-folder to the repo as well.
But, the repo will get a lot larger that way. But, that fulfills the Yocto 
demands as far as I know.

Best Regards,


Janne Kiiskilä


From: [email protected] <[email protected]> On Behalf Of 
Markus Volk via lists.yoctoproject.org
Sent: maanantai 3. heinäkuuta 2023 16.43
To: Bruce Ashfield <[email protected]>
Cc: [email protected]; [email protected]
Subject: Re: [yocto] Building Tailscale with Yocto #golang

On Mon, Jul 3 2023 at 09:07:11 AM -0400, Bruce Ashfield 
<[email protected]<mailto:[email protected]>> wrote:

We really shouldn't suggest the above to a developer without also the 
explanation as to why network access is disabled by default in tasks such as 
compile.

You are of course right with your objections. However, this is the only way I 
know of to get around this problem. Reproducibility is not a must have 
requirement for me, but I use some gtk go programs and would love to have a way 
to build at least gotk3 shared, since it takes quite a long time and has to be 
rebuilt for each program.
I had experimented with this some time ago, but it looked to me like there was 
no easy solution to this problem. This is somehow quite a conflict between 
different concepts.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60498): https://lists.yoctoproject.org/g/yocto/message/60498
Mute This Topic: https://lists.yoctoproject.org/mt/99915079/21656
Mute #golang:https://lists.yoctoproject.org/g/yocto/mutehashtag/golang
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to