=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/wasi-compiler-rt", "configure", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] => Checksum BLAKE2s OK for llvm-project-22.1.8.src.tar.xz => Checksum SHA512 OK for llvm-project-22.1.8.src.tar.xz ===> Installing dependencies for wasi-compiler-rt-22.1.8nb2 => Tool dependency cmake>=0: found cmake-4.4.4 => Tool dependency lld-22.1.8*: found lld-22.1.8nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency xz>=4.999.9betanb1: found xz-5.8.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency clang>=22.1.8nb1: found clang-22.1.8nb2 => Build dependency wasi-libc>=0.0.0pre20210923: found wasi-libc-0.0.0pre20261001nb1 => Full dependency llvm>=22.1.8: found llvm-22.1.8 => Build dependency libiconv>=1.9.1: found libiconv-1.19 => Build dependency libxml2>=2.6.2: found libxml2-2.15.4 => Build dependency zlib>=1.1.4: found zlib-1.3.1 => Build dependency zstd>=1.3.6: found zstd-1.5.7 ===> Overriding tools for wasi-compiler-rt-22.1.8nb2 ===> Extracting for wasi-compiler-rt-22.1.8nb2 ===> Patching for wasi-compiler-rt-22.1.8nb2 => Applying pkgsrc patches for wasi-compiler-rt-22.1.8nb2 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-CMakeLists.txt => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 500 (offset 29 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-cmake_config-ix.cmake => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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.8 2026/04/16 06:33:51 wiz Exp $ | |Disable components that aren't ready for SunOS yet. | |--- cmake/config-ix.cmake.orig 2025-10-21 08:14:55.000000000 +0000 |+++ cmake/config-ix.cmake -------------------------- Patching file cmake/config-ix.cmake using Plan A... Hunk #1 succeeded at 766 (offset 6 lines). Hunk #2 succeeded at 805 (offset 6 lines). Hunk #3 succeeded at 876 (offset 1 line). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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.3 2026/04/20 10:02:51 tnn Exp $ | |Fix build for platforms other than Linux and FreeBSD. NetBSD/evbarm-aarch64: |sanitizer_linux.cpp:2057:8: error: 'Aarch64GetESR' was not declared in this scope | 2057 | if (!Aarch64GetESR(ucontext, &esr)) | |--- 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 1969 (offset 83 lines). done ===> Creating toolchain wrappers for wasi-compiler-rt-22.1.8nb2 ===> Configuring for wasi-compiler-rt-22.1.8nb2 -- The C compiler identification is Clang 22.1.8 -- The CXX compiler identification is Clang 22.1.8 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /var/tmp/work/lang/wasi-compiler-rt/work/.cwrapper/bin/clang -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /var/tmp/work/lang/wasi-compiler-rt/work/.cwrapper/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /var/tmp/work/lang/wasi-compiler-rt/work/.cwrapper/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for unwind.h -- Looking for unwind.h - found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - found -- Found OSX_SYSROOT: /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk -- Checking DARWIN_iphoneos_SYSROOT - '/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS18.5.sdk' CMake Warning at /var/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:290 (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/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:307 (message): LLVM source tree not found at "/var/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/llvm". You are not using the monorepo layout. This configuration is DEPRECATED. Call Stack (most recent call first): CMakeLists.txt:29 (load_llvm_config) -- Looking for histedit.h -- Looking for histedit.h - found -- Found LibEdit: /opt/pkg/include (found version "2.11") -- Found ZLIB: /opt/pkg/lib/libz.dylib (found version "1.3.1") -- Found zstd: /opt/pkg/lib/libzstd.dylib -- Found LibXml2: /opt/pkg/lib/libxml2.dylib (found version "2.15.4") CMake Warning at /var/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:335 (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/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/llvm" CMake Warning at /var/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/compiler-rt/cmake/Modules/CompilerRTUtils.cmake:347 (message): LLVM_MAIN_SRC_DIR (/var/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/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) -- Found libtool - /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -- 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_C2Y_EXTENSIONS -- Performing Test COMPILER_RT_HAS_WNO_C2Y_EXTENSIONS - Success -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Success -- Performing Test COMPILER_RT_HAS_NOGPULIB_FLAG -- Performing Test COMPILER_RT_HAS_NOGPULIB_FLAG - Success -- Performing Test COMPILER_RT_HAS_FLTO_FLAG -- Performing Test COMPILER_RT_HAS_FLTO_FLAG - Success -- Performing Test COMPILER_RT_HAS_FCONVERGENT_FUNCTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FCONVERGENT_FUNCTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_CODE_OBJECT_VERSION_FLAG -- Performing Test COMPILER_RT_HAS_CODE_OBJECT_VERSION_FLAG - 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_FCF_PROTECTION_FLAG -- Performing Test COMPILER_RT_HAS_FCF_PROTECTION_FLAG - Failed -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG - Success -- Performing Test COMPILER_RT_HAS_AARCH64_SME -- Performing Test COMPILER_RT_HAS_AARCH64_SME - Success -- Performing Test COMPILER_RT_HAS_ARM_UNALIGNED -- Performing Test COMPILER_RT_HAS_ARM_UNALIGNED - Success -- Performing Test COMPILER_RT_HAS_ARM_FP -- Performing Test COMPILER_RT_HAS_ARM_FP - Success -- Looking for include file sys/auxv.h -- Looking for include file sys/auxv.h - not found -- Checking DARWIN_macosx_SYSROOT - '/System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk' -- Found arm64 support in /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/SDKSettings.plist -- Found arm64e support in /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/SDKSettings.plist -- OSX supported builtin arches: i386;x86_64;x86_64h;arm64;arm64e -- Builtin supported architectures: i386;x86_64;x86_64h;arm64;arm64e -- Checking for assembler flag -mimplicit-it=always -- Checking for assembler flag -mimplicit-it=always - Not accepted -- Checking for assembler flag -Wa,-mimplicit-it=always -- Checking for assembler flag -Wa,-mimplicit-it=always - Not accepted CMake Warning at CMakeLists.txt:441 (message): Don't know how to set the -mimplicit-it=always flag in this assembler; not including Arm optimized implementations -- AArch64 Apple SME ABI routines enabled -- Performing Test COMPILER_RT_HAS_i386_FLOAT16 -- Performing Test COMPILER_RT_HAS_i386_FLOAT16 - Success -- Performing Test COMPILER_RT_HAS_i386_BFLOAT16 -- Performing Test COMPILER_RT_HAS_i386_BFLOAT16 - Success -- For osx_i386 builtins preferring i386/fp_mode.c to fp_mode.c -- For osx_i386 builtins preferring i386/ashldi3.S to ashldi3.c -- For osx_i386 builtins preferring i386/ashrdi3.S to ashrdi3.c -- For osx_i386 builtins preferring i386/divdi3.S to divdi3.c -- For osx_i386 builtins preferring i386/floatdidf.S to floatdidf.c -- For osx_i386 builtins preferring i386/floatdisf.S to floatdisf.c -- For osx_i386 builtins preferring i386/floatundidf.S to floatundidf.c -- For osx_i386 builtins preferring i386/floatundisf.S to floatundisf.c -- For osx_i386 builtins preferring i386/lshrdi3.S to lshrdi3.c -- For osx_i386 builtins preferring i386/moddi3.S to moddi3.c -- For osx_i386 builtins preferring i386/muldi3.S to muldi3.c -- For osx_i386 builtins preferring i386/udivdi3.S to udivdi3.c -- For osx_i386 builtins preferring i386/umoddi3.S to umoddi3.c -- For osx_i386 builtins preferring i386/floatdixf.S to floatdixf.c -- For osx_i386 builtins preferring i386/floatundixf.S to floatundixf.c -- Performing Test COMPILER_RT_HAS_x86_64_FLOAT16 -- Performing Test COMPILER_RT_HAS_x86_64_FLOAT16 - Success -- Performing Test COMPILER_RT_HAS_x86_64_BFLOAT16 -- Performing Test COMPILER_RT_HAS_x86_64_BFLOAT16 - Success -- For osx_x86_64 builtins preferring i386/fp_mode.c to fp_mode.c -- For osx_x86_64 builtins preferring x86_64/floatdidf.c to floatdidf.c -- For osx_x86_64 builtins preferring x86_64/floatdisf.c to floatdisf.c -- For osx_x86_64 builtins preferring x86_64/floatundidf.S to floatundidf.c -- For osx_x86_64 builtins preferring x86_64/floatundisf.S to floatundisf.c -- For osx_x86_64 builtins preferring x86_64/floatdixf.c to floatdixf.c -- For osx_x86_64 builtins preferring x86_64/floatundixf.S to floatundixf.c -- Performing Test COMPILER_RT_HAS_x86_64h_FLOAT16 -- Performing Test COMPILER_RT_HAS_x86_64h_FLOAT16 - Success -- Performing Test COMPILER_RT_HAS_x86_64h_BFLOAT16 -- Performing Test COMPILER_RT_HAS_x86_64h_BFLOAT16 - Success -- For osx_x86_64h builtins preferring i386/fp_mode.c to fp_mode.c -- For osx_x86_64h builtins preferring x86_64/floatdidf.c to floatdidf.c -- For osx_x86_64h builtins preferring x86_64/floatdisf.c to floatdisf.c -- For osx_x86_64h builtins preferring x86_64/floatundidf.S to floatundidf.c -- For osx_x86_64h builtins preferring x86_64/floatundisf.S to floatundisf.c -- For osx_x86_64h builtins preferring x86_64/floatdixf.c to floatdixf.c -- For osx_x86_64h builtins preferring x86_64/floatundixf.S to floatundixf.c -- Performing Test COMPILER_RT_HAS_arm64_FLOAT16 -- Performing Test COMPILER_RT_HAS_arm64_FLOAT16 - Success -- Performing Test COMPILER_RT_HAS_arm64_BFLOAT16 -- Performing Test COMPILER_RT_HAS_arm64_BFLOAT16 - Success -- For osx_arm64 builtins preferring aarch64/fp_mode.c to fp_mode.c -- Performing Test COMPILER_RT_HAS_arm64e_FLOAT16 -- Performing Test COMPILER_RT_HAS_arm64e_FLOAT16 - Success -- Performing Test COMPILER_RT_HAS_arm64e_BFLOAT16 -- Performing Test COMPILER_RT_HAS_arm64e_BFLOAT16 - Success -- For osx_arm64e builtins preferring aarch64/fp_mode.c to fp_mode.c -- For cc_kext_osx_i386 builtins preferring i386/fp_mode.c to fp_mode.c -- For cc_kext_osx_i386 builtins preferring i386/ashldi3.S to ashldi3.c -- For cc_kext_osx_i386 builtins preferring i386/ashrdi3.S to ashrdi3.c -- For cc_kext_osx_i386 builtins preferring i386/divdi3.S to divdi3.c -- For cc_kext_osx_i386 builtins preferring i386/floatdidf.S to floatdidf.c -- For cc_kext_osx_i386 builtins preferring i386/floatdisf.S to floatdisf.c -- For cc_kext_osx_i386 builtins preferring i386/floatundidf.S to floatundidf.c -- For cc_kext_osx_i386 builtins preferring i386/floatundisf.S to floatundisf.c -- For cc_kext_osx_i386 builtins preferring i386/lshrdi3.S to lshrdi3.c -- For cc_kext_osx_i386 builtins preferring i386/moddi3.S to moddi3.c -- For cc_kext_osx_i386 builtins preferring i386/muldi3.S to muldi3.c -- For cc_kext_osx_i386 builtins preferring i386/udivdi3.S to udivdi3.c -- For cc_kext_osx_i386 builtins preferring i386/umoddi3.S to umoddi3.c -- For cc_kext_osx_i386 builtins preferring i386/floatdixf.S to floatdixf.c -- For cc_kext_osx_i386 builtins preferring i386/floatundixf.S to floatundixf.c -- For cc_kext_osx_x86_64 builtins preferring i386/fp_mode.c to fp_mode.c -- For cc_kext_osx_x86_64 builtins preferring x86_64/floatdidf.c to floatdidf.c -- For cc_kext_osx_x86_64 builtins preferring x86_64/floatdisf.c to floatdisf.c -- For cc_kext_osx_x86_64 builtins preferring x86_64/floatundidf.S to floatundidf.c -- For cc_kext_osx_x86_64 builtins preferring x86_64/floatundisf.S to floatundisf.c -- For cc_kext_osx_x86_64 builtins preferring x86_64/floatdixf.c to floatdixf.c -- For cc_kext_osx_x86_64 builtins preferring x86_64/floatundixf.S to floatundixf.c -- For cc_kext_osx_x86_64h builtins preferring i386/fp_mode.c to fp_mode.c -- For cc_kext_osx_x86_64h builtins preferring x86_64/floatdidf.c to floatdidf.c -- For cc_kext_osx_x86_64h builtins preferring x86_64/floatdisf.c to floatdisf.c -- For cc_kext_osx_x86_64h builtins preferring x86_64/floatundidf.S to floatundidf.c -- For cc_kext_osx_x86_64h builtins preferring x86_64/floatundisf.S to floatundisf.c -- For cc_kext_osx_x86_64h builtins preferring x86_64/floatdixf.c to floatdixf.c -- For cc_kext_osx_x86_64h builtins preferring x86_64/floatundixf.S to floatundixf.c -- For cc_kext_osx_arm64 builtins preferring aarch64/fp_mode.c to fp_mode.c -- For cc_kext_osx_arm64e builtins preferring aarch64/fp_mode.c to fp_mode.c -- Configuring done (41.7s) -- Generating done (0.3s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: COMPILER_RT_HAS_BFLOAT16 COMPILER_RT_HAS_FLOAT16 COMPILER_RT_HAS_FNO_BUILTIN_FLAG COMPILER_RT_HAS_FPIC_FLAG COMPILER_RT_HAS_FPIE_FLAG COMPILER_RT_HAS_FREESTANDING_FLAG COMPILER_RT_HAS_STD_C11_FLAG COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG COMPILER_RT_HAS_XRAY_COMPILER_FLAG COMPILER_RT_HAS_wasm32_BFLOAT16 COMPILER_RT_HAS_wasm32_FLOAT16 -- Build files have been written to: /var/tmp/work/lang/wasi-compiler-rt/work/llvm-project-22.1.8.src/compiler-rt/cmake-pkgsrc-build