Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alpaca 2.0.5 killed on start on MacOS 14.5 (23F79) arm64 #128

Closed
mdemierre opened this issue Jun 25, 2024 · 6 comments · Fixed by #129
Closed

alpaca 2.0.5 killed on start on MacOS 14.5 (23F79) arm64 #128

mdemierre opened this issue Jun 25, 2024 · 6 comments · Fixed by #129

Comments

@mdemierre
Copy link

mdemierre commented Jun 25, 2024

Since the upgrade to 2.0.5 I'm unable to start alpaca.

I tried both the brew version and to directly run the binary downloaded from GitHub.

When starting the binary I get this:

./alpaca_v2.0.5_darwin-arm64
[1]    3264 killed     ./alpaca_v2.0.5_darwin-arm64

I also get a popup saying:

“alpaca_v2.0.5_darwin-arm64” is damaged and can’t be opened. You should move it to the Trash.

If I try the brew service I get:

alpaca        error  9 <username> ~/Library/LaunchAgents/homebrew.mxcl.alpaca.plist

If I try the binary of the older version I get a different popup about unrecognized signature, and then I can accept it through the Preferences in Privacy & Security. For 2.0.5 I get nothing there.

Installing alpaca via Go works.

Was anything changed in the signing or build process between 2.0.4 and 2.0.5?

@mike-a-bike
Copy link

Same issue here. Immediately killed process after update to 2.0.5 via Homebrew.
OS Version: 14.5 (23F79)
CPU: Apple M3 Pro (arm64)
Credential Config: Kerberos

Downgraded to 2.0.4, works like a charm.

@samuong
Copy link
Owner

samuong commented Jun 25, 2024

Thanks for reporting this. I can reproduce it locally on my MacBook Pro.

There was a change with the build process in v2.0.5, which was that the Go version on the runners was upgraded to 1.22. I suspect this has something to do with it, although I'm not sure exactly how. Strangely, I can build and run the binary just fine if I build it on my own laptop. I'm not sure how the GHA runners differ, but I'll look into this.

@samuong
Copy link
Owner

samuong commented Jun 25, 2024

Ok I've bumped a few versions in the workflow, and that seems to fix it. I'll release this as v2.0.6 shortly.

@samuong
Copy link
Owner

samuong commented Jun 25, 2024

Oops, I fixed the CI workflow, but not the release workflow, so v2.0.6 went out broken in the same way! I've just reapplied the fix to the release workflow and pushed this out as v2.0.7. I've also updated the Homebrew tap so you should be able to update this via brew.

Please let me know if anything is still broken, and thanks again for reporting!

@mike-a-bike
Copy link

Thank you for fixing this so soon. Much appreciated! 👍
And thank you for this project and your work.

It works like a charm!

@mdemierre
Copy link
Author

@samuong Thanks for the quick fix! Also works fine on my environment now with the latest binaries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants