gvm2
gvm2 copied to clipboard
$GOROOT_BOOTSTRAP is being ignored
I have Go1.4 installed on my machine but I cannot make GVM2 use it as it ignores $GOROOT_BOOTSTRAP
variable.
→ go version
go version go1.4.2 darwin/amd64
→ which go
/usr/local/go/bin/go
→ echo $GOROOT_BOOTSTRAP
/usr/local/go
→ gvm2 install go1.9.2
Installing go1.9.2...
Copying Go source... (version: go1.9.2)
* Patching...
** Patching skipped (not needed)
* Compiling...
ERROR: Failed to compile. Check the logs at /Users/mobileka/.gvm/logs/go-go1.9.2-compile.log
→ cat /Users/mobileka/.gvm/logs/go-go1.9.2-compile.log
##### Building Go bootstrap tool.
cmd/dist
ERROR: Cannot find /Users/mobileka/.gvm/gos/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.4.
Can you provide the output of gvm version
and gvm list
?