[MacPorts] #65359: emacs needs -nativecomp on M1 Mac

MacPorts noreply at macports.org
Fri Jun 17 13:46:16 UTC 2022


#65359: emacs needs -nativecomp on M1 Mac
------------------------------+--------------------
 Reporter:  arappe            |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.7.2
 Keywords:  emacs nativecomp  |       Port:  emacs
------------------------------+--------------------
 On an older Mac running Monterey, emacs 28.1 with nativecomp compiled
 installed and runs normally.
 On a new Mac (MacBook Pro 14" 2021, M1 Max chip, OSX 12.4) sudo port
 install emacs gives the +nativecomp variant, but

 ESC-x calc does not run the calculator but instead reports

 Cannot find suitable directory for output in `comp-native-load-path'.

 ESC-% (trying to REGEXP replace) gives same error

 Cannot find suitable directory for output in `comp-native-load-path'.

 I did rm -rf /opt/local and rm -rf /Applications/MacPorts
 started fresh with Mac Ports install
 same problem.

 sudo port uninstall emacs followed by sudo port install emacs -nativecomp
 fixes my issues.

 I'm not sure if this is an emacs problem or a dependent package problem.
 For my use case I am fine with -nativecomp long term. But I thought you'd
 like to know.

-- 
Ticket URL: <https://trac.macports.org/ticket/65359>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list