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.

Screenshot

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)

Screenshot 2024-10-31 at 22.38.48.png (705.6 KB) - added by kresdjan (christian) 13 months ago.
Screenshot

Download all attachments as: .zip

Change History (9)

Changed 13 months ago by kresdjan (christian)

Screenshot

comment:1 Changed 13 months ago by kresdjan (christian)

Description: modified (diff)

comment:2 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: newassigned
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 in reply to:  2 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.

Note: See TracTickets for help on using tickets.