gvm2 icon indicating copy to clipboard operation
gvm2 copied to clipboard

$GOROOT_BOOTSTRAP is being ignored

Open mobileka opened this issue 7 years ago • 1 comments

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.

mobileka avatar Nov 13 '17 22:11 mobileka

Can you provide the output of gvm version and gvm list?

markeissler avatar Dec 05 '17 02:12 markeissler