pkgsrc-Users archive

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

go 121 on aarch64 -current



Hi,

I updated lang/go to 121 on my aarch64 -current system. I use pkg_alternatives.

I am getting:
......
# ls -l /usr/pkgsrc/packages/All/go1*
-rw-r--r-- 1 root wheel  95420773 Dec  6 13:49
/usr/pkgsrc/packages/All/go120-1.20.12.tgz
-rw-r--r-- 1 root wheel  65481344 Dec  7 00:48
/usr/pkgsrc/packages/All/go121-1.21.5.tgz
# pkg_delete go121-1.21.5
# pkg_add /usr/pkgsrc/packages/All/go120-1.20.12.tgz
# go version
go version go1.20.12 netbsd/arm64
# pkg_delete go120
# pkg_add /usr/pkgsrc/packages/All/go121-1.21.5.tgz
# go version
go: cannot find GOROOT directory: 'go' binary is trimmed and GOROOT is not set
......

Any idea? I rebuilt both go121 and, just in case,
pkgtools/pkg_alternatives; there are no GOROOT or similar environment
variables present.

Same happens if you invoke directly the go binary,  so the problem is
not with pkg_alternatives:

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


Chavdar


-- 
----


Home | Main Index | Thread Index | Old Index