Charlie Li <vish...@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

Reply via email to