ninja: Entering directory `out/gn' [1/2343] COPY ../../libcxx/include/string include/c++/v1/string [2/2343] STAMP obj/libcxx/include/copy_headers.stamp [3/2343] STAMP obj/clang/include/clang/Basic/AttrHasAttributeImpl.stamp [4/2343] STAMP obj/clang/include/clang/Basic/AttrList.stamp [5/2343] ACTION //clang/include/clang/Sema:AttrSpellingListIndex(//llvm/utils/gn/build/toolchain:unix) [6/2343] ACTION //clang/include/clang/Parse:AttrSubMatchRulesParserStringSwitches(//llvm/utils/gn/build/toolchain:unix) [7/2342] ACTION //clang/include/clang/Sema:AttrParsedAttrList(//llvm/utils/gn/build/toolchain:unix) [8/2342] ACTION //clang/include/clang/Sema:AttrTemplateInstantiate(//llvm/utils/gn/build/toolchain:unix) [9/2342] ACTION //clang/include/clang/Serialization:AttrPCHRead(//llvm/utils/gn/build/toolchain:unix) [10/2342] STAMP obj/clang/include/clang/Sema/AttrSpellingListIndex.stamp [11/2342] ACTION //clang/include/clang/Sema:AttrParsedAttrKinds(//llvm/utils/gn/build/toolchain:unix) [12/2342] ACTION //clang/include/clang/Sema:AttrParsedAttrImpl(//llvm/utils/gn/build/toolchain:unix) [13/2342] ACTION //clang/include/clang/Serialization:AttrPCHWrite(//llvm/utils/gn/build/toolchain:unix) [14/2342] STAMP obj/clang/include/clang/Sema/AttrParsedAttrList.stamp [15/2342] STAMP obj/clang/include/clang/Sema/AttrTemplateInstantiate.stamp [16/2342] STAMP obj/clang/include/clang/Serialization/AttrPCHRead.stamp [17/2342] STAMP obj/clang/include/clang/Sema/AttrParsedAttrKinds.stamp [18/2342] ACTION //clang/include/clang/Parse:AttrParserStringSwitches(//llvm/utils/gn/build/toolchain:unix) [19/2342] STAMP obj/clang/include/clang/Sema/AttrParsedAttrImpl.stamp [20/2342] STAMP obj/clang/include/clang/Serialization/AttrPCHWrite.stamp [21/2342] STAMP obj/clang/include/clang/Parse/AttrParserStringSwitches.stamp [22/2342] ACTION //clang/include/clang/Basic:DiagnosticIndexName(//llvm/utils/gn/build/toolchain:unix) [23/2342] STAMP obj/clang/include/clang/Basic/DiagnosticIndexName.stamp [24/2342] ACTION //clang/include/clang/Basic:DiagnosticCommentKinds(//llvm/utils/gn/build/toolchain:unix) [25/2341] ACTION //clang/include/clang/Basic:DiagnosticFrontendKinds(//llvm/utils/gn/build/toolchain:unix) [26/2340] ACTION //clang/include/clang/Basic:DiagnosticASTKinds(//llvm/utils/gn/build/toolchain:unix) [27/2339] ACTION //clang/include/clang/Basic:DiagnosticGroups(//llvm/utils/gn/build/toolchain:unix) [28/2337] ACTION //clang/include/clang/Basic:DiagnosticCrossTUKinds(//llvm/utils/gn/build/toolchain:unix) [29/2336] ACTION //clang/include/clang/Basic:DiagnosticDriverKinds(//llvm/utils/gn/build/toolchain:unix) [30/2335] ACTION //clang/include/clang/Basic:DiagnosticAnalysisKinds(//llvm/utils/gn/build/toolchain:unix) [31/2334] STAMP obj/clang/lib/AST/AttrDocTable.stamp [32/2334] STAMP obj/clang/include/clang/AST/AttrImpl.stamp [33/2334] STAMP obj/clang/include/clang/AST/AttrTextNodeDump.stamp [34/2334] ACTION //clang/include/clang/Basic:DiagnosticCommonKinds(//llvm/utils/gn/build/toolchain:unix) [35/2199] ACTION //clang/include/clang/Basic:DiagnosticInstallAPIKinds(//llvm/utils/gn/build/toolchain:unix) [36/2197] STAMP obj/clang/include/clang/AST/AttrVisitor.stamp [37/2197] STAMP obj/clang/include/clang/AST/Attrs.stamp [38/2197] ACTION //clang/include/clang/Basic:RegularKeywordAttrInfo(//llvm/utils/gn/build/toolchain:unix) [39/2080] ACTION //lldb/test:lit_api_site_cfg(//llvm/utils/gn/build/toolchain:unix) FAILED: gen/lldb/test/API/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/lldb/test/API/lit.site.cfg.py ../../lldb/test/API/lit.site.cfg.py.in LIT_SITE_CFG_IN_HEADER=\#\#\ Autogenerated\ from\ //lldb/test/API/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 Python3_EXECUTABLE=python3 LLVM_TARGET_TRIPLE=arm64-apple-darwin DEFAULT_SYSROOT= LIBCXX_LIBRARY_DIR=/Users/thakis/src/llvm-project/out/gn/lib LIBCXX_GENERATED_INCLUDE_DIR=/Users/thakis/src/llvm-project/out/gn/include/c++/v1 LIBCXX_GENERATED_INCLUDE_TARGET_DIR= LLDB_BUILD_INTEL_PT=0 LLDB_TEST_COMMON_ARGS= LLDB_TEST_USER_ARGS= LLDB_ENABLE_PYTHON=0 LLDB_HAS_LIBCXX=False LLDB_LIBS_DIR= LLDB_TEST_ARCH=arm64 LLDB_TEST_COMPILER=/Users/thakis/src/llvm-project/out/gn/bin/clang LLDB_TEST_BUILD_DIRECTORY=/Users/thakis/src/llvm-project/out/gn/gen/lldb/test/test_build LLDB_TEST_DSYMUTIL=/Users/thakis/src/llvm-project/out/gn/bin/dsymutil LLDB_TEST_EXECUTABLE=/Users/thakis/src/llvm-project/out/gn/bin/lldb LLDB_TEST_MAKE=make 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_PLATFORM_URL= LLDB_TEST_PLATFORM_WORKING_DIR= LLDB_TEST_SYSROOT= LLVM_BUILD_MODE=. LLVM_ENABLE_SHARED_LIBS=0 LLVM_HOST_TRIPLE=arm64-apple-darwin LLVM_INCLUDE_DIR=/Users/thakis/src/llvm-project/out/gn/include LLVM_USE_SANITIZER= Lua_EXECUTABLE= LLDB_FRAMEWORK_DIR=XXX_framework_dir CMAKE_CXX_COMPILER=c++ HOST_OS=mac 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: 'LUA_EXECUTABLE' [40/2080] ACTION //clang/include/clang/Basic:DiagnosticRefactoringKinds(//llvm/utils/gn/build/toolchain:unix) [41/2079] ACTION //clang/include/clang/Basic:DiagnosticParseKinds(//llvm/utils/gn/build/toolchain:unix) [42/2078] ACTION //clang/include/clang/Basic:DiagnosticSerializationKinds(//llvm/utils/gn/build/toolchain:unix) [43/2077] ACTION //clang/include/clang/Basic:DiagnosticLexKinds(//llvm/utils/gn/build/toolchain:unix) [44/2060] ACTION //clang/include/clang/Basic:DiagnosticSemaKinds(//llvm/utils/gn/build/toolchain:unix) [45/2060] CXX obj/llvm/lib/Target/X86/LLVMX86CodeGen.X86ISelLowering.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.