moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
9.91k stars 522 forks source link

prefer-binary flag broken #365

Open elig-salt opened 3 years ago

elig-salt commented 3 years ago

Running: gvm install go1.15.6 --with-protobuf --prefer-binary

I get the following outout:

Removing corrupt install...
Uninstalled version go1.15.6
Installing go1.15.6 from binary source
ERROR: Binary Go unavailable for this platform

and then it exits with a non-zero code.

In the docs it says "Attempt a binary install, falling back to source" -

So this looks like a bug

jessemillar commented 3 years ago

Can second this. Seeing the issue on macOS.

$ gvm install go1.14.15 --prefer-binary
Installing go1.14.15 from binary source
ERROR: Binary Go unavailable for this platform
fidemin commented 2 years ago

Are you using Mac Os with arm architecture? (Apple Sillicon) I have same issue when I try install with -B option.

$ gvm install go1.10 -B
Installing go1.10 from binary source
ERROR: Binary Go unavailable for this platform
michaelmior commented 2 years ago

Seeing this as well (2018 Intel MBP).

$ gvm install go1.18.1 --prefer-binary
Installing go1.18.1 from binary source
ERROR: Binary Go unavailable for this platform
ZhanYinghui1 commented 11 months ago

Using Mac OS Intel architecture. I have also encountered the same problem, how can I solve it?

➜  ~ gvm install go1.4 -B
Installing go1.4 from binary source
ERROR: Binary Go unavailable for this platform