+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mosquitto-2.0.20/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mosquitto-2.0.20/work.log
=> Checksum BLAKE2s OK for mosquitto-2.0.20.tar.gz
=> Checksum SHA512 OK for mosquitto-2.0.20.tar.gz
===> Installing dependencies for mosquitto-2.0.20
==========================================================================
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.20.  Their current value is shown below:

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

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libxslt-[0-9]*: found libxslt-1.1.42nb3
=> Tool dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb7
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Build dependency uthash>=1.9.9: found uthash-2.3.0
=> Full dependency CUnit>=2.1: found CUnit-2.1.3nb1
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency libcares>=1.6.0: found libcares-1.34.3
=> Full dependency libuuid>=2.18: found libuuid-2.32.1nb2
=> Full dependency libwebsockets>=4.3.0nb1: found libwebsockets-4.3.3nb1
=> Full dependency openssl>=3: found openssl-3.3.2
===> Overriding tools for mosquitto-2.0.20
===> Extracting for mosquitto-2.0.20
===> Patching for mosquitto-2.0.20
=> Applying pkgsrc patches for mosquitto-2.0.20
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/mosquitto/patches/patch-lib_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/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.3 2024/10/13 14:13:23 gdt Exp $
|
|On NetBSD, do not include librt.
|\todo Why?  All other "UNIX" does, except Mac.
|\todo Consider filing upstream.
|
|--- lib/CMakeLists.txt.orig	2024-10-02 10:09:25.000000000 +0000
|+++ lib/CMakeLists.txt
--------------------------
Patching file lib/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 62 (offset 1 line).
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/mosquitto/patches/patch-mosquitto.conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/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.6 2024/08/19 19:11:36 wiz 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-trunk-x86_64/net/mosquitto/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/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.8 2024/10/14 21:51:21 gdt Exp $
|
|The first hunk removes linker args on SunOS, for no apparent reason.
|\todo Explain and file a bug upstream; this should not be a pkgsrc change.
|
|--- 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.20
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build/net/mosquitto/work/.cwrapper/specs.pkgsrc
===> Configuring for mosquitto-2.0.20
CMake Deprecation Warning at CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.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/local/lib/libcrypto.so (found version "3.3.2")
-- WITH_DLT = OFF
-- Could NOT find cJSON (missing: CJSON_INCLUDE_DIR CJSON_LIBRARY) 
-- Optional dependency cJSON not found. Some features will be disabled.
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Looking for getaddrinfo_a in anl
-- Looking for getaddrinfo_a in anl - not found
-- Configuring done (3.2s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /home/pbulk/build/net/mosquitto/work/mosquitto-2.0.20/cmake-pkgsrc-build
=> Substituting paths