ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/2343] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/2343] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/2343] 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/2343] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [5/2343] CXX obj/clang/lib/AST/ByteCode/AST.InterpBlock.o [6/2343] CXX obj/clang/lib/AST/ByteCode/AST.PrimType.o [7/2343] CXX obj/clang/lib/AST/ByteCode/AST.InterpStack.o [8/2343] CXX obj/clang/lib/AST/ByteCode/AST.MemberPointer.o [9/2343] CXX obj/clang/lib/AST/ByteCode/AST.DynamicAllocator.o [10/2343] CXX obj/clang/lib/AST/ByteCode/AST.State.o [11/2343] CXX obj/clang/lib/AST/ByteCode/AST.Function.o [12/2343] CXX obj/clang/lib/AST/ByteCode/AST.EvaluationResult.o [13/2343] CXX obj/clang/lib/AST/ByteCode/AST.InterpState.o [14/2343] CXX obj/clang/lib/AST/ByteCode/AST.Descriptor.o [15/2343] CXX obj/clang/lib/AST/ByteCode/AST.InterpFrame.o [16/2343] CXX obj/clang/lib/AST/ByteCode/AST.Program.o [17/2343] CXX obj/clang/lib/AST/ByteCode/AST.InterpBuiltinBitCast.o [18/2343] CXX obj/clang/lib/AST/ByteCode/AST.Pointer.o [19/2343] CXX obj/clang/lib/AST/ByteCode/AST.Context.o [20/2343] CXX obj/clang/lib/AST/ByteCode/AST.ByteCodeEmitter.o [21/2343] CXX obj/clang/lib/AST/ByteCode/AST.InterpBuiltin.o [22/2343] CXX obj/clang/lib/AST/ByteCode/AST.Disasm.o [23/2343] CXX obj/clang/unittests/AST/ByteCode/InterpTests.Pointer.o [24/2343] CXX obj/clang/unittests/AST/ByteCode/InterpTests.toAPValue.o [25/2343] CXX obj/clang/unittests/AST/ByteCode/InterpTests.Descriptor.o [26/2343] CXX obj/clang/lib/AST/ByteCode/AST.Compiler.o [27/2343] CXX obj/clang/lib/AST/ByteCode/AST.EvalEmitter.o [28/2343] CXX obj/clang/lib/AST/AST.ASTContext.o [29/2343] CXX obj/clang/lib/AST/AST.ExprConstant.o [30/2343] 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.