Date: Thu, 02 Feb 2023 09:44:13 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Charlie Li <vishwin@freebsd.org> Cc: Alexis Praga <alexis.praga@proton.me>, freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: Go in poudriere : can't assign requested address Message-ID: <wn50-4ftu-wny@FreeBSD.org> In-Reply-To: <13fcf347-53a8-e654-a8d8-aedf50b6dc65@freebsd.org> (Charlie Li's message of "Wed, 1 Feb 2023 16:28:54 -0500") References: <BIRm0S1mpREszAcA1vPHrDGjl3XZLgOj33yD2RC_gqCl4B90tFkOyEVRUwDGXI45NCOgFjvKcuk6qTy5oHiceOMzkmIp3_VofsjIKVlZnXc=@proton.me> <13fcf347-53a8-e654-a8d8-aedf50b6dc65@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Charlie Li <vishwin@freebsd.org> writes: > Alexis Praga wrote: > >> I've added go as a dependency for the next update of x11/kitty. It >> builds fine but poudriere fails with : >> go: downloading github.com/disintegration/imaging >> <http://github.com/disintegration/imaging> v1.6.2 >> tools/utils/short-uuid.go:10:2: >> github.com/ALTree/bigfloat@v0.0.0-20220102081255-38c8b72a9924: >> <http://github.com/ALTree/bigfloat@v0.0.0-20220102081255-38c8b72a9924:> >> Get >> "https://proxy.golang.org/github.com/%21a%21l%21tree/bigfloat/@v/v0.0.0-20220102081255-38c8b72a9924.zip >> <https://proxy.golang.org/github.com/%21a%21l%21tree/bigfloat/@v/v0.0.0-20220102081255-38c8b72a9924.zip>": >> dial tcp: lookup proxy.golang.org <http://proxy.golang.org> on >> 192.168.1.254:53: write udp 127.0.0.1:21347->192.168.1.254:53: >> write: can't assign requested address >> tools/cmd/icat/native.go:14:2: >> github.com/disintegration/imaging@v1.6.2: >> <http://github.com/disintegration/imaging@v1.6.2:> Get >> "https://proxy.golang.org/github.com/disintegration/imaging/@v/v1.6.2.zip >> <https://proxy.golang.org/github.com/disintegration/imaging/@v/v1.6.2.zip>": >> dial tcp: lookup proxy.golang.org <http://proxy.golang.org> on >> 192.168.1.254:53: write udp 127.0.0.1:65047->192.168.1.254:53: >> write: can't assign requested address >> > There is absolutely no network access allowed outside the do-fetch > phase. You need to specify all your module dependencies and have them > checksummed beforehand. Take a look at other ports using/written in go > as examples. GH_TUPLE is usually generated by "make gomod-vendor" via ports-mgmt/modules2tuple. One can discover this by reading Porter's Handbook[1] or inspecting USES=go implementation for additional clues. https://docs.freebsd.org/en/books/porters-handbook/special/#using-go
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wn50-4ftu-wny>