nats-io/natscli

Broken nats-cli arm64 binary

jamm3e3333 opened this issue · 3 comments

Observed behavior

When I installed the latest version (v0.1.4) of nats cli in arm64 linux image and trying to use nats-cli it says "Segmentation fault" so I assume that smth is wrong with the binary. I tried to install it like this:

# curl -sf https://binaries.nats.dev/nats-io/natscli/nats@latest | sh && mv nats /usr/local/bin/

  ==> Downloading github.com/nats-io/natscli/nats@latest
  ==> Resolved version latest to 0345fb1
  ==> Downloading binary for linux arm64
  ==>   URL: https://binaries.nats.dev/binary/github.com/nats-io/natscli/nats?os=linux&arch=arm64&version=0345fb1
  ==> Installing nats to .
  ==> Installation complete
  #nats --version
Segmentation fault

when I install nats-cli v0.1.3 everything works fine

Expected behavior

I want it to work, that's all xD

Server and client version

nats-server version: 2.9.15 (not sure about that)
nats-cli version: v0.1.4

Host environment

No response

Steps to reproduce

No response

Hmm, I dont have any arm64 machines, can you try the official released binary from the releases page? Same story?

I bumped into this one yesterday. It's not an issue with this project but rather of nats-binaries, the downloaded binary is half the expected size, meaning probably the backend store for the latest version is corrupted.

@wallyqs can you nuke the cache?
@jamm3e3333 if you download the previous commit (by SHA) rather than main, it will probably work (it did for me)

Thanks for the report, I think this should be resolved now.