+ 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.21nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mosquitto-2.0.21nb1/work.log => Checksum BLAKE2s OK for mosquitto-2.0.21.tar.gz => Checksum SHA512 OK for mosquitto-2.0.21.tar.gz ===> Installing dependencies for mosquitto-2.0.21nb1 ========================================================================== 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.21nb1. 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 * VARBASE = /var/opt/pkg 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.42nb3 => Tool dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb7 => Tool dependency cmake>=0: found cmake-3.31.7 => 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.3nb1 => Full dependency libcares>=1.6.0: found libcares-1.34.5 => Full dependency libwebsockets>=4.3.0nb1: found libwebsockets-4.3.3nb1 => Full dependency openssl>=3: found openssl-3.4.1 ===> Overriding tools for mosquitto-2.0.21nb1 ===> Extracting for mosquitto-2.0.21nb1 ===> Patching for mosquitto-2.0.21nb1 => Applying pkgsrc patches for mosquitto-2.0.21nb1 => 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.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-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.8 2025/03/08 13:59:13 gdt Exp $ | |Align pid_file to pkgsrc norms. | |Provide a dir for capath, but do not set it. (In mosquitto, having a |key/cert for the server is linked to having a CA, and to treating |clients with a certificate from a known CA as authorized. This is |complicated, and not about pkgsrc, and this change does not intend to |step into the situation.) | |Log to syslog, instead of (perhaps) not logging. | |--- mosquitto.conf.orig 2025-03-06 16:25:31.000000000 +0000 |+++ mosquitto.conf -------------------------- Patching file mosquitto.conf using Plan A... Hunk #1 succeeded at 167. Hunk #2 succeeded at 361. Hunk #3 succeeded at 469. 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.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.21nb1 ===> Configuring for mosquitto-2.0.21nb1 => Checking for portability problems in extracted files -- 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: /home/pbulk/build/net/mosquitto/work/.buildlink/lib/libcrypto.so (found version "3.4.1") -- 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 (8.0s) CMake Error in src/CMakeLists.txt: Imported target "websockets_shared" includes non-existent path "/home/pbulk/build/www/libwebsockets/work/.buildlink/include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: FETCHCONTENT_FULLY_DISCONNECTED CMake Generate step failed. Build files cannot be regenerated correctly. *** Error code 1 Stop. bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto *** Error code 1 Stop. bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mosquitto