[MacPorts] #66403: Upgrading libbson on MAC OSX 13.0.1 fails
MacPorts
noreply at macports.org
Tue Dec 6 10:43:24 UTC 2022
#66403: Upgrading libbson on MAC OSX 13.0.1 fails
-----------------------------+------------------------
Reporter: sudheerhebbale | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libbson |
-----------------------------+------------------------
Old description:
> 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
New description:
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
--
Comment (by ryandesign):
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?
--
Ticket URL: <https://trac.macports.org/ticket/66403#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list