ninja: Entering directory `out/gn' [1/414] AR lib/libLLVMVectorize.a [2/414] 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' [3/414] LINK ./bin/lli-child-target [4/414] LINK ./bin/llvm-cxxmap [5/414] LINK ./bin/llvm-link [6/414] LINK ./bin/clang-offload-packager [7/414] LINK ./bin/llvm-cxxdump [8/414] LINK ./bin/llvm-xray [9/414] LINK ./bin/llvm-mc [10/414] LINK ./bin/llvm-ml [11/414] LINK ./bin/llvm-ar [12/414] LINK ./bin/llvm-libtool-darwin [13/414] LINK ./bin/llvm-extract [14/414] LINK ./bin/llvm-profgen [15/414] LINK obj/llvm/unittests/Transforms/Coroutines/CoroTests [16/414] LINK ./bin/llvm-lipo [17/414] LINK obj/llvm/unittests/Transforms/Scalar/ScalarTests [18/414] LINK ./bin/lli [19/414] LINK obj/llvm/unittests/Analysis/AnalysisTests [20/414] LINK ./bin/llvm-rtdyld [21/414] LINK ./bin/llvm-jitlink [22/414] LINK obj/llvm/unittests/Target/X86/X86Tests [23/414] LINK obj/clang/unittests/CrossTU/CrossTUTests [24/414] LINK obj/clang/unittests/Tooling/Syntax/SyntaxTests [25/414] LINK ./bin/llvm-exegesis [26/414] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [27/414] LINK ./bin/bugpoint [28/414] LINK ./bin/llvm-lto2 [29/414] LINK ./bin/dexp [30/414] LINK ./bin/llvm-lto [31/414] LINK ./bin/llvm-c-test [32/414] LINK ./bin/clang-import-test [33/414] LINK ./bin/llvm-opt-fuzzer [34/414] LINK ./bin/clang-nvlink-wrapper [35/414] LINK ./bin/llvm-reduce [36/414] LINK ./bin/llvm-split [37/414] SOLINK ./lib/libLTO.so [38/414] LINK ./bin/clang-linker-wrapper [39/414] LINK ./bin/llvm-gsymutil [40/414] LINK ./bin/lld [41/414] LINK obj/clang/unittests/Frontend/FrontendTests [42/414] LINK ./bin/opt [43/414] LINK ./bin/llvm-isel-fuzzer [44/414] LINK ./bin/dsymutil [45/414] LINK ./bin/llvm-dwarfutil [46/414] LINK obj/lld/unittests/AsLibELF/LLDAsLibELFTests [47/414] LINK ./bin/clangd-indexer [48/414] LINK ./bin/llvm-bolt-heatmap [49/414] LINK ./bin/llvm-dwp [50/414] LINK obj/bolt/unittests/Core/CoreTests [51/414] LINK obj/llvm/unittests/CodeGen/GlobalISel/GlobalISelTests [52/414] LINK ./bin/llc [53/414] LINK ./bin/lldb-server [54/414] LINK ./bin/llvm-bolt [55/414] LINK obj/lld/unittests/AsLibAll/LLDAsLibAllTests [56/414] LINK obj/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests [57/414] LINK ./bin/clang-check [58/414] LINK ./bin/clang-scan-deps [59/414] SOLINK ./lib/libclang.so [60/414] LINK obj/clang/unittests/Driver/ClangDriverTests [61/414] LINK obj/clang/unittests/Tooling/ToolingTests [62/414] LINK ./bin/lldb-test [63/414] LINK ./bin/lldb-dap [64/414] LINK obj/clang/unittests/Interpreter/ClangReplInterpreterTests [65/414] LINK ./bin/clang-repl [66/414] LINK ./bin/clangd [67/414] LINK obj/clang-tools-extra/clangd/unittests/ClangdTests ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.