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.0nb19 ========================================================================== The following variables will affect the build process of this package, gammu-1.41.0nb19. 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.7nb1 => 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.0nb1: found curl-8.13.0nb1 => 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.2nb1 => 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.0nb19 ===> Extracting for gammu-1.41.0nb19 ===> Patching for gammu-1.41.0nb19 => Applying pkgsrc patches for gammu-1.41.0nb19 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/comms/gammu/patches/patch-contrib_smscgi_sms__cgi.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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-upstream-arm64/comms/gammu/patches/patch-libgammu_gsmstate.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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-upstream-arm64/comms/gammu/patches/patch-libgammu_phone_at_at-sms.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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-upstream-arm64/comms/gammu/patches/patch-smsd_services_pgsql.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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-upstream-arm64/comms/gammu/patches/patch-smsd_services_sql.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-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.0nb19 ===> Configuring for gammu-1.41.0nb19 => 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 AppleClang 13.1.6.13160021 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Users/pbulk/build/comms/gammu/work/.cwrapper/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Configuring Gammu 1.41.0 Warning: In tree build is not recommended way to build Gammu. -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Reason given by package: The command "/Users/pbulk/build/comms/gammu/work/.tools/bin/pkg-config" --version failed with output: stderr: result: 1 -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Looking for __clang__ -- Looking for __clang__ - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for _strnicmp -- Looking for _strnicmp - not found -- Looking for _stricmp -- Looking for _stricmp - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strchrnul -- Looking for strchrnul - not found -- Looking for strtoull -- Looking for strtoull - found -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for wchar.h -- Looking for wchar.h - found -- Looking for include files wchar.h, wctype.h -- Looking for include files wchar.h, wctype.h - found -- Looking for iswspace -- Looking for iswspace - found -- Looking for towlower -- Looking for towlower - found -- Looking for I_SETSIG -- Looking for I_SETSIG - not found -- Looking for strings.h -- Looking for strings.h - found -- Looking for scandir -- Looking for scandir - found -- Looking for alphasort -- Looking for alphasort - found -- Looking for getopt -- Looking for getopt - found -- Looking for getopt_long -- Looking for getopt_long - found -- Looking for daemon -- Looking for daemon - not found -- Looking for daemon -- Looking for daemon - found -- Looking for kill -- Looking for kill - found -- Looking for sigtimedwait -- Looking for sigtimedwait - not found -- Looking for getpwnam -- Looking for getpwnam - found -- Looking for getgrnam -- Looking for getgrnam - found -- Looking for getpwuid -- Looking for getpwuid - found -- Looking for getuid -- Looking for getuid - found -- Looking for initgroups -- Looking for initgroups - not found -- Looking for setuid -- Looking for setuid - found -- Looking for setgid -- Looking for setgid - found -- Looking for SIGHUP -- Looking for SIGHUP - found -- Looking for SIGUSR1 -- Looking for SIGUSR1 - found -- Looking for SIGUSR2 -- Looking for SIGUSR2 - found -- Looking for dup -- Looking for dup - found -- Looking for getpid -- Looking for getpid - found -- Looking for getpass -- Looking for getpass - found -- Looking for alarm -- Looking for alarm - found -- Looking for dup -- Looking for dup - not found -- Looking for shmget -- Looking for shmget - found -- Performing Test HAVE_STRPTIME -- Performing Test HAVE_STRPTIME - Success -- Performing Test HAVE_SYSLOG -- Performing Test HAVE_SYSLOG - Success -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found ODBC: /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libiodbc.tbd -- Performing Test ODBC_WORKS -- Performing Test ODBC_WORKS - Success -- Could NOT find Libintl (missing: LIBINTL_INCLUDE_DIR LIBINTL_LIB_FOUND) -- Performing Test ICONV_HAVE_WERROR -- Performing Test ICONV_HAVE_WERROR - Success -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST -- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Success -- Found Iconv: /opt/pkg/lib/libiconv.dylib -- Found CURL: /opt/pkg/lib/libcurl.dylib (found version "8.13.0") -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of wchar_t -- Check size of wchar_t - done -- Check size of wint_t -- Check size of wint_t - done -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of intptr_t -- Check size of intptr_t - done -- Performing Test HAVE_MACRO_FUNCTION -- Performing Test HAVE_MACRO_FUNCTION - Success -- Performing Test HAVE_STRUCT_TM_TM_ZONE -- Performing Test HAVE_STRUCT_TM_TM_ZONE - Success -- Performing Test HAVE_DAYLIGHT -- Performing Test HAVE_DAYLIGHT - Success -- Performing Test HAVE_MACRO_FUNC -- Performing Test HAVE_MACRO_FUNC - Failed -- Bluez not found. -- BSD Bluetooth not found. -- Looking for IOBluetoothDeviceOpenRFCOMMChannelSync in /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOBluetooth.framework -- Looking for IOBluetoothDeviceOpenRFCOMMChannelSync in /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/System/Library/Frameworks/IOBluetooth.framework - not found -- OS X Bluetooth 2.0 not found. Bluetooth support disabled, please install libbluetooth-dev or equivalent to enable Bluetooth. -- libusb-1.0 not found. -- Performing Test IRDA_FOUND -- Performing Test IRDA_FOUND - Failed -- Performing Test COMPILER_HAS_O2 -- Performing Test COMPILER_HAS_O2 - Success -- Performing Test COMPILER_HAS_WALL -- Performing Test COMPILER_HAS_WALL - Success -- Performing Test COMPILER_HAS_WERROR_IMPLICIT_FUNCTION_DECLARATION -- Performing Test COMPILER_HAS_WERROR_IMPLICIT_FUNCTION_DECLARATION - Success -- Performing Test COMPILER_HAS_WNO_DEPRECATED_DECLARATIONS -- Performing Test COMPILER_HAS_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test COMPILER_HAS_WDECLARATION_AFTER_STATEMENT -- Performing Test COMPILER_HAS_WDECLARATION_AFTER_STATEMENT - Success -- Performing Test COMPILER_HAS_WPOINTER_ARITH -- Performing Test COMPILER_HAS_WPOINTER_ARITH - Success -- Performing Test COMPILER_HAS_WFLOAT_EQUAL -- Performing Test COMPILER_HAS_WFLOAT_EQUAL - Success -- Performing Test COMPILER_HAS_WBAD_FUNCTION_CAST -- Performing Test COMPILER_HAS_WBAD_FUNCTION_CAST - Success -- Performing Test COMPILER_HAS_WMISSING_FORMAT_ATTRIBUTE -- Performing Test COMPILER_HAS_WMISSING_FORMAT_ATTRIBUTE - Success -- Performing Test COMPILER_HAS_WMISSING_NORETURN -- Performing Test COMPILER_HAS_WMISSING_NORETURN - Success -- Performing Test COMPILER_HAS_WSHADOW -- Performing Test COMPILER_HAS_WSHADOW - Success -- Performing Test COMPILER_HAS_WSTRICT_PROTOTYPES -- Performing Test COMPILER_HAS_WSTRICT_PROTOTYPES - Success -- Performing Test COMPILER_HAS_WSIGN_COMPARE -- Performing Test COMPILER_HAS_WSIGN_COMPARE - Success -- Performing Test COMPILER_HAS_WUNREACHABLE_CODE -- Performing Test COMPILER_HAS_WUNREACHABLE_CODE - Success -- Performing Test COMPILER_HAS_WNO_ERROR_UNREACHABLE_CODE -- Performing Test COMPILER_HAS_WNO_ERROR_UNREACHABLE_CODE - Success -- Performing Test COMPILER_HAS_WNO_POINTER_SIGN -- Performing Test COMPILER_HAS_WNO_POINTER_SIGN - Success -- Performing Test COMPILER_HAS_WWRITE_STRINGS -- Performing Test COMPILER_HAS_WWRITE_STRINGS - Success -- Performing Test COMPILER_HAS_WREDUNDANT_DECLS -- Performing Test COMPILER_HAS_WREDUNDANT_DECLS - Success -- Performing Test COMPILER_HAS_WFORMAT_2 -- Performing Test COMPILER_HAS_WFORMAT_2 - Success -- Performing Test COMPILER_HAS_WNO_FORMAT_Y2K -- Performing Test COMPILER_HAS_WNO_FORMAT_Y2K - Success -- Performing Test COMPILER_HAS_WNO_FORMAT_NONLITERAL -- Performing Test COMPILER_HAS_WNO_FORMAT_NONLITERAL - Success -- Performing Test COMPILER_HAS_WEXTRA -- Performing Test COMPILER_HAS_WEXTRA - Success -- Performing Test COMPILER_HAS_WNO_UNUSED_PARAMETER -- Performing Test COMPILER_HAS_WNO_UNUSED_PARAMETER - Success -- Performing Test LINKER_HAS_WL___AS_NEEDED -- Performing Test LINKER_HAS_WL___AS_NEEDED - Failed -- Performing Test COMPILER_HAS_FPIC -- Performing Test COMPILER_HAS_FPIC - Success -- Nokia support enabled -- Nokia MBUS2 protocol enabled -- Nokia FBUS2 protocol enabled -- Nokia FBUS2DLR3 protocol enabled -- Nokia DKU2PHONET protocol enabled -- Nokia DKU2AT protocol enabled -- Nokia DKU5FBUS2 protocol enabled -- Nokia FBUS2PL2303 protocol enabled -- Nokia 3320 and compatible phones support enabled -- Nokia 650 and compatible phones support enabled -- Nokia 61xx and compatible phones support enabled -- Nokia 6510 and compatible phones support enabled -- Force using 6210 frames for calendar for DCT4 phones disabled -- Nokia 7110 and compatible phones support enabled -- Nokia 9210 and compatible phones support enabled -- Nokia 3650 and compatible phones support enabled -- AT support enabled -- AT protocol enabled -- AT phones support enabled -- Alcatel support enabled -- Alcatel protocol enabled -- Alcatel phones support enabled -- OBEX compatible phones support enabled -- Generic OBEX phones support enabled -- AT with OBEX phones support enabled -- Symbian phones support (S60) enabled -- Symbian phones support (gnapplet) enabled -- Gnapplet phones support enabled -- S60 phones support enabled -- Cell Broadcast messages support enabled -- Backup/Restore functions enabled /var/lock is not writable, skipping locking tests! -- Init script not being installed, install it by -DINSTALL_LSB_INIT=ON -- Udev rules not being installed, install it by -DINSTALL_UDEV_RULES=ON -- Configuring done (28.4s) -- Generating done (0.6s) -- Build files have been written to: /Users/pbulk/build/comms/gammu/work/gammu-1.41.0 => Rewrite cmake Dependencies files