[MacPorts] #68375: neovim @0.9.2: ccache: error: Failed to create directory /opt/local/var/macports/build/.ccache/tmp: Operation not permitted (was: Neovim build failure after upgrade to MacOS 14.0 Sonoma)

MacPorts noreply at macports.org
Sat Oct 7 08:48:54 UTC 2023


#68375: neovim @0.9.2: ccache: error: Failed to create directory
/opt/local/var/macports/build/.ccache/tmp: Operation not permitted
------------------------+----------------------
  Reporter:  artcore-c  |      Owner:  raimue
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:  sonoma
      Port:  neovim     |
------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: l2dy, judaew (added)
 * keywords:  Neovim Install Build Error => sonoma
 * owner:  (none) => raimue
 * port:  Neovim => neovim


Comment:

 I'm not sure why you enclosed your main.log file in an rtfd but the error
 in the log is:

 {{{
 :info:build ccache: error: Failed to create directory
 /opt/local/var/macports/build/.ccache/tmp: Operation not permitted
 :info:build ccache: error: Failed to create directory
 /opt/local/var/macports/build/.ccache/tmp: Operation not permitted
 }}}

 Do you have the ccache port installed? Have you told MacPorts to use
 ccache by setting `configureccache yes` in macports.conf? I think this
 error would only occur if you have the port installed but have not told
 MacPorts to use it. So you have two workarounds: either deactivate the
 ccache port or tell MacPorts to use ccache in macports.conf.

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


More information about the macports-tickets mailing list