ninja: Entering directory `out/gn' [1/634] AR lib/libclangdSupport.a [2/634] AR lib/libclangAPINotes.a [3/634] AR lib/libclangDriver.a [4/634] CXX obj/clang/lib/Sema/Sema.SemaAccess.o [5/634] CXX obj/clang/lib/AST/AST.DeclBase.o [6/634] CXX obj/clang/unittests/Sema/SemaTests.SemaNoloadLookupTest.o [7/634] AR lib/libclangLex.a [8/634] LINK obj/clang/unittests/Basic/BasicTests [9/634] AR lib/libclangRewrite.a [10/634] AR lib/libclangTesting.a [11/634] AR lib/libclangToolingCore.a [12/634] AR lib/libclangToolingInclusions.a [13/634] AR lib/libclangFormat.a [14/634] LINK ./bin/apinotes-test [15/634] CXX obj/clang/unittests/AST/ASTTests.ASTImporterObjCTest.o [16/634] LINK ./bin/clang-fuzzer-dictionary [17/634] AR lib/libLLVMAsmParser.a [18/634] LINK ./bin/clang-format [19/634] AR lib/libLLVMCGData.a [20/634] AR lib/libLLVMBitReader.a [21/634] ACTION //lldb/test:lit_shell_site_cfg(//llvm/utils/gn/build/toolchain:unix) FAILED: gen/lldb/test/Shell/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/lldb/test/Shell/lit.site.cfg.py ../../lldb/test/Shell/lit.site.cfg.py.in LIT_SITE_CFG_IN_HEADER=\#\#\ Autogenerated\ from\ //lldb/test/Shell/lit.site.cfg.py.in,\ do\ not\ edit LLDB_BINARY_DIR=/Users/thakis/src/llvm-project/out/gn/obj/lldb LLDB_SOURCE_DIR=/Users/thakis/src/llvm-project/lldb LLVM_BINARY_DIR=/Users/thakis/src/llvm-project/out/gn/obj/llvm LLVM_LIBS_DIR= LLVM_LIT_TOOLS_DIR= LLVM_SOURCE_DIR=/Users/thakis/src/llvm-project/llvm LLVM_TOOLS_DIR=/Users/thakis/src/llvm-project/out/gn/bin LLVM_TARGET_TRIPLE=arm64-apple-darwin CLANG_RESOURCE_DIR= DEFAULT_SYSROOT= LIBCXX_LIBRARY_DIR=/Users/thakis/src/llvm-project/out/gn/lib LLDB_ENABLE_LUA=0 LLDB_ENABLE_LZMA=0 LLDB_ENABLE_PYTHON=0 LLDB_HAS_LIBCXX=False LLDB_IS_64_BITS=1 LLDB_LIBS_DIR= LLDB_LIT_TOOLS_DIR= LLDB_TEST_BUILD_DIRECTORY=/Users/thakis/src/llvm-project/out/gn/gen/lldb/test/test_build LLDB_TEST_MODULE_CACHE_CLANG=/Users/thakis/src/llvm-project/out/gn/gen/lldb/test/lldb-test-build.noindex/module-cache-clang LLDB_TEST_MODULE_CACHE_LLDB=/Users/thakis/src/llvm-project/out/gn/gen/lldb/test/lldb-test-build.noindex/module-cache-lldb LLDB_TEST_OBJC_GNUSTEP_DIR= LLDB_TEST_PLATFORM_URL= LLDB_TEST_PLATFORM_WORKING_DIR= LLDB_TEST_SHELL_DISABLE_REMOTE=True LLDB_TEST_SYSROOT= LLDB_TOOL_LLDB_SERVER_BUILD=1 LLDB_TOOLS_DIR=/Users/thakis/src/llvm-project/out/gn/bin LLDB_USE_SYSTEM_DEBUGSERVER=1 LLVM_HOST_TRIPLE=arm64-apple-darwin LLVM_USE_SANITIZER= Python3_EXECUTABLE=python3 LLVM_ENABLE_ZLIB=1 SHLIBDIR=../../../../lib Traceback (most recent call last): File "/Users/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 122, in sys.exit(main()) File "/Users/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 72, in main in_line = var_re.sub(repl, in_line) File "/Users/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 70, in repl return values[key] KeyError: 'Python3_ROOT_DIR' [22/634] CXX obj/lldb/source/Target/Target.RegisterNumber.o [23/634] CXX obj/clang/lib/Sema/Sema.SemaLookup.o [24/634] CXX obj/clang/lib/AST/AST.ASTDumper.o [25/634] CXX obj/clang/lib/Interpreter/Interpreter.CodeCompletion.o [26/634] CXX obj/clang/lib/Interpreter/Interpreter.IncrementalParser.o [27/634] CXX obj/clang/lib/AST/AST.ASTContext.o [28/634] CXX obj/clang/lib/Sema/Sema.SemaTemplateInstantiateDecl.o [29/634] CXX obj/clang/lib/Serialization/Serialization.ASTWriter.o [30/634] CXX obj/clang/unittests/AST/ASTTests.ASTImporterTest.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.