Opened 18 months ago

Last modified 18 months ago

#66403 closed defect

Upgrading libbson on MAC OSX 13.0.1 fails — at Version 3

Reported by: sudheerhebbale (Sudheer Hebbale) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libbson

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While upgrading libbson on MAC OSX 13.0.1

The following error gets generated in main.log

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

main.log is attached for reference

Tried with configureccache set to no as well, resulting in the same error

Change History (4)

Changed 18 months ago by sudheerhebbale (Sudheer Hebbale)

Attachment: main.log added

comment:1 Changed 18 months ago by sudheerhebbale (Sudheer Hebbale)

Description: modified (diff)

comment:2 Changed 18 months ago by jmroot (Joshua Root)

Keywords: ccache removed
Owner: set to ryandesign
Status: newassigned

The cmake portgroup does some very strange things with the configure.ccache option that are probably causing this.

comment:3 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

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?

Note: See TracTickets for help on using tickets.