tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: go package build problem: go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set




> Am 19.11.2023 um 23:30 schrieb Thomas Klausner <wiz%netbsd.org@localhost>:
> 
> 'go121 help' works fine.
> 
> Manually running (in ${WRKSRC}):
> 
> # go121 build
> go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set

I have not seen this error message before. 
What does "go env" output?
Does setting GOROOT=/usr/pkg/go121 work around the issue?

Benny


Home | Main Index | Thread Index | Old Index