WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead. => Checksum BLAKE2s OK for gammu-1.41.0.tar.bz2 => Checksum SHA512 OK for gammu-1.41.0.tar.bz2 ===> Installing dependencies for gammu-1.41.0nb20 ========================================================================== The following variables will affect the build process of this package, gammu-1.41.0nb20. 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 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 cmake>=3.18: found cmake-3.31.7nb2 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency dialog-[0-9]*: found dialog-1.3.20240619 => Full dependency curl>=8.13.0nb2: found curl-8.13.0nb2 => Full dependency libusb1>=1.0.9: found libusb1-1.0.28 => Full dependency unixodbc>=2.3.2: found unixodbc-2.3.12nb1 => Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => Full dependency libidn2>=2.0.0: found libidn2-2.3.7 => Full dependency libltdl>=2.4.2: found libltdl-2.4.7 => Full dependency libssh2>=0.18: found libssh2-1.11.1 => Full dependency libunistring>=0.9.3: found libunistring-1.2 => Full dependency libxml2>=2.6.2: found libxml2-2.14.2nb2 => Full dependency nghttp2>=1.0.0: found nghttp2-1.65.0nb1 => Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9 => Full dependency openssl>=1.1.1: found openssl-3.4.1 => Full dependency xz>=5.0.0: found xz-5.8.1 => Full dependency zlib>=1.1.4: found zlib-1.3.1 ===> Overriding tools for gammu-1.41.0nb20 ===> Extracting for gammu-1.41.0nb20 ===> Patching for gammu-1.41.0nb20 => Applying pkgsrc patches for gammu-1.41.0nb20 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-contrib_smscgi_sms__cgi.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-contrib_smscgi_sms__cgi.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-contrib_smscgi_sms__cgi.c,v 1.3 2015/08/17 16:42:53 leot Exp $ | |Fix build on SunOS. | |--- contrib/smscgi/sms_cgi.c.orig 2015-08-14 12:32:29.000000000 +0000 |+++ contrib/smscgi/sms_cgi.c -------------------------- Patching file contrib/smscgi/sms_cgi.c using Plan A... Hunk #1 succeeded at 28. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-libgammu_gsmstate.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-libgammu_gsmstate.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgammu_gsmstate.c,v 1.1 2020/02/15 02:19:49 manu Exp $ | |Make sure power is enabled on startup. Useful for D-Link DWM-157 | |From upstream https://github.com/gammu/gammu/pull/516 | |--- libgammu/gsmstate.c.orig 2019-01-28 16:16:07.000000000 +0100 |+++ libgammu/gsmstate.c 2020-02-14 03:16:46.526678044 +0100 -------------------------- Patching file libgammu/gsmstate.c using Plan A... Hunk #1 succeeded at 901 (offset 1 line). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-libgammu_phone_at_at-sms.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-libgammu_phone_at_at-sms.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libgammu_phone_at_at-sms.c,v 1.4 2023/09/24 00:50:48 manu Exp $ | |1) Don't use strcharnul from the helper library, it doesn't end |up as PIC when compiled with Clang. | |2) Skip garbage reply on AT+CMGL in PDU mode as in text mode | |From upstream https://github.com/gammu/gammu/pull/823 | |THe D-Link DWM222 4G USB modem sends a garbage line before the reply |to AT+CMGL. This case was handled in text mode but not in PDU mode, |and this device exhibit the bad behavior in PDU mode too. | |This change brings garbage skip behavior in PDU mode on par with text mode. | |--- libgammu/phone/at/at-sms.c.orig 2019-09-27 10:55:52.000000000 +0200 |+++ libgammu/phone/at/at-sms.c 2023-09-24 02:44:57.292835696 +0200 -------------------------- Patching file libgammu/phone/at/at-sms.c using Plan A... Hunk #1 succeeded at 113. Hunk #2 succeeded at 1147. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-smsd_services_pgsql.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-smsd_services_pgsql.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-smsd_services_pgsql.c,v 1.1 2018/07/31 13:13:46 jperkin Exp $ | |Set _XOPEN_SOURCE correctly. | |--- smsd/services/pgsql.c.orig 2018-01-05 10:14:14.000000000 +0000 |+++ smsd/services/pgsql.c -------------------------- Patching file smsd/services/pgsql.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-smsd_services_sql.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu/patches/patch-smsd_services_sql.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-smsd_services_sql.c,v 1.1 2018/07/31 13:13:46 jperkin Exp $ | |Set _XOPEN_SOURCE correctly. | |--- smsd/services/sql.c.orig 2018-01-05 10:14:14.000000000 +0000 |+++ smsd/services/sql.c -------------------------- Patching file smsd/services/sql.c using Plan A... Hunk #1 succeeded at 9. done ===> Creating toolchain wrappers for gammu-1.41.0nb20 ===> Configuring for gammu-1.41.0nb20 => Fixing CMakeLists.txt => Replacing bash interpreter in utils/gammu-config utils/jadmaker. INFO: [replace-interpreter] Nothing changed in utils/jadmaker. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt -- The C compiler identification is unknown -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /Users/pbulk/build/comms/gammu/work/.cwrapper/bin/clang -- Check for working C compiler: /Users/pbulk/build/comms/gammu/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/comms/gammu/work/.cwrapper/bin/clang" is not able to compile a simple test program. It fails with the following output: Change Dir: '/Users/pbulk/build/comms/gammu/work/gammu-1.41.0/CMakeFiles/CMakeScratch/TryCompile-JYlqAt' Run Build Command(s): /opt/pkg/bin/cmake -E env VERBOSE=1 /Users/pbulk/build/comms/gammu/work/.tools/bin/make -f Makefile cmTC_89bb0/fast /Users/pbulk/build/comms/gammu/work/.tools/bin/make -f CMakeFiles/cmTC_89bb0.dir/build.make CMakeFiles/cmTC_89bb0.dir/build Building C object CMakeFiles/cmTC_89bb0.dir/testCCompiler.c.o /Users/pbulk/build/comms/gammu/work/.cwrapper/bin/clang -pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -arch arm64 -o CMakeFiles/cmTC_89bb0.dir/testCCompiler.c.o -c /Users/pbulk/build/comms/gammu/work/gammu-1.41.0/CMakeFiles/CMakeScratch/TryCompile-JYlqAt/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_89bb0.dir/build" in /Users/pbulk/build/comms/gammu/work/gammu-1.41.0/CMakeFiles/CMakeScratch/TryCompile-JYlqAt *** Error code 1 Stop. make: stopped making "cmTC_89bb0/fast" in /Users/pbulk/build/comms/gammu/work/gammu-1.41.0/CMakeFiles/CMakeScratch/TryCompile-JYlqAt CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:8 (project) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu *** Error code 1 Stop. bmake: stopped making "configure" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/comms/gammu