+ 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-15.0.7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wasi-compiler-rt-15.0.7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for cmake-15.0.7.src.tar.xz => Checksum SHA512 OK for cmake-15.0.7.src.tar.xz => Checksum BLAKE2s OK for compiler-rt-15.0.7.src.tar.xz => Checksum SHA512 OK for compiler-rt-15.0.7.src.tar.xz ===> Installing dependencies for wasi-compiler-rt-15.0.7 => Tool dependency cmake>=0: found cmake-3.25.2 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency grep>=2.5.1: found grep-3.8 => 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.7 => Build dependency wasi-libc>=0.0.0pre20210923: found wasi-libc-0.0.0pre20220311nb2 => Full dependency llvm>=15: found llvm-15.0.7 ===> Overriding tools for wasi-compiler-rt-15.0.7 ===> Extracting for wasi-compiler-rt-15.0.7 /usr/bin/ln -f -s /home/pbulk/build/lang/wasi-compiler-rt/work/cmake-15.0.7.src /home/pbulk/build/lang/wasi-compiler-rt/work/cmake ===> Patching for wasi-compiler-rt-15.0.7 => Applying pkgsrc patches for wasi-compiler-rt-15.0.7 => 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 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 /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__linux__libcdep.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /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.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.7 ===> Configuring for wasi-compiler-rt-15.0.7 => Checking for portability problems in extracted files -- The C compiler identification is Clang 15.0.7 -- The CXX compiler identification is Clang 15.0.7 -- 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 - done -- Check for working C compiler: /home/pbulk/build/lang/wasi-compiler-rt/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- 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 - not found CMake Warning at cmake/Modules/CompilerRTUtils.cmake:288 (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:71 (load_llvm_config) CMake Warning at 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:71 (load_llvm_config) -- Using LLVM source path (/home/pbulk/build/lang/llvm/work/llvm-15.0.7.src) from llvm-config CMake Warning at cmake/Modules/CompilerRTUtils.cmake:353 (message): llvm-config finding testingsupport failed with status 1 Call Stack (most recent call first): CMakeLists.txt:71 (load_llvm_config) -- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.13") -- Found zstd: /opt/pkg/lib/libzstd.so -- Found LibXml2: /opt/pkg/lib/libxml2.so (found version "2.10.3") -- LLVM_MAIN_SRC_DIR: "/home/pbulk/build/lang/llvm/work/llvm-15.0.7.src" CMake Warning at cmake/Modules/CompilerRTUtils.cmake:405 (message): LLVM_MAIN_SRC_DIR (/home/pbulk/build/lang/llvm/work/llvm-15.0.7.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:71 (load_llvm_config) -- Found Python3: /opt/pkg/bin/python3.10 (found version "3.10.9") found components: Interpreter -- Performing Test CXX_SUPPORTS_UNWINDLIB_NONE_FLAG -- Performing Test CXX_SUPPORTS_UNWINDLIB_NONE_FLAG - Success -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for __gcc_personality_v0 in gcc_s -- Looking for __gcc_personality_v0 in gcc_s - not found -- Performing Test C_SUPPORTS_NODEFAULTLIBS_FLAG -- Performing Test C_SUPPORTS_NODEFAULTLIBS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FCF_PROTECTION_FLAG -- Performing Test COMPILER_RT_HAS_FCF_PROTECTION_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Success -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_CXX14_FLAG -- Performing Test COMPILER_RT_HAS_STD_CXX14_FLAG - Success -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - 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_FNO_COVERAGE_MAPPING_FLAG -- Performing Test COMPILER_RT_HAS_FNO_COVERAGE_MAPPING_FLAG - Success -- Performing Test COMPILER_RT_HAS_MCRC32_FLAG -- Performing Test COMPILER_RT_HAS_MCRC32_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG - Success -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Success -- Performing Test COMPILER_RT_HAS_MCRC_FLAG -- Performing Test COMPILER_RT_HAS_MCRC_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_GR_FLAG -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GS_FLAG -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MT_FLAG -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_Oy_FLAG -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Success -- Performing Test COMPILER_RT_HAS_G_FLAG -- Performing Test COMPILER_RT_HAS_G_FLAG - Success -- Performing Test COMPILER_RT_HAS_Zi_FLAG -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WALL_FLAG -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Success -- Performing Test COMPILER_RT_HAS_WERROR_FLAG -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGNU_FLAG -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Success -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Success -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG - Success -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test COMPILER_RT_HAS_WSUGGEST_OVERRIDE_FLAG -- Performing Test COMPILER_RT_HAS_WSUGGEST_OVERRIDE_FLAG - Success -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Success -- Performing Test COMPILER_RT_HAS_WNO_FORMAT -- Performing Test COMPILER_RT_HAS_WNO_FORMAT - Success -- Performing Test COMPILER_RT_HAS_WNO_FORMAT_PEDANTIC -- Performing Test COMPILER_RT_HAS_WNO_FORMAT_PEDANTIC - Success -- Performing Test COMPILER_RT_HAS_EXTERNAL_FLAG -- Performing Test COMPILER_RT_HAS_EXTERNAL_FLAG - Failed -- Performing Test COMPILER_RT_HAS_W4_FLAG -- Performing Test COMPILER_RT_HAS_W4_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WX_FLAG -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4146_FLAG -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4206_FLAG -- Performing Test COMPILER_RT_HAS_WD4206_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4291_FLAG -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4221_FLAG -- Performing Test COMPILER_RT_HAS_WD4221_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4391_FLAG -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4722_FLAG -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4800_FLAG -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed -- Looking for __func__ -- Looking for __func__ - found -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG - Success -- Performing Test COMPILER_RT_HAS_NOSTDLIBXX_FLAG -- Performing Test COMPILER_RT_HAS_NOSTDLIBXX_FLAG - Success -- Looking for include file sys/auxv.h -- Looking for include file sys/auxv.h - not found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for shm_open in rt -- Looking for shm_open in rt - found -- Looking for pow in m -- Looking for pow in m - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for backtrace in execinfo -- Looking for backtrace in execinfo - not found -- Looking for __cxa_throw in c++ -- Looking for __cxa_throw in c++ - not found -- Looking for __cxa_throw in stdc++ -- Looking for __cxa_throw in stdc++ - not found -- Performing Test COMPILER_RT_HAS_Z_TEXT -- Performing Test COMPILER_RT_HAS_Z_TEXT - Success -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GNU_VERSION_SCRIPT_COMPAT -- Performing Test COMPILER_RT_HAS_GNU_VERSION_SCRIPT_COMPAT - Failed -- Performing Test COMPILER_RT_HAS_VERSION_SCRIPT -- Performing Test COMPILER_RT_HAS_VERSION_SCRIPT - Failed CMake Error at cmake/Modules/CompilerRTUtils.cmake:144 (message): Cannot compile for wasm32: Change Dir: /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.7.src/cmake-pkgsrc-build/CMakeFiles/CMakeTmp Run Build Command(s):/home/pbulk/build/lang/wasi-compiler-rt/work/.tools/bin/make -f Makefile cmTC_a4919/fast && /home/pbulk/build/lang/wasi-compiler-rt/work/.tools/bin/make -f CMakeFiles/cmTC_a4919.dir/build.make CMakeFiles/cmTC_a4919.dir/build Building CXX object CMakeFiles/cmTC_a4919.dir/simple.cc.o /home/pbulk/build/lang/wasi-compiler-rt/work/.cwrapper/bin/g++ --sysroot=/home/pbulk/build/lang/wasi-compiler-rt/work/.buildlink/wasi -O2 -I/opt/pkg/include --target=wasm32-unknown-unknown -fno-exceptions -MD -MT CMakeFiles/cmTC_a4919.dir/simple.cc.o -MF CMakeFiles/cmTC_a4919.dir/simple.cc.o.d -o CMakeFiles/cmTC_a4919.dir/simple.cc.o -c /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.7.src/cmake-pkgsrc-build/CMakeFiles/simple.cc In file included from /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.7.src/cmake-pkgsrc-build/CMakeFiles/simple.cc:2: In file included from /home/pbulk/build/lang/wasi-compiler-rt/work/.buildlink/wasi/include/stdio.h:52: In file included from /home/pbulk/build/lang/wasi-compiler-rt/work/.buildlink/wasi/include/__seek.h:4: /home/pbulk/build/lang/wasi-compiler-rt/work/.buildlink/wasi/include/wasi/api.h:27:2: error: is only supported on WASI platforms. #error is only supported on WASI platforms. ^ 1 error generated. *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.7.src/cmake-pkgsrc-build/CMakeFiles/CMakeTmp *** Error code 1 Stop. make: stopped in /home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.7.src/cmake-pkgsrc-build/CMakeFiles/CMakeTmp Call Stack (most recent call first): cmake/base-config-ix.cmake:248 (test_target_arch) cmake/config-ix.cmake:223 (test_targets) CMakeLists.txt:268 (include) -- Configuring incomplete, errors occurred! See also "/home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.7.src/cmake-pkgsrc-build/CMakeFiles/CMakeOutput.log". See also "/home/pbulk/build/lang/wasi-compiler-rt/work/compiler-rt-15.0.7.src/cmake-pkgsrc-build/CMakeFiles/CMakeError.log". *** 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