Opened 13 months ago
Last modified 11 months ago
#71232 assigned defect
emacs-app-devel: The application "Finder" does not have permission to open "(null)"
| Reported by: | kresdjan (christian) | Owned by: | drkp (Dan Ports) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.4 |
| Keywords: | Cc: | catap (Kirill A. Korinsky), l2dy (Zero King), mascguy (Christopher Nielsen) | |
| Port: | emacs-app-devel |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When compiling emacs-app-devel it completes without errors. But Emacs.app can't open, resulting in The application "Finder" does not have permission to open "(null)". Though the Emacs executable in /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs does launch Emacs from the Terminal.
port command and variants used to install.
sudo port install emacs-app-devel +xwidgets +nativecomp +treesitter +imagemagick
Platform information.
$ port version Version: 2.10.4
$ sw_vers ProductName: macOS ProductVersion: 15.1 BuildVersion: 24B83
$ system_profiler SPHardwareDataType
Hardware:
Hardware Overview:
Model Name: iMac
Model Identifier: iMac19,1
Processor Name: 6-Core Intel Core i5
Processor Speed: 3 GHz
Number of Processors: 1
Total Number of Cores: 6
L2 Cache (per Core): 256 KB
L3 Cache: 9 MB
Memory: 40 GB
System Firmware Version: 2069.0.0.0.0
OS Loader Version: 582~2132
SMC Version (system): 2.46f12
Serial Number (system): XXXXXXXXXXXX
Hardware UUID: XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Provisioning UDID: XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Attachments (1)
Change History (9)
Changed 13 months ago by kresdjan (christian)
| Attachment: | Screenshot 2024-10-31 at 22.38.48.png added |
|---|
comment:1 Changed 13 months ago by kresdjan (christian)
| Description: | modified (diff) |
|---|
comment:2 follow-up: 6 Changed 13 months ago by kresdjan (christian)
What appears to be the same issue was posted on d12frosted Emacs+ Github with a fix/workaround https://github.com/d12frosted/homebrew-emacs-plus/issues/742#issuecomment-2449092291.
comment:3 Changed 13 months ago by jmroot (Joshua Root)
| Cc: | catap added |
|---|---|
| Owner: | set to drkp |
| Status: | new → assigned |
| Summary: | The application "Finder" does not have permission to open "(null)" → emacs-app-devel: The application "Finder" does not have permission to open "(null)" |
comment:4 Changed 12 months ago by l2dy (Zero King)
| Cc: | l2dy added |
|---|
comment:5 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
| Description: | modified (diff) |
|---|
comment:6 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to kresdjan:
What appears to be the same issue was posted on d12frosted Emacs+ Github with a fix/workaround https://github.com/d12frosted/homebrew-emacs-plus/issues/742#issuecomment-2449092291.
The workaround posted there is to codesign the app. So this is another instance of #70945.
comment:7 Changed 12 months ago by mascguy (Christopher Nielsen)
| Cc: | mascguy added |
|---|
comment:8 Changed 11 months ago by andeux (Andy Lewis)
I had this issue with the emacs-app port on an intel mac running 15.2, and can confirm it is corrected by the codesign command in the thread for homebrew emacs linked above.
sudo codesign --force --deep --sign - -v --strip-disallowed-xattrs /Applications/MacPorts/Emacs.app
I did not see the same problem on a mac with apple silicon. I thought there might be some other configuration difference between my machines causing the issue, but people in the homebrew thread also said that this was only happening on intel macs.


Screenshot