After an update-checkout
I'm not able to build compiler using ./swift/utils/build-script --release --skip-build-benchmarks --swift-darwin-supported-archs "$(uname -m)" --sccache --skip-ios --skip-tvos --skip-watchos
with the following issue:
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/SanitizerArgs.cpp.o (Operation not permitted)
[797/988][ 80%][889.250s] Building CXX object tools/clang/lib/Analysis/CMakeFiles/obj.clangAnalysis.dir/CalledOnceCheck.cpp.o
ninja: build stopped: subcommand failed.
ERROR: command terminated with a non-zero exit status 1, aborting
Is anyone else seeing this as well?
The problem is only with ninja ... --Xcode is working
Edit: A little bit more context is that the file SanitizerArgs.cpp.o doesn't exist in this folder