=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for cmake-18.1.8.src.tar.xz => Checksum SHA512 OK for cmake-18.1.8.src.tar.xz => Checksum BLAKE2s OK for compiler-rt-18.1.8.src.tar.xz => Checksum SHA512 OK for compiler-rt-18.1.8.src.tar.xz => Checksum BLAKE2s OK for runtimes-18.1.8.src.tar.xz => Checksum SHA512 OK for runtimes-18.1.8.src.tar.xz ===> Installing dependencies for wasi-compiler-rt-18.1.8nb3 => Tool dependency cmake-[0-9]*: found cmake-3.31.6 => Tool dependency lld-18.1.8*: found lld-18.1.8 => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency clang>=18.1.8nb3: found clang-18.1.8nb3 => Build dependency wasi-libc>=0.0.0pre20210923: found wasi-libc-0.0.0pre20231007nb5 => Full dependency llvm>=18.0.0: found llvm-18.1.8nb4 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for wasi-compiler-rt-18.1.8nb3 ===> Extracting for wasi-compiler-rt-18.1.8nb3 /bin/ln -f -s /var/work/lang/wasi-compiler-rt/work/cmake-18.1.8.src /var/work/lang/wasi-compiler-rt/work/cmake /bin/ln -f -s /var/work/lang/wasi-compiler-rt/work/runtimes-18.1.8.src /var/work/lang/wasi-compiler-rt/work/runtimes ===> Patching for wasi-compiler-rt-18.1.8nb3 => Applying pkgsrc patches for wasi-compiler-rt-18.1.8nb3 => Verifying /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-CMakeLists.txt => Applying pkgsrc patch /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.2 2024/07/06 15:45:06 adam Exp $ | |Fix build for Darwin. | |--- CMakeLists.txt.orig 2023-06-04 18:50:42.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 457 (offset -14 lines). done => Verifying /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-cmake_config-ix.cmake => Applying pkgsrc patch /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-cmake_config-ix.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_config-ix.cmake,v 1.5 2022/08/12 08:58:41 pin Exp $ | |Disable components that aren't ready for SunOS yet. | |--- cmake/config-ix.cmake.orig 2022-06-22 16:46:24.000000000 +0000 |+++ cmake/config-ix.cmake -------------------------- Patching file cmake/config-ix.cmake using Plan A... Hunk #1 succeeded at 726 (offset 58 lines). Hunk #2 succeeded at 693 (offset 5 lines). Hunk #3 succeeded at 790 (offset 52 lines). Hunk #4 succeeded at 768 (offset 5 lines). done => Verifying /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_fuzzer_FuzzerUtilLinux.cpp => Applying pkgsrc patch /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_fuzzer_FuzzerUtilLinux.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_fuzzer_FuzzerUtilLinux.cpp,v 1.1 2024/07/06 15:45:06 adam Exp $ | |Fix a typo. | |--- lib/fuzzer/FuzzerUtilLinux.cpp.orig 2024-07-03 12:00:43.939003953 +0000 |+++ lib/fuzzer/FuzzerUtilLinux.cpp -------------------------- Patching file lib/fuzzer/FuzzerUtilLinux.cpp using Plan A... Hunk #1 succeeded at 44. done => Verifying /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux.cpp => Applying pkgsrc patch /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_sanitizer__common_sanitizer__linux.cpp,v 1.1 2024/07/06 15:45:06 adam Exp $ | |Fix build for platforms other than Linux and FreeBSD. | |--- lib/sanitizer_common/sanitizer_linux.cpp.orig 2024-07-03 11:57:05.400879120 +0000 |+++ lib/sanitizer_common/sanitizer_linux.cpp -------------------------- Patching file lib/sanitizer_common/sanitizer_linux.cpp using Plan A... Hunk #1 succeeded at 1886. done => Verifying /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cpp => Applying pkgsrc patch /usr/pkgsrc/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_sanitizer__common_sanitizer__linux__libcdep.cpp,v 1.8 2025/02/14 13:45:09 wiz Exp $ | |Fix build on NetBSD-current, where some symbols moved to a new header. |https://github.com/llvm/llvm-project/issues/125566 | |--- lib/sanitizer_common/sanitizer_linux_libcdep.cpp.orig 2024-06-15 17:21:32.000000000 +0000 |+++ lib/sanitizer_common/sanitizer_linux_libcdep.cpp -------------------------- Patching file lib/sanitizer_common/sanitizer_linux_libcdep.cpp using Plan A... Hunk #1 succeeded at 29. done ===> Creating toolchain wrappers for wasi-compiler-rt-18.1.8nb3 ===> Configuring for wasi-compiler-rt-18.1.8nb3 => Checking for portability problems in extracted files -- The C compiler identification is Clang 18.1.8 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /var/work/lang/wasi-compiler-rt/work/.cwrapper/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /var/work/lang/wasi-compiler-rt/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for unwind.h -- Looking for unwind.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - not found CMake Warning at /var/work/lang/wasi-compiler-rt/work/compiler-rt-18.1.8.src/cmake/Modules/CompilerRTUtils.cmake:281 (message): LLVM_CONFIG_PATH is deprecated, please use LLVM_CMAKE_DIR instead Call Stack (most recent call first): CMakeLists.txt:29 (load_llvm_config) CMake Warning at /var/work/lang/wasi-compiler-rt/work/compiler-rt-18.1.8.src/cmake/Modules/CompilerRTUtils.cmake:298 (message): LLVM source tree not found at "/var/work/lang/wasi-compiler-rt/work/llvm". You are not using the monorepo layout. This configuration is DEPRECATED. Call Stack (most recent call first): CMakeLists.txt:29 (load_llvm_config) -- Found ZLIB: /usr/pkg/lib/libz.so (found version "1.3.1") -- Found zstd: /usr/pkg/lib/libzstd.so -- Found LibXml2: /usr/pkg/lib/libxml2.so (found version "2.12.10") CMake Warning at /var/work/lang/wasi-compiler-rt/work/compiler-rt-18.1.8.src/cmake/Modules/CompilerRTUtils.cmake:326 (message): LLVMTestingSupport not found in LLVM_AVAILABLE_LIBS Call Stack (most recent call first): CMakeLists.txt:29 (load_llvm_config) -- LLVM_MAIN_SRC_DIR: "/var/work/lang/wasi-compiler-rt/work/llvm" CMake Warning at /var/work/lang/wasi-compiler-rt/work/compiler-rt-18.1.8.src/cmake/Modules/CompilerRTUtils.cmake:338 (message): LLVM_MAIN_SRC_DIR (/var/work/lang/wasi-compiler-rt/work/llvm) does not exist. You can override the inferred path by adding `-DLLVM_MAIN_SRC_DIR=` to your CMake invocation where `` is the path to the `llvm` directory in the `llvm-project` repo. This will be treated as error in the future. Call Stack (most recent call first): CMakeLists.txt:29 (load_llvm_config) CMake Deprecation Warning at /var/work/lang/wasi-compiler-rt/work/compiler-rt-18.1.8.src/cmake/Modules/AddCompilerRT.cmake:8 (cmake_policy): The OLD behavior for policy CMP0114 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): CMakeLists.txt:40 (include) -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG - Success -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Success -- Performing Test COMPILER_RT_HAS_WBUILTIN_DECLARATION_MISMATCH_FLAG -- Performing Test COMPILER_RT_HAS_WBUILTIN_DECLARATION_MISMATCH_FLAG - Failed -- Performing Test COMPILER_RT_HAS_ZL_FLAG -- Performing Test COMPILER_RT_HAS_ZL_FLAG - Failed -- Performing Test COMPILER_RT_HAS_AARCH64_SME -- Performing Test COMPILER_RT_HAS_AARCH64_SME - Failed -- Builtin supported architectures: wasm32 -- AArch64 SME ABI routines disabled -- Performing additional configure checks with target flags: --target=wasm32-unknown-unknown -- Performing Test COMPILER_RT_HAS_wasm32_FLOAT16 -- Performing Test COMPILER_RT_HAS_wasm32_FLOAT16 - Failed -- Performing Test COMPILER_RT_HAS_wasm32_BFLOAT16 -- Performing Test COMPILER_RT_HAS_wasm32_BFLOAT16 - Failed -- Configuring done (0.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER_WORKS COMPILER_RT_ENABLE_IOS COMPILER_RT_HAS_BFLOAT16 COMPILER_RT_HAS_FLOAT16 COMPILER_RT_HAS_FPIE_FLAG COMPILER_RT_HAS_FREESTANDING_FLAG COMPILER_RT_HAS_XRAY_COMPILER_FLAG -- Build files have been written to: /var/work/lang/wasi-compiler-rt/work/compiler-rt-18.1.8.src/cmake-pkgsrc-build