+ 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/grpc-1.46.3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/grpc-1.46.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for grpc-1.46.3.tar.gz
=> Checksum SHA512 OK for grpc-1.46.3.tar.gz
===> Installing dependencies for grpc-1.46.3
==========================================================================
The following variables will affect the build process of this package,
grpc-1.46.3.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.23.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency google-benchmark>=1.1.0: found google-benchmark-1.6.1
=> Full dependency abseil>=20190808: found abseil-20211102.0
=> Full dependency gflags>=2.1.2: found gflags-2.2.2
=> Full dependency protobuf>=3.19.0nb1: found protobuf-3.20.1
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
=> Full dependency re2>=20160201: found re2-20200801
=> Full dependency libcares>=1.15.0nb1: found libcares-1.18.1
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1p
===> Overriding tools for grpc-1.46.3
===> Extracting for grpc-1.46.3
===> Patching for grpc-1.46.3
=> Applying pkgsrc patches for grpc-1.46.3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/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.11 2021/10/06 10:58:30 adam Exp $
|
|--- CMakeLists.txt.orig	2020-02-04 17:04:33.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 365 (offset 111 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-include_grpc_event__engine_port.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-include_grpc_event__engine_port.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_grpc_event__engine_port.h,v 1.5 2022/04/30 21:36:26 wiz Exp $
|
|Support NetBSD.
|https://github.com/grpc/grpc/pull/29542
|
|--- include/grpc/event_engine/port.h.orig	2021-09-25 02:33:41.000000000 +0000
|+++ include/grpc/event_engine/port.h
--------------------------
Patching file include/grpc/event_engine/port.h using Plan A...
Hunk #1 succeeded at 20.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_grpc_impl_codegen_port__platform.h,v 1.5 2022/04/30 21:36:26 wiz Exp $
|
|Add NetBSD support.
|https://github.com/grpc/grpc/pull/29542
|
|--- include/grpc/impl/codegen/port_platform.h.orig	2021-01-19 18:07:57.000000000 +0000
|+++ include/grpc/impl/codegen/port_platform.h
--------------------------
Patching file include/grpc/impl/codegen/port_platform.h using Plan A...
Hunk #1 succeeded at 352 (offset 17 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc,v 1.4 2021/10/06 10:58:30 adam Exp $
|
|Add SunOS support.
|
|--- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc.orig	2021-09-25 02:33:41.000000000 +0000
|+++ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc
--------------------------
Patching file src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc using Plan A...
Hunk #1 succeeded at 22.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-src_core_lib_iomgr_port.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-src_core_lib_iomgr_port.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.3 2022/04/30 21:36:26 wiz Exp $
|
|Add NetBSD support.
|https://github.com/grpc/grpc/pull/29542
|
|Add SunOS support.
|
|--- src/core/lib/iomgr/port.h.orig	2018-07-12 14:40:09.000000000 +0000
|+++ src/core/lib/iomgr/port.h
--------------------------
Patching file src/core/lib/iomgr/port.h using Plan A...
Hunk #1 succeeded at 155 (offset 16 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-src_core_lib_iomgr_sockaddr__utils__posix.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/grpc/patches/patch-src_core_lib_iomgr_sockaddr__utils__posix.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_core_lib_iomgr_sockaddr__utils__posix.cc,v 1.1 2022/05/16 08:47:19 jperkin Exp $
|
|Include sys/types.h before netinet.
|
|--- src/core/lib/iomgr/sockaddr_utils_posix.cc.orig	2022-05-10 07:13:09.000000000 +0000
|+++ src/core/lib/iomgr/sockaddr_utils_posix.cc
--------------------------
Patching file src/core/lib/iomgr/sockaddr_utils_posix.cc using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 32.
done
===> Creating toolchain wrappers for grpc-1.46.3
===> Configuring for grpc-1.46.3
=> 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 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/net/grpc/work/.cwrapper/bin/gcc - 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/net/grpc/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found c-ares: /home/pbulk/build/net/grpc/work/.buildlink/lib/cmake/c-ares/c-ares-config.cmake (found suitable version "1.18.1", minimum required is "1.13.0") 
-- Found Protobuf: /opt/pkg/lib/libprotobuf.so (found version "3.20.1") 
-- Found RE2 via CMake.
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "1.1.1p")  
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.12") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    gRPC_GFLAGS_PROVIDER


-- Build files have been written to: /home/pbulk/build/net/grpc/work/grpc-1.46.3
=> Rewrite cmake Dependencies files