Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2019 14:34:50 +0900
From:      Koichiro Iwao <meta@FreeBSD.org>
To:        ports@FreeBSD.org
Cc:        decke@bluelife.at, dmgk@freebsd.org
Subject:   Re: golang apps try to use network during build and build erro on
Message-ID:  <20191106053449.qc7rwuchjlijmlkn@icepick.vmeta.jp>
In-Reply-To: <20191105002758.mawurxi63vb5gydz@icepick.vmeta.jp>
References:  <20191105002758.mawurxi63vb5gydz@icepick.vmeta.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191106053449.qc7rwuchjlijmlkn>