ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/2534] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/2534] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/2534] ACTION //llvm/lib/Transforms/IPO:write_instrumentor_variables(//llvm/utils/gn/build/toolchain:unix) FAILED: gen/llvm/include/llvm/Transforms/IPO/InstrumentorVariables.inc python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/llvm/include/llvm/Transforms/IPO/InstrumentorVariables.inc ../../llvm/include/llvm/Transforms/IPO/InstrumentorVariables.inc.in LLVM_INSTRUMENTOR_RUNTIME_HELPER=@file:/usr/local/google/home/thakis/src/llvm-project/out/gn Traceback (most recent call last): File "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 126, in sys.exit(main()) ~~~~^^ File "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 58, in main with open(file_path) as f: ~~~~^^^^^^^^^^^ IsADirectoryError: [Errno 21] Is a directory: '/usr/local/google/home/thakis/src/llvm-project/out/gn' [4/2534] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [5/2534] CXX obj/clang/lib/AST/ByteCode/AST.Interp.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.