ninja: Entering directory `out/gn' [1/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCHazardRecognizers.o [2/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCEarlyReturn.o [3/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCGenScalarMASSEntries.o [4/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCExpandAtomicPseudoInsts.o [5/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCFrameLowering.o [6/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCFastISel.o [7/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCLoopInstrFormPrep.o [8/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCInstrInfo.o [9/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCLowerMASSVEntries.o [10/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCMacroFusion.o [11/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCMCInstLower.o [12/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCISelDAGToDAG.o [13/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCMIPeephole.o [14/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCReduceCRLogicals.o [15/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCPreEmitPeephole.o [16/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTOCRegDeps.o [17/1969] AR lib/libLLVMX86CodeGen.a [18/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTLSDynamicCall.o [19/1969] STAMP obj/llvm/lib/Target/X86/X86.stamp [20/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCRegisterInfo.o [21/1969] LINK obj/llvm/unittests/MC/X86/X86MCTests [22/1969] LINK obj/llvm/unittests/tools/llvm-mca/LLVMMCATests [23/1969] STAMP obj/lldb/tools/lldb-server/lldb-server.inputdeps.stamp [24/1969] LINK obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests [25/1969] STAMP obj/clang/unittests/Tooling/Syntax/SyntaxTests.inputdeps.stamp [26/1969] 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' [27/1969] LINK obj/llvm/unittests/Target/X86/X86Tests [28/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCISelLowering.o [29/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCSubtarget.o [30/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCVSXCopy.o [31/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCVSXFMAMutate.o [32/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTargetMachine.o [33/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCVSXSwapRemoval.o [34/1969] CXX obj/llvm/lib/Target/PowerPC/LLVMPowerPCCodeGen.PPCTargetTransformInfo.o [35/1969] CXX obj/clang/unittests/Tooling/Syntax/SyntaxTests.BuildTreeTest.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.