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

v30.0 OSX binary cannot be run on macOS 15.3.1 #20576

Open
kriswuollett opened this issue Mar 5, 2025 · 2 comments
Open

v30.0 OSX binary cannot be run on macOS 15.3.1 #20576

kriswuollett opened this issue Mar 5, 2025 · 2 comments
Assignees
Labels
30.x mac packaging & distribution platform related Any issue releated to specific platform or OS

Comments

@kriswuollett
Copy link

Our newest releases (22.4+ and 23.x) will now have signed OSX binaries, closing this issue.

Originally posted by @deannagarcia in #9397

On macOS 15.3.1 I've encountered an error when trying to run protoc from protoc-30.0-osx-aarch_64 release binary:

% sha256sum ~/Downloads/protoc-30.0-osx-aarch_64/bin/protoc
ed4a186bc767b067dd7ae09bfa935450b313be02cbd21a1af185274b8d2a07a8  /Users/kris/Downloads/protoc-30.0-osx-aarch_64/bin/protoc
% codesign -v -vvv --strict --deep ~/Downloads/protoc-30.0-osx-aarch_64/bin/protoc
/Users/kris/Downloads/protoc-30.0-osx-aarch_64/bin/protoc: valid on disk
/Users/kris/Downloads/protoc-30.0-osx-aarch_64/bin/protoc: satisfies its Designated Requirement
% ~/Downloads/protoc-30.0-osx-aarch_64/bin/protoc

macOS Alert

"protoc" Not Opened

Apple could not verify "protoc" is free of malware that may harm your Mac or compromise your privacy.

[Done] [Move to Trash]
zsh: killed     ~/Downloads/protoc-30.0-osx-aarch_64/bin/protoc

I see syspolicyd in console saying ticket not available for something, probably the protoc just tried to run. Also tried the protoc-29.3-osx-universal_binary release with the same result.

Not sure if this a transient error with Notarization / Gatekeeper. But workaround to continue using protoc on homebrew works ok:

% sha256sum /opt/homebrew/bin/protoc
8949fe76a001b29303d6b24c106e3b1da0b19fd6fe412038a2d2fce18864a5b0  /opt/homebrew/bin/protoc
% /opt/homebrew/bin/protoc --version
libprotoc 29.3
@zhangskz zhangskz added mac packaging & distribution platform related Any issue releated to specific platform or OS 30.x labels Mar 6, 2025
@zhangskz
Copy link
Member

zhangskz commented Mar 6, 2025

@deannagarcia has been doing some work to ensure our macOS artifacts are properly notarized. I believe this wasn't complete yet as of 30.x, but will let her chime in (likely in a ~week or so) on if this is indeed the case, or if we have another issue here.

But in general, thanks for the report -- this is on our radar!

@Ammrothh
Copy link

Hello @deannagarcia, @zhangskz! sorry for pushing., is there any update on this issue? I'm stuck on this issue right now (can't use home-brew because of some restrictions on my work Mac).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
30.x mac packaging & distribution platform related Any issue releated to specific platform or OS
Projects
None yet
Development

No branches or pull requests

4 participants