ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/2412] AR lib/libLLVMObjCopy.a [2/2412] 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' [3/2412] LINK ./bin/llvm-objcopy [4/2412] LINK obj/llvm/unittests/ObjCopy/ObjCopyTests [5/2412] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngineCallAndReturn.o [6/2412] CXX obj/clang/lib/StaticAnalyzer/Core/Core.ExprEngine.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.