Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 May 2025 22:45:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   [Bug 285627] [NEW PORT] security/govulncheck: Reports known vulnerabilities that affect Go code
Message-ID:  <bug-285627-42334-A1f8qTbjYJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285627-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-285627-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285627-42334-A1f8qTbjYJ>