pkgsrc-Users archive

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

Re: go 121 on aarch64 -current



On Thu, 7 Dec 2023 22:59:07 +0000
Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:

> #  /usr/pkg/go121/bin/go version
> go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set

The problem is likely that /proc is not mounted on your aarch64 system.
Go 1.21 changed something related to os.Executable() which is used to resolve
GOROOT but I don't know the specifics of the change.


Home | Main Index | Thread Index | Old Index