=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for cmake-15.0.6.src.tar.xz => Checksum SHA512 OK for cmake-15.0.6.src.tar.xz => Checksum BLAKE2s OK for compiler-rt-15.0.6.src.tar.xz => Checksum SHA512 OK for compiler-rt-15.0.6.src.tar.xz ===> Installing dependencies for wasi-compiler-rt-15.0.6 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency xz>=4.999.9betanb1: found xz-5.4.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency clang>=15.0.5nb1: found clang-15.0.6 => Build dependency wasi-libc>=0.0.0pre20210923: found wasi-libc-0.0.0pre20220311nb2 => Full dependency llvm>=15: found llvm-15.0.6 ===> Overriding tools for wasi-compiler-rt-15.0.6 ===> Extracting for wasi-compiler-rt-15.0.6 /bin/ln -f -s /Users/pbulk/build/lang/wasi-compiler-rt/work/cmake-15.0.6.src /Users/pbulk/build/lang/wasi-compiler-rt/work/cmake /bin/mkdir -p /Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/build ===> Patching for wasi-compiler-rt-15.0.6 => Applying pkgsrc patches for wasi-compiler-rt-15.0.6 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-cmake_config-ix.cmake => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.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 692 (offset 24 lines). Hunk #2 succeeded at 712 (offset 24 lines). Hunk #3 succeeded at 732 (offset -6 lines). Hunk #4 succeeded at 787 (offset 24 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_asan_CMakeLists.txt => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_asan_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_asan_CMakeLists.txt,v 1.1 2022/08/12 08:58:41 pin Exp $ | |Only use optimized asan code on Linux. |https://github.com/llvm/llvm-project/issues/57086 | |--- lib/asan/CMakeLists.txt.orig 2022-06-22 16:46:24.000000000 +0000 |+++ lib/asan/CMakeLists.txt -------------------------- Patching file lib/asan/CMakeLists.txt using Plan A... Hunk #1 succeeded at 46. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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.4 2022/11/14 18:44:06 adam Exp $ | |Fix build on NetBSD. | |--- lib/sanitizer_common/sanitizer_linux_libcdep.cpp.orig 2022-11-10 13:10:42.578954666 +0000 |+++ lib/sanitizer_common/sanitizer_linux_libcdep.cpp -------------------------- Patching file lib/sanitizer_common/sanitizer_linux_libcdep.cpp using Plan A... Hunk #1 succeeded at 568. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp,v 1.4 2022/08/12 08:58:41 pin Exp $ | |urio and smb have been removed from NetBSD. | |--- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2022-06-22 16:46:24.000000000 +0000 |+++ lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp -------------------------- Patching file lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp using Plan A... Hunk #1 succeeded at 957. Hunk #2 succeeded at 989. Hunk #3 succeeded at 1580. Hunk #4 succeeded at 1968. Hunk #5 succeeded at 1976. done ===> Creating toolchain wrappers for wasi-compiler-rt-15.0.6 ===> Configuring for wasi-compiler-rt-15.0.6 => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt". => Checking for portability problems in extracted files -- The C compiler identification is Clang 15.0.6 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /Users/pbulk/build/lang/wasi-compiler-rt/work/.cwrapper/bin/clang -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/pbulk/build/lang/wasi-compiler-rt/work/.cwrapper/bin/clang - 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 -- Found OSX_SYSROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk CMake Warning at /Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/cmake/Modules/CompilerRTUtils.cmake:288 (message): LLVM source tree not found at "/Users/pbulk/build/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:28 (load_llvm_config) CMake Warning at /Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/cmake/Modules/CompilerRTUtils.cmake:316 (message): Consulting llvm-config for the LLVM source path as a fallback. This behavior will be removed in the future. Call Stack (most recent call first): CMakeLists.txt:28 (load_llvm_config) -- Using LLVM source path (/Users/pbulk/build-disk/lang/llvm/work/llvm-15.0.6.src) from llvm-config CMake Warning at /Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/cmake/Modules/CompilerRTUtils.cmake:353 (message): llvm-config finding testingsupport failed with status 1 Call Stack (most recent call first): CMakeLists.txt:28 (load_llvm_config) -- Found ZLIB: /opt/pkg/lib/libz.dylib (found version "1.2.13") -- Found zstd: /opt/pkg/lib/libzstd.dylib -- Found LibXml2: /opt/pkg/lib/libxml2.dylib (found version "2.9.14") -- LLVM_MAIN_SRC_DIR: "/Users/pbulk/build-disk/lang/llvm/work/llvm-15.0.6.src" CMake Warning at /Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/cmake/Modules/CompilerRTUtils.cmake:405 (message): LLVM_MAIN_SRC_DIR (/Users/pbulk/build-disk/lang/llvm/work/llvm-15.0.6.src) 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:28 (load_llvm_config) -- Found libtool - /Library/Developer/CommandLineTools/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 -- Checking DARWIN_macosx_SYSROOT - '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' -- Checking DARWIN_iphonesimulator_SYSROOT - '' -- Checking DARWIN_iphoneos_SYSROOT - '' -- Checking DARWIN_watchsimulator_SYSROOT - '' -- Checking DARWIN_watchos_SYSROOT - '' -- Checking DARWIN_appletvsimulator_SYSROOT - '' -- Checking DARWIN_appletvos_SYSROOT - '' -- Found arm64 support in /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/SDKSettings.plist -- Found arm64e support in /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/SDKSettings.plist CMake Error at /Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/cmake/Modules/CompilerRTDarwinUtils.cmake:73 (message): Failed to determine SDK version for "iphonesimulator" SDK Call Stack (most recent call first): /Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/cmake/builtin-config-ix.cmake:128 (find_darwin_sdk_version) CMakeLists.txt:51 (include) -- Configuring incomplete, errors occurred! See also "/Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/build/CMakeFiles/CMakeOutput.log". See also "/Users/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.6.src/build/CMakeFiles/CMakeError.log". *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/lang/wasi-compiler-rt