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

Koichiro Iwao meta at FreeBSD.org
Tue Nov 5 00:28:03 UTC 2019


poudriere
Reply-To:
X-Operating-System: FreeBSD 12.1-STABLE amd64


Hi,

I recently noticed some golang apps (recent vewsion?) try to use network
during build.  As we know, this causes build error on poudriere.

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

-- 
meta <meta at FreeBSD.org>


More information about the freebsd-ports mailing list