ninja: Entering directory `out/gn' [1/699] AR lib/libclangIndex.a [2/699] AR lib/libclangRewriteFrontend.a [3/699] AR lib/libclangARCMigrate.a [4/699] AR lib/libclangStaticAnalyzerFrontend.a [5/699] AR lib/libclangCodeGen.a [6/699] AR lib/libclangTidy.a [7/699] AR lib/libclangInterpreter.a [8/699] 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' [9/699] AR lib/liblldbPluginExpressionParserClang.a [10/699] LINK ./bin/clang-apply-replacements [11/699] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [12/699] LINK obj/clang/unittests/Format/FormatTests [13/699] LINK obj/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/FindAllSymbolsTests [14/699] LINK ./bin/clang-diff [15/699] LINK obj/clang/unittests/Lex/LexTests [16/699] LINK obj/clang-tools-extra/unittests/clang-include-fixer/ClangIncludeFixerTests [17/699] LINK obj/clang-tools-extra/unittests/clang-query/ClangQueryTests [18/699] LINK obj/clang/unittests/Rewrite/RewriteTests [19/699] LINK ./bin/pp-trace [20/699] LINK ./bin/modularize [21/699] LINK obj/clang/unittests/Serialization/SerializationTests [22/699] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [23/699] LINK obj/clang-tools-extra/unittests/clang-change-namespace/ClangChangeNamespaceTests [24/699] LINK obj/clang/unittests/AST/ByteCode/InterpTests [25/699] LINK obj/clang/unittests/Support/ClangSupportTests [26/699] LINK obj/clang/unittests/Sema/SemaTests [27/699] LINK ./bin/diagtool [28/699] LINK ./bin/clang-refactor [29/699] LINK ./bin/arcmt-test [30/699] LINK obj/clang/unittests/AST/ASTTests [31/699] LINK obj/clang/unittests/Index/IndexTests [32/699] LINK obj/clang-tools-extra/unittests/clang-move/ClangMoveTests [33/699] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [34/699] LINK ./bin/clang-doc [35/699] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [36/699] LINK ./bin/clang-installapi [37/699] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [38/699] LINK obj/clang-tools-extra/unittests/clang-doc/ClangDocTests [39/699] LINK ./bin/clang-reorder-fields [40/699] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [41/699] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [42/699] LINK ./bin/clang-import-test [43/699] LINK obj/clang/unittests/CodeGen/ClangCodeGenTests [44/699] LINK obj/clang/unittests/Frontend/FrontendTests [45/699] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenMCPseudoLowering(//llvm/utils/gn/build/toolchain:unix) [46/698] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenCallingConv(//llvm/utils/gn/build/toolchain:unix) [47/697] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:unix) [48/696] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenRegBankGICombiner(//llvm/utils/gn/build/toolchain:unix) [49/695] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:unix) [50/694] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenSubtargetInfo(//llvm/utils/gn/build/toolchain:unix) [51/693] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:unix) [52/693] ACTION //llvm/lib/Target/AMDGPU/Disassembler:AMDGPUGenDisassemblerTables(//llvm/utils/gn/build/toolchain:unix) [53/693] ACTION //llvm/lib/Target/AMDGPU/Utils:AMDGPUGenSearchableTables(//llvm/utils/gn/build/toolchain:unix) [54/693] ACTION //llvm/lib/Target/AMDGPU:InstCombineTables(//llvm/utils/gn/build/toolchain:unix) [55/693] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenAsmWriter(//llvm/utils/gn/build/toolchain:unix) [56/693] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenGlobalISel(//llvm/utils/gn/build/toolchain:unix) [57/693] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenAsmMatcher(//llvm/utils/gn/build/toolchain:unix) [58/693] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenDAGISel(//llvm/utils/gn/build/toolchain:unix) [59/693] ACTION //llvm/lib/Target/AMDGPU/AsmParser:AMDGPUGenAsmMatcher(//llvm/utils/gn/build/toolchain:unix) [60/693] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenInstrInfo(//llvm/utils/gn/build/toolchain:unix) [61/693] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenRegisterBank(//llvm/utils/gn/build/toolchain:unix) [62/692] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenRegisterInfo(//llvm/utils/gn/build/toolchain:unix) ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.