+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wasi-compiler-rt-16.0.6nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wasi-compiler-rt-16.0.6nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for cmake-16.0.6.src.tar.xz => Checksum SHA512 OK for cmake-16.0.6.src.tar.xz => Checksum BLAKE2s OK for compiler-rt-16.0.6.src.tar.xz => Checksum SHA512 OK for compiler-rt-16.0.6.src.tar.xz ===> Installing dependencies for wasi-compiler-rt-16.0.6nb1 => Tool dependency cmake-[0-9]*: found cmake-3.28.3 => Tool dependency lld-16.0.6*: found lld-16.0.6 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency grep>=2.5.1: found grep-3.11 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency clang>=16.0.6nb1<17: found clang-16.0.6nb1 => Build dependency wasi-libc>=0.0.0pre20210923: found wasi-libc-0.0.0pre20231007nb1 => Full dependency llvm>=16.0.0<17: found llvm-16.0.6nb1 ===> Overriding tools for wasi-compiler-rt-16.0.6nb1 ===> Extracting for wasi-compiler-rt-16.0.6nb1 /usr/bin/ln -f -s /home/pbulk/build/lang/wasi-compiler-rt/work/cmake-16.0.6.src /home/pbulk/build/lang/wasi-compiler-rt/work/cmake ===> Patching for wasi-compiler-rt-16.0.6nb1 => Applying pkgsrc patches for wasi-compiler-rt-16.0.6nb1 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.1 2023/10/06 19:15:20 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 471. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-cmake_config-ix.cmake => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 710 (offset 42 lines). Hunk #2 succeeded at 730 (offset 42 lines). Hunk #3 succeeded at 732 (offset -6 lines). Hunk #4 succeeded at 805 (offset 42 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_asan_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/wasi-compiler-rt/../../lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.6 2023/03/03 09:53:14 wiz Exp $ | |urio and smb have been removed from NetBSD. |upstreamed? | |TIOCRCVFRAME and TIOCXMTFRAME as well. |https://github.com/llvm/llvm-project/issues/61151 | |--- lib/sanitizer_common/sanitizer_platform_limits_netbsd.cpp.orig 2023-01-12 07:12:30.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. Hunk #6 succeeded at 2350. done ===> Creating toolchain wrappers for wasi-compiler-rt-16.0.6nb1 ===> Configuring for wasi-compiler-rt-16.0.6nb1 => Checking for portability problems in extracted files -- The C compiler identification is Clang 16.0.6 -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: /home/pbulk/build/lang/wasi-compiler-rt/work/.cwrapper/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Detecting C compile features -- Detecting C compile features - done CMake Warning (dev) at /opt/pkg/share/cmake-3.28/Modules/GNUInstallDirs.cmake:243 (message): Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. Please enable at least one language before including GNUInstallDirs. Call Stack (most recent call first): /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.src/cmake/base-config-ix.cmake:9 (include) CMakeLists.txt:32 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for unwind.h -- Looking for unwind.h - not found -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - not found CMake Warning at /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.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:36 (load_llvm_config) CMake Warning at /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.src/cmake/Modules/CompilerRTUtils.cmake:298 (message): LLVM source tree not found at "/home/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:36 (load_llvm_config) -- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1") -- Found zstd: /opt/pkg/lib/libzstd.so -- Found LibXml2: /opt/pkg/lib/libxml2.so (found version "2.12.4") CMake Warning at /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.src/cmake/Modules/CompilerRTUtils.cmake:326 (message): LLVMTestingSupport not found in LLVM_AVAILABLE_LIBS Call Stack (most recent call first): CMakeLists.txt:36 (load_llvm_config) -- LLVM_MAIN_SRC_DIR: "/home/pbulk/build/lang/wasi-compiler-rt/work/llvm" CMake Warning at /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.src/cmake/Modules/CompilerRTUtils.cmake:338 (message): LLVM_MAIN_SRC_DIR (/home/pbulk/build/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:36 (load_llvm_config) CMake Deprecation Warning at /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.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:47 (include) -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Failed CMake Error at /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.src/cmake/Modules/CompilerRTUtils.cmake:144 (message): Cannot compile for wasm32: Call Stack (most recent call first): /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.src/cmake/base-config-ix.cmake:267 (test_target_arch) /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-16.0.6.src/cmake/builtin-config-ix.cmake:210 (test_targets) CMakeLists.txt:60 (include) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/wasi-compiler-rt *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/wasi-compiler-rt