Changes between Version 1 and Version 3 of Ticket #66403


Ignore:
Timestamp:
Dec 6, 2022, 10:43:24 AM (17 months ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Hmm, I always build with configureccache yes on my main machine and I don't recall seeing this problem with libbson, and our buildbot machines build with configureccache no and I don't think I've seen it there either. However, I haven't tried Ventura yet; maybe something has changed.

Are the permissions and ownership of /opt/local/var/macports/build and /opt/local/var/macports/build/.ccache and /opt/local/var/macports/build/.ccache/tmp correct? On my system I have:

$ ls -ld /opt/local/var/macports/build{,/.ccache{,/tmp}}
drwxr-xr-x  61 root      wheel  1952 Dec  4 09:05 /opt/local/var/macports/build
drwxr-xr-x  20 macports  wheel   640 Dec  4 08:44 /opt/local/var/macports/build/.ccache
drwxr-xr-x   4 macports  wheel   128 Dec  4 08:49 /opt/local/var/macports/build/.ccache/tmp

Based on the error message I presume /opt/local/var/macports/build/.ccache/tmp does not yet exist on your system. Has this worked for you before? Does it work with other ports?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #66403

    • Property Keywords ccache removed
    • Property Owner set to ryandesign
    • Property Status changed from new to assigned
  • Ticket #66403 – Description

    v1 v3  
    33The following error gets generated in main.log
    44
     5{{{
    56:info:build ccache: error: Failed to create directory /opt/local/var/macports/build/.ccache/tmp: Operation not permitted
     7}}}
    68
    79main.log is attached for reference