ninja: Entering directory `out/gn' [1/293] STAMP obj/clang-tools-extra/test/test.stamp [2/293] STAMP obj/clang/test/test.stamp [3/293] STAMP stage2_unix/obj/compiler-rt/lib/asan/asan.stamp [4/293] AR lib/clang/19/lib/linux/libclang_rt.msan_cxx-x86_64.a [5/293] AR lib/clang/19/lib/linux/libclang_rt.ubsan_standalone-x86_64.a [6/293] AR lib/clang/19/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a [7/293] AR lib/clang/19/lib/linux/libclang_rt.tsan_cxx-x86_64.a [8/293] AR lib/clang/19/lib/linux/libclang_rt.hwasan_aliases-x86_64.a [9/293] 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=x86_64-unknown-linux-gnu COMPILER_RT_DEFAULT_TARGET_ARCH=x86_64 COMPILER_RT_TEST_COMPILER_CFLAGS= LLVM_BUILD_MODE=. LLVM_MAIN_SRC_DIR=/usr/local/google/home/thakis/src/llvm-project/llvm LLVM_BINARY_DIR=/usr/local/google/home/thakis/src/llvm-project/out/gn COMPILER_RT_SOURCE_DIR=/usr/local/google/home/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=/usr/local/google/home/thakis/src/llvm-project/out/gn/bin LLVM_LIBRARY_OUTPUT_INTDIR=/usr/local/google/home/thakis/src/llvm-project/out/gn/lib LLVM_LIBCXX_USED=0 GOLD_EXECUTABLE=ld GNU_LD_EXECUTABLE=ld COMPILER_RT_RESOLVED_TEST_COMPILER=/usr/local/google/home/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=/usr/local/google/home/thakis/src/llvm-project/out/gn/lib/clang/19/lib/linux 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=x86_64 HOST_OS=Linux CAN_SYMBOLIZE=1 ANDROID_PYBOOL=False ZLIB_FOUND_PYBOOL=1 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: 'COMPILER_RT_RESOLVED_OUTPUT_DIR' [10/293] CXX stage2_unix/obj/libcxxabi/src/cxxabi_shared.abort_message.o [11/293] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.int128_builtins.o [12/293] AR lib/clang/19/lib/linux/libclang_rt.msan-x86_64.a [13/293] CXX stage2_unix/obj/libcxx/src/cxx_static.verbose_abort.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [14/293] AR lib/clang/19/lib/linux/libclang_rt.tsan-x86_64.a [15/293] CXX stage2_unix/obj/libcxx/src/cxx_static.new_helpers.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [16/293] CXX stage2_unix/obj/libcxx/src/cxx_static.typeinfo.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [17/293] CXX stage2_unix/obj/libcxx/src/cxx_static.exception.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [18/293] CXX stage2_unix/obj/libcxxabi/src/cxxabi_shared.stdlib_new_delete.o [19/293] CXX stage2_unix/obj/libcxx/src/cxx_static.mutex_destructor.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [20/293] CXX stage2_unix/obj/libcxx/src/cxx_static.condition_variable_destructor.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [21/293] CXX stage2_unix/obj/libcxx/src/cxx_static.new.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [22/293] CXX stage2_unix/obj/libcxxabi/src/cxxabi_shared.fallback_malloc.o [23/293] CXX stage2_unix/obj/libcxxabi/src/cxxabi_shared.private_typeinfo.o [24/293] CXX stage2_unix/obj/libcxx/src/cxx_static.variant.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [25/293] CXX stage2_unix/obj/libcxx/src/ryu/cxx_static.f2s.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [26/293] CXX stage2_unix/obj/libcxx/src/cxx_static.any.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [27/293] CXX stage2_unix/obj/libcxx/src/cxx_static.new_handler.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [28/293] CXX stage2_unix/obj/libcxx/src/ryu/cxx_static.d2s.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [29/293] CXX stage2_unix/obj/libcxx/src/cxx_static.call_once.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [30/293] CXX stage2_unix/obj/libcxx/src/cxx_static.legacy_pointer_safety.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [31/293] CXX stage2_unix/obj/libcxx/src/cxx_static.charconv.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [32/293] CXX stage2_unix/obj/libcxx/src/ryu/cxx_static.d2fixed.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [33/293] CXX stage2_unix/obj/libcxx/src/cxx_static.optional.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [34/293] CXX stage2_unix/obj/libcxxabi/src/cxxabi_shared.cxa_exception.o [35/293] CXX stage2_unix/obj/libcxx/src/cxx_static.error_category.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [36/293] CXX stage2_unix/obj/libcxx/src/cxx_static.stdexcept.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [37/293] CXX stage2_unix/obj/libcxx/src/cxx_static.mutex.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [38/293] CXX stage2_unix/obj/libcxx/src/cxx_static.hash.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [39/293] CXX stage2_unix/obj/libcxx/src/cxx_static.shared_mutex.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [40/293] CXX stage2_unix/obj/libcxx/src/cxx_static.bind.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [41/293] CXX stage2_unix/obj/libcxx/src/cxx_static.system_error.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [42/293] CXX stage2_unix/obj/libcxx/src/cxx_static.memory_resource.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [43/293] CXX stage2_unix/obj/libcxx/src/cxx_static.ios.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [44/293] CXX stage2_unix/obj/libcxx/src/cxx_static.random_shuffle.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [45/293] CXX stage2_unix/obj/libcxx/src/cxx_static.functional.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [46/293] CXX stage2_unix/obj/libcxx/src/cxx_static.vector.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [47/293] CXX stage2_unix/obj/libcxx/src/cxx_static.strstream.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [48/293] CXX stage2_unix/obj/libcxx/src/cxx_static.condition_variable.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [49/293] CXX stage2_unix/obj/libcxx/src/cxx_static.ostream.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [50/293] CXX stage2_unix/obj/libcxx/src/cxx_static.regex.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [51/293] CXX stage2_unix/obj/libcxx/src/cxx_static.fstream.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [52/293] CXX stage2_unix/obj/libcxx/src/cxx_static.thread.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [53/293] CXX stage2_unix/obj/libcxx/src/cxx_static.valarray.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [54/293] CXX stage2_unix/obj/libcxx/src/cxx_static.memory.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [55/293] CXX stage2_unix/obj/libcxx/src/cxx_static.print.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [56/293] CXX stage2_unix/obj/libcxx/src/cxx_static.barrier.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [57/293] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.filesystem_error.o [58/293] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.filesystem_clock.o [59/293] CXX stage2_unix/obj/libcxx/src/cxx_static.future.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [60/293] CXX stage2_unix/obj/libcxx/src/cxx_static.random.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [61/293] CXX stage2_unix/obj/libcxx/src/cxx_static.chrono.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [62/293] CXX stage2_unix/obj/libcxx/src/cxx_static.atomic.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [63/293] CXX stage2_unix/obj/libcxx/src/cxx_static.iostream.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [64/293] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [65/293] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [66/293] CXX stage2_unix/obj/libcxx/src/cxx_experimental.time_zone.o FAILED: stage2_unix/obj/libcxx/src/cxx_experimental.time_zone.o ./bin/clang++ -MMD -MF stage2_unix/obj/libcxx/src/cxx_experimental.time_zone.o.d -o stage2_unix/obj/libcxx/src/cxx_experimental.time_zone.o -c ../../libcxx/src/time_zone.cpp -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -DLIBCXX_BUILDING_LIBCXXABI -I../../llvm/include -Istage2_unix/gen/llvm/include -I../../libcxxabi/include -Iinclude/c++/v1 -O3 -fdiagnostics-color -Wall -Wextra -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fdebug-compilation-dir=. --sysroot=../../sysroot -Wpoison-system-directories -fPIC -Wcovered-switch-default -Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long -Werror=return-type -Wextra-semi -Wno-user-defined-literals -Wno-covered-switch-default -std=c++17 -fvisibility-inlines-hidden -std=c++20 -nostdinc++ ../../libcxx/src/time_zone.cpp:35:10: fatal error: 'expected' file not found 35 | #include | ^~~~~~~~~~ 1 error generated. [67/293] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.path.o [68/293] CXX stage2_unix/obj/libcxx/src/cxx_static.string.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [69/293] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.directory_entry.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [70/293] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_static.directory_iterator.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [71/293] CXX stage2_unix/obj/libcxx/src/filesystem/cxx_shared.operations.o [72/293] CXX stage2_unix/obj/libcxx/src/cxx_static.algorithm.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [73/293] CXX stage2_unix/obj/libcxx/src/cxx_static.ios.instantiations.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] [74/293] CXX stage2_unix/obj/libcxx/src/cxx_static.locale.o clang++: warning: argument '-fvisibility-global-new-delete-hidden' is deprecated, use '-fvisibility-global-new-delete=force-hidden' instead [-Wdeprecated] ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.