#68375 closed defect (invalid)

neovim @0.9.2: ccache: error: Failed to create directory /opt/local/var/macports/build/.ccache/tmp: Operation not permitted

Reported by: artcore-c Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc: l2dy (Zero King), judaew (Vadym-Valdis Yudaiev)
Port: neovim

Description

performed migration as outlined and had a problem building Neovim and Zig. Have done port clean as recommended, but its a build problem I think as the process runs but encounters errors and does not install. All dependencies are installed latest versions, really read everything and tried everything but no luck. Have neovim/main.log debug file to attach referenced in terminal after build failure.

Attachments (1)

Main.rtfd.zip (20.6 KB) - added by artcore-c 13 months ago.

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by artcore-c

Attachment: Main.rtfd.zip added

comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: l2dy judaew added
Keywords: sonoma added; Neovim Install Build Error removed
Owner: set to raimue
Port: neovim added; Neovim removed
Status: newassigned
Summary: Neovim build failure after upgrade to MacOS 14.0 Sonomaneovim @0.9.2: ccache: error: Failed to create directory /opt/local/var/macports/build/.ccache/tmp: Operation not permitted

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.

comment:2 Changed 12 months ago by raimue (Rainer Müller)

Resolution: invalid
Status: assignedclosed

This is likely a user-specific error in the setup of ccache. Please follow the instructions on wiki:howto/ccache.

Note: See TracTickets for help on using tickets.