+ 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/mosquitto-2.0.18nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mosquitto-2.0.18nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mosquitto-2.0.18.tar.gz
=> Checksum SHA512 OK for mosquitto-2.0.18.tar.gz
===> Installing dependencies for mosquitto-2.0.18nb1
==========================================================================
The supported build options for mosquitto are:

	websockets

The currently selected options are:

	websockets

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.mosquitto (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mosquitto-2.0.18nb1.  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 libxslt-[0-9]*: found libxslt-1.1.39
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency uthash>=1.9.9: found uthash-2.3.0
=> Full dependency CUnit>=2.1: found CUnit-2.1.3
=> Full dependency libwebsockets>=4.3.0nb1: found libwebsockets-4.3.3
=> Full dependency openssl>=3: found openssl-3.1.5
=> Full dependency libcares>=1.6.0: found libcares-1.27.0
===> Overriding tools for mosquitto-2.0.18nb1
===> Extracting for mosquitto-2.0.18nb1
===> Patching for mosquitto-2.0.18nb1
=> Applying pkgsrc patches for mosquitto-2.0.18nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-lib_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-lib_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_CMakeLists.txt,v 1.2 2021/01/28 19:46:24 triaxx Exp $
|
|On NetBSD, do not include librt.
|\todo Why?  All other "UNIX" does, except Mac.
|\todo Consider filing upstream.
|
|--- lib/CMakeLists.txt.orig	2021-01-11 16:49:40.000000000 +0000
|+++ lib/CMakeLists.txt
--------------------------
Patching file lib/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 61.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-lib_net__mosq.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-lib_net__mosq.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_net__mosq.c,v 1.3 2021/12/31 16:02:09 triaxx Exp $
|
|Work around lack of strnlen on older NetBSD.
|
|Not sent upstream becaus POSIX requires strnlen.
|
|--- lib/net_mosq.c.orig	2021-11-17 00:28:35.000000000 +0000
|+++ lib/net_mosq.c
--------------------------
Patching file lib/net_mosq.c using Plan A...
Hunk #1 succeeded at 77.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-lib_strings__mosq.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-lib_strings__mosq.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_strings__mosq.c,v 1.2 2022/08/16 23:08:39 gdt Exp $
|
|Suppress warning by including missing header.
|
|--- lib/strings_mosq.c.orig	2022-08-16 13:34:02.000000000 +0000
|+++ lib/strings_mosq.c
--------------------------
Patching file lib/strings_mosq.c using Plan A...
Hunk #1 succeeded at 21.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-mosquitto.conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-mosquitto.conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mosquitto.conf,v 1.5 2021/12/31 09:57:36 triaxx Exp $
|Log to syslog, instead of (perhaps) not logging.
|
|\todo Figure out what happens if port is not defined, and why we set it.
|
|\todo Think about pidfile; because this can be run in various modes
|that seems like it should perhaps be command-line, not config.
|
|--- mosquitto.conf.orig	2021-01-11 16:49:40.000000000 +0000
|+++ mosquitto.conf
--------------------------
Patching file mosquitto.conf using Plan A...
Hunk #1 succeeded at 167 (offset 2 lines).
Hunk #2 succeeded at 358 (offset 1 line).
Hunk #3 succeeded at 467 (offset 2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto/patches/patch-src_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_CMakeLists.txt,v 1.6 2021/12/31 09:57:36 triaxx Exp $
|
|\todo Explain this change
|
|\todo File upstream.
|
|--- src/CMakeLists.txt.orig	2020-08-19 13:55:03.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 213.
done
===> Creating toolchain wrappers for mosquitto-2.0.18nb1
===> Configuring for mosquitto-2.0.18nb1
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/net/mosquitto/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/mosquitto/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /opt/pkg/lib/libcrypto.so (found version "3.1.5")  
-- WITH_DLT = OFF
-- Could NOT find cJSON (missing: CJSON_INCLUDE_DIR CJSON_LIBRARY) 
-- Optional dependency cJSON not found. Some features will be disabled.
-- Looking for getaddrinfo_a in anl
-- Looking for getaddrinfo_a in anl - not found
-- Configuring done (5.3s)
-- Generating done (0.1s)
-- Build files have been written to: /home/pbulk/build/net/mosquitto/work/mosquitto-2.0.18
=> Rewrite cmake Dependencies files
=> Substituting paths