Closed brodyhoskins closed 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.
Investigation required. Find out if gateways have any cGo dependencies anymore, if they don't, enable building macOS binaries.
Change https://review.dev.storj.io/c/storj/gateway/+/5865 mentions this issue.
Change https://review.dev.storj.io/c/storj/gateway-mt/+/7180 mentions this issue.
Change https://review.dev.storj.io/c/storj/gateway/+/5865 mentions this issue.
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/
Huge shout out to the team — thank you!
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).