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
deluged -d
throws ffi.callback()
error on M1 mac
#11
Comments
One complexity that should have been obvious is that the final brew
This keg's
But neither lets |
Traceback found with |
related PR does fix this issue, as it bumps |
Since M1 Macs have stricter codesigning requirements than Intel Macs, this issue seems to only be present on M1. Also, it does NOT happen when simply running a local
deluged
binary (e.g. inside a python virtual environment fromvenv/bin/pip install deluge
) since (i think?) that binary would be linker-signed. Since this is a homebrew-sandbox-built binary it's different ...?The cffi docs note that on Mac OS X, applications that use
ffi.callback()
must use the entitlementcom.apple.security.cs.allow-unsigned-executable-memory
.I've tried something along the lines of the steps listed in this blog post:
Save into
entitlements.plist
Run adhoc codesign and then check attributes with
-d
to ensure they're there:Regardless of codesign telling me this binary is signed with the proper entitlement, running it still throws back the same unable to start error as above (???).
The text was updated successfully, but these errors were encountered: