[MacPorts] #68274: emacs 29.1+nativecomp+treesitter: configuration failure

MacPorts noreply at macports.org
Fri Sep 29 00:33:41 UTC 2023


#68274: emacs 29.1+nativecomp+treesitter: configuration failure
-----------------------------+--------------------
  Reporter:  kenniskoldewyn  |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.8.1
Resolution:                  |   Keywords:  sonoma
      Port:  emacs           |
-----------------------------+--------------------

Comment (by elteck):

 Ran into the same issue. The root cause for me is that it somehow picks
 the system clang compiler. I see this in the log file:\\
 \\
 configure:5103: result: x86_64-apple-darwin23.0.0\\
 configure:6372: checking for C compiler version \\
 configure:6381: /usr/bin/clang --version >&5 \\
 Apple clang version 15.0.0 (clang-1500.0.40.1) \\
 Target: x86_64-apple-darwin23.0.0 \\
 Thread model: posix \\
 \\
 Which is strange, since I did install the clang-14 and I did do a port
 select clang mp-clang-14.\\

 @Georges-MacBook-Pro-5 ~ % which clang\\
 /opt/local/bin/clang\\
 \\
 I did try installing emacs-devel as well. That port does pick the correct
 clang executable, but requires libgccjit, which I don't know how to
 install.

-- 
Ticket URL: <https://trac.macports.org/ticket/68274#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list