ninja: Entering directory `out/gn' [1/43] STAMP stage2_unix/obj/compiler-rt/lib/lsan/common_sources.inputdeps.stamp [2/43] STAMP stage2_unix/obj/compiler-rt/lib/profile/profile.inputdeps.stamp [3/43] STAMP stage2_unix/obj/compiler-rt/lib/tsan/rtl/rtl.inputdeps.stamp [4/43] STAMP stage2_unix/obj/compiler-rt/lib/interception/sources.inputdeps.stamp [5/43] STAMP stage2_unix/obj/compiler-rt/lib/sanitizer_common/sources.inputdeps.stamp [6/43] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.inputdeps.stamp [7/43] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.inputdeps.stamp [8/43] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/standalone_sources.inputdeps.stamp [9/43] STAMP stage2_unix/obj/libunwind/src/unwind_shared.inputdeps.stamp [10/43] STAMP stage2_unix/obj/libunwind/src/unwind_static_exported.inputdeps.stamp [11/43] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/cxx_sources.stamp [12/43] STAMP stage2_unix/obj/compiler-rt/lib/ubsan/sources.stamp [13/43] STAMP stage2_unix/obj/libunwind/src/unwind_static.inputdeps.stamp [14/43] STAMP obj/llvm/unittests/unittests.stamp [15/43] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [16/42] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [17/41] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) FAILED: stage2_unix/gen/compiler-rt/test/lit.common.configured python3 ../../llvm/utils/gn/build/write_cmake_config.py -o stage2_unix/gen/compiler-rt/test/lit.common.configured ../../compiler-rt/test/lit.common.configured.in LIT_SITE_CFG_IN_HEADER=\#\#\ Autogenerated\ from\ lit.common.configured.in,\ do\ not\ edit COMPILER_RT_DEFAULT_TARGET_TRIPLE=arm64-apple-darwin COMPILER_RT_DEFAULT_TARGET_ARCH=aarch64 COMPILER_RT_TEST_COMPILER_CFLAGS=-arch\ arm64\ -isysroot\ //sysroot/MacOSX.sdk\ -mmacos-version-min=10.10\ -arch\ arm64 LLVM_BUILD_MODE=. LLVM_MAIN_SRC_DIR=/Users/thakis/src/llvm-project/llvm LLVM_BINARY_DIR=/Users/thakis/src/llvm-project/out/gn COMPILER_RT_SOURCE_DIR=/Users/thakis/src/llvm-project/compiler-rt COMPILER_RT_BINARY_DIR= LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_PYBOOL=False LLVM_LIT_TOOLS_DIR= LLVM_TOOLS_DIR=/Users/thakis/src/llvm-project/out/gn/bin LLVM_LIBRARY_OUTPUT_INTDIR=/Users/thakis/src/llvm-project/out/gn/lib LLVM_LIBCXX_USED=0 GOLD_EXECUTABLE=ld GNU_LD_EXECUTABLE=ld COMPILER_RT_RESOLVED_TEST_COMPILER=/Users/thakis/src/llvm-project/out/gn/bin/clang COMPILER_RT_TEST_COMPILER_ID=Clang Python3_EXECUTABLE=python3 COMPILER_RT_BUILD_STANDALONE_LIBATOMIC_PYBOOL=False COMPILER_RT_DEBUG_PYBOOL=False COMPILER_RT_ENABLE_INTERNAL_SYMBOLIZER_PYBOOL=False COMPILER_RT_INTERCEPT_LIBDISPATCH_PYBOOL=False COMPILER_RT_RESOLVED_LIBRARY_OUTPUT_DIR=/Users/thakis/src/llvm-project/out/gn/lib/clang/19/lib/darwin COMPILER_RT_EMULATOR= COMPILER_RT_ASAN_SHADOW_SCALE= COMPILER_RT_MEMPROF_SHADOW_SCALE= COMPILER_RT_TEST_STANDALONE_BUILD_LIBS_PYBOOL=False COMPILER_RT_TEST_USE_LLD_PYBOOL=False SANITIZER_CAN_USE_CXXABI_PYBOOL=True SANITIZER_USE_STATIC_CXX_ABI_PYBOOL=False SANITIZER_USE_STATIC_LLVM_UNWINDER_PYBOOL=False COMPILER_RT_HAS_AARCH64_SME_PYBOOL=False COMPILER_RT_DARWIN_LINKER_VERSION= COMPILER_RT_HAS_LLD_PYBOOL=True COMPILER_RT_HAS_GWP_ASAN_PYBOOL=False HAVE_RPC_XDR_H=0 ANDROID_API_LEVEL=29 ANDROID_SERIAL_FOR_TESTING= LLVM_ENABLE_EXPENSIVE_CHECKS_PYBOOL=False HOST_ARCH=aarch64 HOST_OS=Darwin CAN_SYMBOLIZE=1 ANDROID_PYBOOL=False ZLIB_FOUND_PYBOOL=1 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: 'COMPILER_RT_RESOLVED_OUTPUT_DIR' [18/41] AR lib/clang/19/lib/darwin/libclang_rt.ubsan_osx.a [19/41] LINK ./bin/llvm-remarkutil [20/41] LINK ./bin/llvm-readobj [21/41] SOLINK lib/clang/19/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib [22/41] SOLINK lib/clang/19/lib/darwin/libclang_rt.tsan_osx_dynamic.dylib [23/41] SOLINK lib/clang/19/lib/darwin/libclang_rt.asan_osx_dynamic.dylib [24/41] LINK ./bin/llvm-reduce ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.