gvm icon indicating copy to clipboard operation
gvm copied to clipboard

prefer-binary flag broken

Open elig-salt opened this issue 4 years ago • 4 comments

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

elig-salt avatar Jan 18 '21 12:01 elig-salt

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

jessemillar avatar May 14 '21 17:05 jessemillar

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

fidemin avatar Dec 13 '21 14:12 fidemin

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

michaelmior avatar Apr 21 '22 16:04 michaelmior

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

ZhanYinghui1 avatar Jul 26 '23 06:07 ZhanYinghui1