+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/compiler-rt-15.0.7/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/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 compiler-rt-15.0.7
==========================================================================
The following variables will affect the build process of this package,
compiler-rt-15.0.7.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 310

Based on these variables, the following variables have been set:

        * PYPACKAGE = python310

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> 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 googletest>=1.4.0: found googletest-1.13.0
=> Build dependency python310>=3.10.0: found python310-3.10.12
=> Full dependency llvm>=15<16: found llvm-15.0.7nb1
===> Overriding tools for compiler-rt-15.0.7
===> Extracting for compiler-rt-15.0.7
/bin/ln -f -s /home/pbulk/build/lang/compiler-rt/work/cmake-15.0.7.src /home/pbulk/build/lang/compiler-rt/work/cmake
/bin/mkdir -p /home/pbulk/build/lang/compiler-rt/work/build
===> Patching for compiler-rt-15.0.7
=> Applying pkgsrc patches for compiler-rt-15.0.7
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/compiler-rt/patches/patch-cmake_config-ix.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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-el7-trunk-x86_64/lang/compiler-rt/patches/patch-lib_asan_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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-el7-trunk-x86_64/lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__linux__libcdep.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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-el7-trunk-x86_64/lang/compiler-rt/patches/patch-lib_sanitizer__common_sanitizer__platform__limits__netbsd.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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 compiler-rt-15.0.7
===> Configuring for compiler-rt-15.0.7
=> 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 GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- The ASM compiler identification is GNU
-- Found assembler: /home/pbulk/build/lang/compiler-rt/work/.cwrapper/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/lang/compiler-rt/work/.cwrapper/bin/cc - 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: /home/pbulk/build/lang/compiler-rt/work/.cwrapper/bin/c++ - 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
CMake Warning at cmake/Modules/CompilerRTUtils.cmake:288 (message):
  LLVM source tree not found at
  "/home/pbulk/build/lang/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)


/usr/pkg/bin/llvm-config: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /usr/pkg/bin/llvm-config)
/usr/pkg/bin/llvm-config: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/pkg/bin/llvm-config)
CMake Error at cmake/Modules/CompilerRTUtils.cmake:300 (message):
  llvm-config failed with status 1
Call Stack (most recent call first):
  CMakeLists.txt:71 (load_llvm_config)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/compiler-rt
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/lang/compiler-rt