gvm icon indicating copy to clipboard operation
gvm copied to clipboard

GVM Stuck at compiling 1.24.0

Open milosrs opened this issue 1 year ago • 5 comments

I have bootstrapped 1.22.6 with gvm install go1.22.6 -B I am installing new version with gvm install go1.24.0

The process is stuck in * Compiling....

milosrs avatar Feb 23 '25 15:02 milosrs

me to

myxtype avatar Mar 03 '25 02:03 myxtype

same here.

logs

ERROR: Cannot find /home/byanatpc/go1.4/bin/go.
Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.22.6.

dasrocky avatar Mar 21 '25 16:03 dasrocky

Last commit was 2 years back. Not sure if this is in active development.

murshid1988 avatar Mar 29 '25 05:03 murshid1988

Use a version > 1.22.6 and it should work

Something like:

$ gvm use go1.23
Now using version go1.23
$ gvm install go1.24.0
Installing go1.24.0...
* Compiling...
go1.24.0 successfully installed!

nicolascb avatar Apr 16 '25 10:04 nicolascb

Just wanted to complement @nicolascb's answer for newcomers. His solution works but for go1.24; patch versions (e.g. go1.24.2) are not working ATM.

To solve this, just install go1.24 and then:

gvm use go1.24
gvm install go1.24.2
gvm use go1.24.2

aruizeac avatar Apr 25 '25 20:04 aruizeac