storj / gateway-st

Single-tenant, S3-compatible server to interact with the Storj network
Apache License 2.0
71 stars 19 forks source link

Missing macOS builds #51

Closed brodyhoskins closed 2 years ago

brodyhoskins commented 2 years ago

While following the instructions for setting this up, I ran curl -L https://github.com/storj/gateway-st/releases/latest/download/gateway_darwin_amd64.zip but the command fails with HTTP 404.

Are there plans to restore the macOS builds? Preferably, it'd be nice to see a package for a "proper" package manager (like Homebrew).

wthorp commented 2 years ago

Unfortunately Gateway-ST cannot be crossed-compiled for MacOS due to some cGo dependencies. [You can technically cross-compile it, but it's in violation of the MacOS license terms, so we don't.] We've been planning on setting up an automated MacOS build environment, but it hasn't become priority yet.

If you've never compiled Go code before, it's really easy. You should be able to install Go, clone the repo, go install ./... and you're done.

shaupt131 commented 2 years ago

Investigation required. Find out if gateways have any cGo dependencies anymore, if they don't, enable building macOS binaries.

storjBuildBot commented 2 years ago

Change https://review.dev.storj.io/c/storj/gateway/+/5865 mentions this issue.

storjBuildBot commented 2 years ago

Change https://review.dev.storj.io/c/storj/gateway-mt/+/7180 mentions this issue.

storjBuildBot commented 2 years ago

Change https://review.dev.storj.io/c/storj/gateway/+/5865 mentions this issue.

halkyon commented 2 years ago

https://review.dev.storj.io/c/storj/gateway/+/5865 and https://review.dev.storj.io/c/storj/gateway-mt/+/7180 are now merged, and with that the darwin/macos binaries are now being built in CI again. Here's the latest dev binaries for gateway-st: http://storj-v3-alpha-builds.storage.googleapis.com/index.html?path=ced9593-go1.17.5/

amwolff commented 2 years ago

Darwin binaries are back in stable releases from v1.7.0. :)

brodyhoskins commented 2 years ago

Huge shout out to the team — thank you!