=> 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 = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/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/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libxslt-[0-9]*: found libxslt-1.1.42nb4 => Tool dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb7 => Tool dependency cmake>=0: found cmake-3.31.7nb2 => 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 uthash>=1.9.9: found uthash-2.3.0 => Full dependency user-darwin>=20130712: found user-darwin-20170116 => 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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mosquitto/patches/patch-lib_CMakeLists.txt => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mosquitto/patches/patch-mosquitto.conf => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mosquitto/patches/patch-src_CMakeLists.txt => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /Users/pbulk/build/net/mosquitto/work/.cwrapper/bin/clang -- Check for working C compiler: /Users/pbulk/build/net/mosquitto/work/.cwrapper/bin/clang - broken CMake Error at /opt/pkg/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "/Users/pbulk/build/net/mosquitto/work/.cwrapper/bin/clang" is not able to compile a simple test program. It fails with the following output: Change Dir: '/Users/pbulk/build/net/mosquitto/work/mosquitto-2.0.21/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-KM5wag' Run Build Command(s): /opt/pkg/bin/cmake -E env VERBOSE=1 /Users/pbulk/build/net/mosquitto/work/.tools/bin/make -f Makefile cmTC_1eeef/fast /Users/pbulk/build/net/mosquitto/work/.tools/bin/make -f CMakeFiles/cmTC_1eeef.dir/build.make CMakeFiles/cmTC_1eeef.dir/build Building C object CMakeFiles/cmTC_1eeef.dir/testCCompiler.c.o /Users/pbulk/build/net/mosquitto/work/.cwrapper/bin/clang -pipe -Os -D_REENTRANT -I/opt/pkg/include -I/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include -arch arm64 -o CMakeFiles/cmTC_1eeef.dir/testCCompiler.c.o -c /Users/pbulk/build/net/mosquitto/work/mosquitto-2.0.21/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-KM5wag/testCCompiler.c Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/libxcodebuildLoader.dylib, 0x0001): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice Referenced from: /System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/SharedFrameworks/DVTPortal.framework/Versions/A/DVTPortal Reason: tried: '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache), '/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file), '/System/Library/Frameworks/MobileDevice.framework/Versions/A/MobileDevice' (no such file, not in dyld cache)) clang: error: unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly! clang: error: You can set the path to the Xcode folder using /usr/bin/xcode-select -switch *** Error code 71 Stop. make[1]: stopped making "CMakeFiles/cmTC_1eeef.dir/build" in /Users/pbulk/build/net/mosquitto/work/mosquitto-2.0.21/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-KM5wag *** Error code 1 Stop. make: stopped making "cmTC_1eeef/fast" in /Users/pbulk/build/net/mosquitto/work/mosquitto-2.0.21/cmake-pkgsrc-build/CMakeFiles/CMakeScratch/TryCompile-KM5wag CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:9 (project) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mosquitto *** Error code 1 Stop. bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/mosquitto