Bazel building C++ sample with ccache fails
问题 I've been following the instructions for OSX here. I've installed bazel, cloned the sample and tried to build it with bazel build //main:hello-world . But here where it got wrong. INFO: Analysed target //main:hello-world (0 packages loaded). INFO: Found 1 target... ERROR: /Users/myuser/work/temp/bazel-sample/examples/cpp-tutorial/stage1/main/BUILD:1:1: Linking of rule '//main:hello-world' failed (Exit 1) ccache: error: Failed to create temporary file for /Users/myuser/.ccache/6/stats.tmp: