golang apps try to use network during build and build erro on

Koichiro Iwao meta at FreeBSD.org
Wed Nov 6 05:34:54 UTC 2019


On Tue, Nov 05, 2019 at 09:27:58AM +0900, Koichiro Iwao wrote:
> I'm not familiar with golang build system. I'm not sure why this happens
> and the differences between golang apps use network and don't. I'd
> appreciate if you give me some advice how do golang folks avoid using
> network during build?
> 
> ===>  Building cli53 from ./cmd/cli53
> go: github.com/aws/aws-sdk-go at v1.13.34: Get
> https://proxy.golang.org/github.com/aws/aws-sdk-go/@v/v1.13.34.mod: dial tcp
> : lookup proxy.golang.org on 192.168.24.1:53: write udp 127.0.0.1:52854->192.168.24.1:53: write: permission denied

Finally succeeded to update dns/cli53 and devel/lazygit thanks to decke@
and dmgk@'s advice. Now I understand how to use USES=go:modules.

https://svnweb.freebsd.org/changeset/ports/516857
https://svnweb.freebsd.org/changeset/ports/516860

-- 
meta <meta at FreeBSD.org>


More information about the freebsd-ports mailing list