[Bug 285627] [NEW PORT] security/govulncheck: Reports known vulnerabilities that affect Go code

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 May 2025 22:45:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285627

--- Comment #13 from Einar Bjarni Halldórsson <einar@isnic.is> ---
(In reply to Nuno Teixeira from comment #11)

> replace 'go' with %%GO_CMD%%
> and use sed to replace %%GO_CMD%% with ${GO_CMD}.

Ah... I got it to work, but then I got another (more descriptive error):

govulncheck: loading packages: err: go command required, not found: exec: "go":
executable file not found in $PATH: stderr: 

Looking through the code, it and included libraries are invoking `go` all over
the place.

Also, now I can't build with RUN_DEPENDS on lang/go anymore:

Error: lang/go should not be depended upon. Instead, use USES=go.

-- 
You are receiving this mail because:
You are on the CC list for the bug.