ninja: Entering directory `out/gn' [1/408] STAMP obj/llvm/tools/llvm-lipo/symlinks.stamp [2/408] STAMP obj/llvm/tools/llvm-libtool-darwin/symlinks.stamp [3/408] STAMP obj/llvm/tools/llvm-objcopy/llvm-strip.stamp [4/408] STAMP obj/llvm/tools/llvm-objcopy/llvm-bitcode-strip.stamp [5/408] STAMP obj/llvm/tools/llvm-objcopy/llvm-install-name-tool.stamp [6/408] STAMP obj/llvm/tools/llvm-objdump/llvm-otool.stamp [7/408] STAMP obj/llvm/tools/llvm-readobj/llvm-readelf.stamp [8/408] STAMP obj/llvm/tools/llvm-rc/llvm-windres.stamp [9/408] AR lib/libLLVMOptDriver.a [10/408] STAMP obj/llvm/unittests/tools/llvm-exegesis/LLVMExegesisTests.inputdeps.stamp [11/408] STAMP obj/llvm/tools/llvm-objcopy/symlinks.stamp [12/408] STAMP obj/llvm/unittests/tools/llvm-cfi-verify/CFIVerifyTests.inputdeps.stamp [13/408] STAMP obj/llvm/tools/llvm-objdump/symlinks.stamp [14/408] STAMP obj/llvm/tools/llvm-readobj/symlinks.stamp [15/408] STAMP obj/llvm/tools/llvm-rc/symlinks.stamp [16/408] STAMP obj/llvm/unittests/tools/llvm-mca/LLVMMCATests.inputdeps.stamp [17/408] STAMP obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.inputdeps.stamp [18/408] STAMP obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.inputdeps.stamp [19/408] STAMP obj/llvm/unittests/tools/llvm-exegesis/PowerPC/LLVMExegesisPowerPCTests.inputdeps.stamp [20/408] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [21/408] LINK ./bin/c-arcmt-test [22/408] STAMP obj/clang/tools/driver/clangxx.stamp [23/408] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [24/408] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [25/408] STAMP obj/clang/tools/driver/clang-cl.stamp [26/408] STAMP obj/clang/tools/driver/clang-cpp.stamp [27/408] STAMP obj/clang/tools/driver/symlinks.stamp [28/408] ACTION //llvm/tools/llvm-ar:llvm-lib(//llvm/utils/gn/build/toolchain:unix) [29/408] ACTION //llvm/test:lit_site_cfg(//llvm/utils/gn/build/toolchain:unix) FAILED: gen/llvm/test/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/llvm/test/lit.site.cfg.py ../../llvm/test/lit.site.cfg.py.in LIT_SITE_CFG_IN_HEADER=\#\#\ Autogenerated\ from\ //llvm/test/lit.site.cfg.py.in,\ do\ not\ edit\\n\\n\#\ Takes\ a\ path\ that\'s\ relative\ to\ __file__\ and\ makes\ it\ absolute.\\ndef\ path\(p\):\\n\ \ \ \ return\ os.path.abspath\(os.path.join\(__file__,\ \'..\',\ p\)\)\ if\ p\ else\ \'\' LLVM_BINARY_DIR=../../../obj/llvm LLVM_SOURCE_DIR=../../../../../llvm LLVM_TOOLS_DIR=../../../bin SHLIBDIR=../../../lib BUILD_SHARED_LIBS=0 HOST_CC=cc HOST_CXX=c++ HOST_LDFLAGS= LLVM_APPEND_VC_REV=0 LLVM_ENABLE_FFI=0 LLVM_ENABLE_HTTPLIB=0 LLVM_FORCE_VC_REVISION= LLVM_HAS_LOGF128=0 LLVM_HAVE_OPT_VIEWER_MODULES=0 LLVM_HOST_TRIPLE=x86_64-unknown-linux-gnu LLVM_INCLUDE_DXIL_TESTS=0 LLVM_INCLUDE_SPIRV_TOOLS_TESTS=0 LLVM_LIBS_DIR=../../../lib LLVM_LINK_LLVM_DYLIB=0 LLVM_LIT_TOOLS_DIR= LLVM_NATIVE_ARCH=X86 LLVM_TOOL_LLVM_DRIVER_BUILD=0 LLVM_USE_INTEL_JITEVENTS=0 LLVM_USE_SANITIZER= LLVM_VERSION_MAJOR=20 LLVM_VERSION_MINOR=0 LLVM_VERSION_SUFFIX=git Python3_EXECUTABLE=python3 TARGETS_TO_BUILD=AArch64\ AMDGPU\ ARM\ AVR\ BPF\ Hexagon\ Lanai\ LoongArch\ Mips\ NVPTX\ PowerPC\ RISCV\ Sparc\ SystemZ\ WebAssembly\ X86 LLVM_TARGET_TRIPLE=x86_64-unknown-linux-gnu LLVM_LIBCXX_USED=0 LLVM_BINDINGS= LLVM_BYE_LINK_INTO_TOOLS=0 LLVM_EXAMPLEIRTRANSFORMS_LINK_INTO_TOOLS=0 HAVE_OCAMLOPT=0 OCAMLFIND=OCAMLFIND-NOTFOUND OCAMLFLAGS= LLVM_BUILD_EXAMPLES=0 LLVM_HAVE_TF_AOT=0 LLVM_HAVE_TFLITE=0 LLVM_INLINER_MODEL_AUTOGENERATED=0 LLVM_RAEVICT_MODEL_AUTOGENERATED=0 PTXAS_EXECUTABLE= HOST_ARCH=x86_64 EXEEXT= LLVM_ENABLE_PLUGINS=1 LLVM_LIT_ERRC_MESSAGES= LLVM_PLUGIN_EXT=.so SHLIBEXT=.so HOST_OS=Linux GOLD_EXECUTABLE=ld CMAKE_OSX_SYSROOT= LD64_EXECUTABLE= ENABLE_ASSERTIONS=1 LLVM_ENABLE_DIA_SDK=0 LLVM_ENABLE_LIBXML2=1 LLVM_ENABLE_EXPENSIVE_CHECKS=0 LLVM_ENABLE_THREADS=1 LLVM_ENABLE_ZLIB=1 LLVM_ENABLE_ZSTD=0 LLVM_ENABLE_CURL=0 LLVM_ENABLE_REVERSE_ITERATION=0 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 122, in sys.exit(main()) ^^^^^^ File "/usr/local/google/home/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 "/usr/local/google/home/thakis/src/llvm-project/out/gn/../../llvm/utils/gn/build/write_cmake_config.py", line 70, in repl return values[key] ~~~~~~^^^^^ KeyError: 'ENABLE_BACKTRACES' [30/408] STAMP obj/clang.stamp [31/408] STAMP obj/llvm/tools/llvm-ar/llvm-lib.stamp [32/408] ACTION //llvm/tools/llvm-ar:llvm-ranlib(//llvm/utils/gn/build/toolchain:unix) [33/408] ACTION //llvm/tools/llvm-ar:llvm-dlltool(//llvm/utils/gn/build/toolchain:unix) [34/408] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [35/408] LINK obj/clang/unittests/libclang/libclangTests [36/408] LINK obj/llvm/unittests/TableGen/TableGenTests [37/408] LINK obj/llvm/unittests/Transforms/Vectorize/VectorizeTests [38/408] LINK obj/llvm/unittests/CGData/CodeGenDataTests [39/408] LINK obj/llvm/unittests/ExecutionEngine/ExecutionEngineTests [40/408] LINK obj/llvm/unittests/Transforms/IPO/IPOTests [41/408] LINK obj/llvm/unittests/Target/WebAssembly/WebAssemblyTests [42/408] LINK obj/llvm/unittests/DebugInfo/GSYM/DebugInfoGSYMTests [43/408] LINK obj/llvm/unittests/ExecutionEngine/JITLink/JITLinkTests [44/408] LINK obj/llvm/unittests/Frontend/LLVMFrontendTests [45/408] LINK obj/llvm/unittests/Transforms/Utils/UtilsTests [46/408] LINK ./bin/llvm-xray [47/408] LINK obj/llvm/unittests/Transforms/Instrumentation/InstrumentationTests [48/408] LINK obj/llvm/unittests/Passes/Plugins/PluginsTests [49/408] LINK obj/llvm/unittests/IR/IRTests [50/408] LINK obj/llvm/unittests/Analysis/AnalysisTests [51/408] LINK obj/llvm/unittests/MC/MCTests [52/408] LINK obj/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests [53/408] LINK obj/llvm/unittests/ExecutionEngine/Orc/OrcJITTests [54/408] LINK obj/llvm/unittests/Passes/PassBuilderBindings/PassesBindingsTests [55/408] LINK obj/llvm/unittests/MC/AMDGPU/AMDGPUMCTests [56/408] LINK ./bin/c-index-test [57/408] LINK ./bin/opt [58/408] LINK obj/llvm/unittests/Target/TargetMachineCTests [59/408] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [60/408] LINK ./bin/lld [61/408] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [62/408] LINK obj/llvm/unittests/CodeGen/CodeGenTests [63/408] LINK obj/llvm/unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests [64/408] LINK obj/llvm/unittests/MIR/MIRTests [65/408] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [66/408] LINK obj/llvm/unittests/MI/MITests [67/408] LINK obj/llvm/unittests/DebugInfo/DWARF/DebugInfoDWARFTests [68/408] LINK ./bin/lldb-dap [69/408] LINK ./bin/lldb [70/408] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.DecomposeStackOffsetTest.o [71/408] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.RegisterAliasingTest.o [72/408] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.AddressingModes.o [73/408] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.RegisterAliasingTest.o [74/408] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.Immediates.o [75/408] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.MatrixRegisterAliasing.o [76/408] CXX obj/llvm/unittests/Target/LoongArch/LoongArchTests.InstSizes.o [77/408] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.AArch64RegisterInfoTest.o [78/408] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.AArch64SVESchedPseudoTest.o [79/408] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.BenchmarkResultTest.o [80/408] CXX obj/llvm/unittests/Target/AArch64/AArch64Tests.InstSizes.o [81/408] CXX obj/llvm/unittests/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizerTests.LegalityTest.o [82/408] CXX obj/llvm/unittests/tools/llvm-exegesis/X86/LLVMExegesisX86Tests.BenchmarkResultTest.o [83/408] CXX obj/llvm/unittests/Target/X86/X86Tests.TernlogTest.o [84/408] CXX obj/llvm/unittests/Target/ARM/ARMTests.MachineInstrTest.o [85/408] CXX obj/llvm/unittests/Target/ARM/ARMTests.InstSizes.o [86/408] CXX obj/llvm/unittests/tools/llvm-exegesis/AArch64/LLVMExegesisAArch64Tests.TargetTest.o [87/408] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.ExecMayBeModifiedBeforeAnyUse.o [88/408] CXX obj/llvm/unittests/Target/RISCV/RISCVTests.RISCVInstrInfoTest.o [89/408] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.DwarfRegMappings.o [90/408] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.CSETest.o [91/408] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.AMDGPUUnitTests.o [92/408] CXX obj/llvm/unittests/Target/AMDGPU/AMDGPUTests.PALMetadata.o [93/408] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.TargetTest.o [94/408] CXX obj/llvm/unittests/tools/llvm-exegesis/Mips/LLVMExegesisMipsTests.SnippetGeneratorTest.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.