ccache problem
Werner LEMBERG
wl at gnu.org
Fri Apr 1 18:38:37 UTC 2022
[macports-base 5d637741b5ae04b63f7e99a9057c6764d29fd7fd (Mar 10 2022)]
[macports-ports b6d340c43cdb2bef077f72edb075a124148832ed (Apr 1 2022)]
I'm trying to install `lilypond-devel` on my macOS 10.7.5 box; due to
using variants this must be compiled. Previously, this always worked,
however, I now get an error during the `configure` step. In
`config.log` file I see
```
ccache /opt/local/bin/clang-mp-13 ... conftest.c >&5
ccache: error: Failed to create temporary file for /run/user/507/ccache-tmp/tmp.cpp_stdout.RTVNqj: Operation not permitted
```
In my `macports.conf` file I have `configureccache yes` (unchanged
since a very long time), and `ccache_dir` is unset. After doing
```
sudo port uninstall cccache
sudo port clean --all ccache
sudo port install cccache
```
I can see that `/opt/local/var/macports/build/.ccache` has been
created anew (together with some subdirectories); the permissions are
755, and the owner is 'macports.wheel'. In comparison,
`/run/user/507/ccache-tmp/` has the same permissions but the owner is
'macports.staff'. [I haven't changed anything manually.]
What's the reason that `port` tries to use `/run/user/507/ccache-tmp/`
(uid 507 = macports) instead of the default ccache dir?
Is this a bug with the new `ccache` version (which `port` compiled,
too)? Am I doing something wrong?
Werner
More information about the macports-users
mailing list