=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder", "configure", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PHP_VERSION_REQD=84", "MYSQL_VERSION_REQD=mariadb114", "PKG_APACHE=apache24"] => Checksum BLAKE2s OK for FriendsOfCake-crud-14292374ccf1328f2d5db20897bd06f99ba4d938.tar.gz => Checksum SHA512 OK for FriendsOfCake-crud-14292374ccf1328f2d5db20897bd06f99ba4d938.tar.gz => Checksum BLAKE2s OK for ZoneMinder-1.38.3.tar.gz => Checksum SHA512 OK for ZoneMinder-1.38.3.tar.gz => Checksum BLAKE2s OK for ZoneMinder-CakePHP-Enum-Behavior-ea90c0cd7f6e24333a90885e563b5d30b793db29.tar.gz => Checksum SHA512 OK for ZoneMinder-CakePHP-Enum-Behavior-ea90c0cd7f6e24333a90885e563b5d30b793db29.tar.gz => Checksum BLAKE2s OK for ZoneMinder-RtspServer-a071599575f60a6f1f424e1f9b408dad7da734a8.tar.gz => Checksum SHA512 OK for ZoneMinder-RtspServer-a071599575f60a6f1f424e1f9b408dad7da734a8.tar.gz => Checksum BLAKE2s OK for chmike-CxxUrl-eaf46c0207df24853a238d4499e7f4426d9d234c.tar.gz => Checksum SHA512 OK for chmike-CxxUrl-eaf46c0207df24853a238d4499e7f4426d9d234c.tar.gz ===> Installing dependencies for zoneminder-1.38.3nb1 ========================================================================== The supported build options for zoneminder are: apache mariadb mysql nginx The currently selected options are: apache mariadb You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.zoneminder (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, zoneminder-1.38.3nb1. Their current value is shown below: * APACHE_GROUP = www * APACHE_USER = www * BDB185_DEFAULT = db4 * BDB_DEFAULT = db4 * JPEG_DEFAULT = libjpeg-turbo * MYSQL_VERSION_DEFAULT = mariadb114 * PKG_APACHE_DEFAULT = apache24 * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/local/etc/openssl/certs * SSLDIR = /opt/local/etc/openssl * SSLKEYS = /opt/local/etc/openssl/private * VARBASE = /var * ZM_HTTPD_CGIBIN = libexec/zoneminder/cgi-bin Based on these variables, the following variables have been set: * APACHE_PKG_PREFIX = ap24 * BDBBASE (defined, but empty) * BDB_LIBS = -ldb4 * BDB_TYPE = db4 * JPEGBASE (defined, but empty) * JPEG_TYPE = libjpeg-turbo * MYSQL_PKG_PREFIX = mariadb114 * MYSQL_VERSION = mariadb114 * PKG_APACHE = apache24 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 cmake>=0: found cmake-4.4.0 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.88.2 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency perl>=5.44.0: found perl-5.44.0 => Tool dependency pkgconf-[0-9]*: found pkgconf-3.0.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency gcc13>=13.4.0: found gcc13-13.4.0 => Full dependency p5-Archive-Zip-[0-9]*: found p5-Archive-Zip-1.68nb6 => Full dependency p5-Device-SerialPort-[0-9]*: found p5-Device-SerialPort-1.04nb18 => Full dependency p5-Class-Std-[0-9]*: found p5-Class-Std-0.0.13nb11 => Full dependency p5-Class-Std-Fast-[0-9]*: found p5-Class-Std-Fast-0.0.8nb4 => Full dependency p5-Data-Dump-[0-9]*: found p5-Data-Dump-1.25nb5 => Full dependency p5-Data-Entropy-[0-9]*: found p5-Data-Entropy-0.008nb1 => Full dependency p5-Data-Float-[0-9]*: found p5-Data-Float-0.015nb1 => Full dependency p5-Data-UUID-[0-9]*: found p5-Data-UUID-1.227nb3 => Full dependency p5-Date-Manip-[0-9]*: found p5-Date-Manip-6.99nb1 => Full dependency p5-File-Slurp-[0-9]*: found p5-File-Slurp-9999.32nb7 => Full dependency p5-PHP-Serialization-[0-9]*: found p5-PHP-Serialization-0.34nb16 => Full dependency p5-Sys-Mmap-[0-9]*: found p5-Sys-Mmap-0.20nb5 => Full dependency p5-MIME-Lite-[0-9]*: found p5-MIME-Lite-3.038nb1 => Full dependency p5-MIME-tools-[0-9]*: found p5-MIME-tools-5.515nb3 => Full dependency p5-IO-Socket-Multicast-[0-9]*: found p5-IO-Socket-Multicast-1.12nb16 => Full dependency p5-Net-SFTP-Foreign-[0-9]*: found p5-Net-SFTP-Foreign-1.93nb5 => Full dependency p5-SOAP-WSDL-[0-9]*: found p5-SOAP-WSDL-3.004nb4 => Full dependency p5-Crypt-Eksblowfish-[0-9]*: found p5-Crypt-Eksblowfish-0.009nb15 => Full dependency p5-Sys-MemInfo-[0-9]*: found p5-Sys-MemInfo-0.99nb5 => Full dependency p5-XML-Parser-[0-9]*: found p5-XML-Parser-2.59nb1 => Full dependency p5-Number-Bytes-Human-[0-9]*: found p5-Number-Bytes-Human-0.11nb4 => Full dependency p5-libwww-[0-9]*: found p5-libwww-6.83nb1 => Full dependency p5-DBD-MariaDB-[0-9]*: found p5-DBD-MariaDB-1.24 => Full dependency php84-pdo_mysql>=8.4.0: found php84-pdo_mysql-8.4.24nb3 => Full dependency php84-sysvsem>=8.4.0: found php84-sysvsem-8.4.24nb1 => Full dependency php84-gd>=8.4.0: found php84-gd-8.4.24nb13 => Full dependency php84-sockets>=8.4.0: found php84-sockets-8.4.24nb1 => Full dependency php84-intl>=8.4.0: found php84-intl-8.4.24nb17 => Full dependency php84-apcu-[0-9]*: found php84-apcu-5.1.28 => Full dependency ap24-php84-[0-9]*: found ap24-php84-8.4.24nb13 => Full dependency apache>=2.4.58nb1<2.5: found apache-2.4.68 => Full dependency bzip2>=1.0.3: found bzip2-1.0.8 => Full dependency curl>=8.20.0nb1: found curl-8.21.0 => Full dependency ffmpeg6>=6.1.4nb1: found ffmpeg6-6.1.6nb1 => Full dependency gcc13-libs>=13.4.0: found gcc13-libs-13.4.0 => Full dependency glib2>=2.84.4nb1: found glib2-2.88.2 => Full dependency libVNCServer>=0.9.15nb3: found libVNCServer-0.9.15nb3 => Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.2.0nb2 => Full dependency mp4v2>=2.0.0: found mp4v2-5.0.1nb1 => Full dependency mariadb-client>=11.4.0<11.5.0: found mariadb-client-11.4.12 => Full dependency openssl>=3.0: found openssl-3.6.3 => Full dependency pcre>=8.30nb1: found pcre-8.45 => Full dependency perl>=5.44.0<5.45.0: found perl-5.44.0 => Full dependency php84>=8.4.16nb1<8.5: found php84-8.4.24 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb6 => Build dependency xorgproto>=2016.1: found xorgproto-2025.1 => Full dependency apr>=1.5.0: found apr-1.7.6 => Full dependency apr-util>=1.2.8: found apr-util-1.6.3nb9 => Full dependency brotli>=1.0.1: found brotli-1.2.0 => Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb2 => Full dependency db4>=4.8.30: found db4-4.8.30nb1 => Full dependency expat>=1.95.7: found expat-2.8.2 => Full dependency fontconfig>=2.11.91: found fontconfig-2.18.2 => Full dependency freetype2>=2.13.0: found freetype2-2.14.3 => Full dependency gettext-lib>=0.22: found gettext-lib-1.0 => Full dependency libiconv>=1.9.1: found libiconv-1.19 => Full dependency libX11>=1.1: found libX11-1.8.13 => Full dependency libXau>=1.0: found libXau-1.0.12 => Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5 => Full dependency libffi>=1.20: found libffi-3.7.1 => Full dependency libgcrypt>=1.2.0: found libgcrypt-1.12.2 => Full dependency libgpg-error>=0.6: found libgpg-error-1.61 => Full dependency libidn2>=2.0.0: found libidn2-2.3.7 => Full dependency libogg>=1.1: found libogg-1.3.6 => Full dependency libssh2>=0.18: found libssh2-1.11.1 => Full dependency libtheora>=1.0alpha3: found libtheora-1.2.0nb1 => Full dependency libunistring>=0.9.3: found libunistring-1.4.2 => Full dependency libuuid>=2.18: found libuuid-2.40.2 => Full dependency libvdpau>=0.3: found libvdpau-1.4nb1 => Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7 => Full dependency libvpx>=1.14.0: found libvpx-1.16.0nb1 => Full dependency libxcb>=1.6: found libxcb-1.17.0 => Full dependency libxml2>=2.6.2: found libxml2-2.15.1 => Full dependency lzo>=2.01: found lzo-2.10 => Full dependency nghttp2>=1.0.0: found nghttp2-1.69.0 => Full dependency openldap-client>=2.4.6: found openldap-client-2.6.13 => Full dependency pcre2>=10.21: found pcre2-10.47 => Full dependency png>=1.2.4: found png-1.6.58nb1 => Full dependency x264>=20220601: found x264-20250608 => Full dependency xvidcore>=1.0.0: found xvidcore-1.3.7nb1 => Full dependency xz>=5.0.0: found xz-5.8.3 ===> Overriding tools for zoneminder-1.38.3nb1 ===> Extracting for zoneminder-1.38.3nb1 /bin/cp /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/files/httpd-zoneminder.conf /tmp/work/security/zoneminder/work/zoneminder-1.38.3/httpd-zoneminder.conf ===> Patching for zoneminder-1.38.3nb1 => Applying pkgsrc patches for zoneminder-1.38.3nb1 => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.5 2026/07/30 12:36:00 gdt Exp $ | |CMake will detect the MacOS 6-argument sendfile() support and configure |HAVE_SENDFILE, but the code itself doesn't support this interface. So don't |probe for HAVE_SENDFILE if we HAVE_SENDFILE6_SUPPORT. | |Just because librt doesn't exist does not mean that clock_gettime() doesn't |exist, so don't insist on librt being present. Fixes the build on MacOS. | |Let pkgsrc be responsible for zm.conf into examples, rather than overwriting |the existing configuration file. | |--- CMakeLists.txt.orig 2026-05-28 12:42:49.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 329. Hunk #2 succeeded at 648 (offset -95 lines). Hunk #3 succeeded at 936 (offset 95 lines). done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_ConfigData.pm.in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_ConfigData.pm.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-scripts_ZoneMinder_lib_ZoneMinder_ConfigData.pm.in,v 1.3 2026/07/30 12:36:00 gdt Exp $ | |Disable check-for-updates ("phone home") by default. pkgsrc doctrine is |that phone-home behavior, unless opted into by the user, is a bug. | |\todo Perhaps discuss with upstream, but this is a difference in |judgement rather than a clear bug. | |--- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in.orig 2018-12-08 14:22:36.000000000 +0000 |+++ scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in -------------------------- Patching file scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in using Plan A... Hunk #1 succeeded at 2676 (offset -17 lines). done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm,v 1.5 2026/07/30 12:36:00 gdt Exp $ | |Comment that appears no longer relevant, probably because upstream has |avoided the problem it was about. Deletion candidate. | | Perl doesn't really support "> /dev/null", so just capture into $output. | | % ktruss -i perl -e 'qx(does-not-exist >/dev/null 2>&1);'|egrep 'dup2.*2' | does-not-exist: not found | % ktruss -i perl -e 'qx(does-not-exist 2>&1);'|egrep 'dup2.*2' | 16954 1 perl dup2(0x1, 0x2) = 2 | | The problem is that, whilst Perl supports 2>&1 internally (and does not use | the shell at all) if there is no other redirection, it does not support file | redirection - it defers that (and therefore necessarily must also defer the | stderr redirection) to the shell. If the system's shell happens to report | "Not found" errors before redirection is processed (E.g. NetBSD shell) then | the stderr redirection is happening too late to be captured. | | That leads to unintended errors reported on stderr - primarily if sudo is not | installed on the system, or not in the $PATH. | |Use the -m parameter to su, as ZM_WEB_USER shouldn't require a login shell. | |\todo Assess and report upstream. | |--- scripts/ZoneMinder/lib/ZoneMinder/General.pm.orig 2023-02-23 21:44:01.000000000 +0000 |+++ scripts/ZoneMinder/lib/ZoneMinder/General.pm -------------------------- Patching file scripts/ZoneMinder/lib/ZoneMinder/General.pm using Plan A... Hunk #1 succeeded at 126 (offset 34 lines). done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_Memory_Shared.pm => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_Memory_Shared.pm Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-scripts_ZoneMinder_lib_ZoneMinder_Memory_Shared.pm,v 1.4 2026/07/30 12:36:00 gdt Exp $ | |Add a comment leftover from a previous debugging attempt. |This entire patchfile is a deletion candidate. | |Not submitted upstream because pkgsrc does not have a coherent story |about this proposed patch. | |--- scripts/ZoneMinder/lib/ZoneMinder/Memory/Shared.pm.orig 2023-02-23 21:44:01.000000000 +0000 |+++ scripts/ZoneMinder/lib/ZoneMinder/Memory/Shared.pm -------------------------- Patching file scripts/ZoneMinder/lib/ZoneMinder/Memory/Shared.pm using Plan A... Hunk #1 succeeded at 158. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_zm_in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_zm_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-scripts_zm_in,v 1.7 2026/07/30 12:36:00 gdt Exp $ | |/etc/rc.d/init.d/functions doesn't commonly exist. | |The LOCKFILE feature appears unused, and requires a /var/lock/subsys directory |we don't have. | |\todo Address with upstream. | |--- scripts/zm.in.orig 2016-02-03 18:40:30.000000000 +0000 |+++ scripts/zm.in -------------------------- Patching file scripts/zm.in using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 54. Hunk #3 succeeded at 66. Hunk #4 succeeded at 107. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_zmpkg_pl_in => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-scripts_zmpkg_pl_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-scripts_zmpkg_pl_in,v 1.3 2026/07/30 12:36:00 gdt Exp $ | |The systemd check in zmpkg.pl does not work, even on systems that use |systemd. It fails to start, eventually timing out, if there is any |parent process between zmpkg.pl and systemd or init - such as |/etc/init.d/zoneminder. But everything does seem to work ok from |systemd without this roundabout code anyway, so just inhibit it. | |Add sleep to avoid suspected race condition. | |\todo After catching up, actually debug and/or send upstream. | |--- scripts/zmpkg.pl.in.orig 2026-05-28 12:42:49.000000000 +0000 |+++ scripts/zmpkg.pl.in -------------------------- Patching file scripts/zmpkg.pl.in using Plan A... Hunk #1 succeeded at 146. Hunk #2 succeeded at 196. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__comms.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__comms.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__comms.h,v 1.1 2026/07/30 12:36:00 gdt Exp $ | |\todo Disable, reproduce error, and file upstream. | |--- src/zm_comms.h.orig 2026-07-26 00:41:38.146240669 +0000 |+++ src/zm_comms.h -------------------------- Patching file src/zm_comms.h using Plan A... Hunk #1 succeeded at 26. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__remote__camera__nvsocket.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__remote__camera__nvsocket.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__remote__camera__nvsocket.cpp,v 1.1 2026/07/30 12:36:00 gdt Exp $ | |Add missing include on NetBSD. | |\todo File upstream. | |--- src/zm_remote_camera_nvsocket.cpp.orig 2026-07-26 00:42:57.983592814 +0000 |+++ src/zm_remote_camera_nvsocket.cpp -------------------------- Patching file src/zm_remote_camera_nvsocket.cpp using Plan A... Hunk #1 succeeded at 32. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__rtp__source.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__rtp__source.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__rtp__source.cpp,v 1.7 2026/07/30 12:36:00 gdt Exp $ | |Fix type issue with tv_usec. | |\todo Send upstream. | |--- src/zm_rtp_source.cpp.orig 2026-05-28 12:42:49.000000000 +0000 |+++ src/zm_rtp_source.cpp -------------------------- Patching file src/zm_rtp_source.cpp using Plan A... Hunk #1 succeeded at 203. Hunk #2 succeeded at 213. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__utils.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm__utils.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__utils.cpp,v 1.5 2026/07/30 12:36:00 gdt Exp $ | |Fix time types. | |Hack around arm detection woes. | |\todo Send time upstream and fix arm problems. | |--- src/zm_utils.cpp.orig 2026-05-28 12:42:49.000000000 +0000 |+++ src/zm_utils.cpp -------------------------- Patching file src/zm_utils.cpp using Plan A... Hunk #1 succeeded at 215. Hunk #2 succeeded at 264. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm_signal_cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-src_zm_signal_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm_signal_cpp,v 1.5 2026/07/30 12:36:00 gdt Exp $ | |Don't assume machine-dependent IP register details are available for any |platform except Linux. Only Linux is sure to have this style of mcontext_t. |Instead, add an #else for NetBSD. | |\todo File upstream. | |--- src/zm_signal.cpp.orig 2026-05-28 12:42:49.000000000 +0000 |+++ src/zm_signal.cpp -------------------------- Patching file src/zm_signal.cpp using Plan A... Hunk #1 succeeded at 118. Hunk #2 succeeded at 128. done => Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-web_includes_database.php => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/security/zoneminder/patches/patch-web_includes_database.php Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-web_includes_database.php,v 1.1 2026/07/30 12:36:00 gdt Exp $ | |In order to function in the presence of the latest p5-DBD-msyql -- |which refuse to work with MariaDB, we need to have the user patch the |ZM_DB_TYPE to MariaDB so that the DBD::MariaDB is used. However, in |the land of PHP, there is only php-pdo_mysql, which does both. Thus, |point MariaDB-using systems at it. | |https://github.com/ZoneMinder/zoneminder/issues/5008 | |--- web/includes/database.php.orig 2026-05-28 08:42:49.000000000 -0400 |+++ web/includes/database.php 2026-07-28 18:39:21.597037296 -0400 -------------------------- Patching file web/includes/database.php using Plan A... Hunk #1 succeeded at 31. done ===> Creating toolchain wrappers for zoneminder-1.38.3nb1 /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 > /tmp/work/security/zoneminder/work/.cwrapper/specs.pkgsrc /usr/bin/mkdir -p /tmp/work/security/zoneminder/work/.buildlink/bin && /usr/bin/ln -fs ../sbin/apxs /tmp/work/security/zoneminder/work/.buildlink/bin/apxs /usr/bin/mkdir -p /tmp/work/security/zoneminder/work/.buildlink/bin && /usr/bin/ln -fs apr-1-config /tmp/work/security/zoneminder/work/.buildlink/bin/apr-config /usr/bin/mkdir -p /tmp/work/security/zoneminder/work/.buildlink/bin && /usr/bin/ln -fs apu-1-config /tmp/work/security/zoneminder/work/.buildlink/bin/apu-config ===> Configuring for zoneminder-1.38.3nb1 => Setting paths in Apache configuration file. => Adjusting paths in scripts. /usr/bin/find /tmp/work/security/zoneminder/work/zoneminder-1.38.3 -name "*.pm*.orig" -type f | /usr/bin/xargs /usr/bin/rm -f -- The C compiler identification is GNU 13.4.0 -- The CXX compiler identification is GNU 13.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/work/security/zoneminder/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: /tmp/work/security/zoneminder/work/.cwrapper/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detected compiler: /tmp/work/security/zoneminder/work/.cwrapper/bin/gcc -- Performing Test HAVE_SENDFILE4_SUPPORT -- Performing Test HAVE_SENDFILE4_SUPPORT - Failed -- Performing Test HAVE_SENDFILE7_SUPPORT -- Performing Test HAVE_SENDFILE7_SUPPORT - Failed -- Performing Test HAVE_SENDFILE6_SUPPORT -- Performing Test HAVE_SENDFILE6_SUPPORT - Failed -- Building man pages: Yes (default) -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for backtrace_symbols -- Looking for backtrace_symbols - found -- Could NOT find LibUnwind (missing: LIBUNWIND_LIBRARY LIBUNWIND_INCLUDE_DIR) -- Looking for ucontext.h -- Looking for ucontext.h - found -- Looking for sys/sendfile.h -- Looking for sys/sendfile.h - found -- Looking for sys/syscall.h -- Looking for sys/syscall.h - found -- Looking for syscall -- Looking for syscall - found -- Looking for sendfile -- Looking for sendfile - not found -- Looking for posix_memalign -- Looking for posix_memalign - found -- 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 siginfo_t -- Check size of siginfo_t - done -- Check size of ucontext_t -- Check size of ucontext_t - failed -- Found ZLIB: /tmp/work/security/zoneminder/work/.buildlink/lib/libz.so (found version "1.3.1") -- Looking for zlib.h -- Looking for zlib.h - found -- Found CURL: /tmp/work/security/zoneminder/work/.buildlink/lib/libcurl.so (found version "8.21.0") -- Looking for curl/curl.h -- Looking for curl/curl.h - found -- Found JPEG: /tmp/work/security/zoneminder/work/.buildlink/lib/libjpeg.so (found version "80") -- Looking for include files stdio.h, jpeglib.h -- Looking for include files stdio.h, jpeglib.h - found -- Found OpenSSL: /tmp/work/security/zoneminder/work/.buildlink/lib/libcrypto.so (found version "3.6.3") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pcre2.h -- Looking for pcre2.h - found -- Could NOT find MOSQUITTO (missing: MOSQUITTO_LIBRARY MOSQUITTO_INCLUDE_DIR) -- Could NOT find MOSQUITTOPP (missing: MOSQUITTOPP_LIBRARY MOSQUITTOPP_INCLUDE_DIR) -- Looking for mysql.h -- Looking for mysql.h - found -- Found PkgConfig: /tmp/work/security/zoneminder/work/.tools/bin/pkg-config (found version "3.0.4") -- Checking for module 'libavutil' -- Found libavutil, version 58.29.100 -- Checking for module 'libswresample' -- Found libswresample, version 4.12.100 -- Checking for module 'libswscale' -- Found libswscale, version 7.5.100 -- Checking for module 'libavcodec' -- Found libavcodec, version 60.31.102 -- Checking for module 'libavformat' -- Found libavformat, version 60.16.101 -- Checking for module 'libavfilter' -- Found libavfilter, version 9.12.100 -- Checking for module 'libavdevice' -- Found libavdevice, version 60.3.100 -- Found FFMPEG: /opt/local/include/ffmpeg6 (found suitable version "58.29.100", minimum required is "55.34.100") found components: avcodec avdevice avfilter avformat avutil swresample swscale -- Looking for libavutil/hwcontext.h -- Looking for libavutil/hwcontext.h - found -- Looking for rfb/rfb.h -- Looking for rfb/rfb.h - found -- Could NOT find GSOAP (missing: GSOAP_CXX_LIBRARIES GSOAP_INCLUDE_DIR GSOAP_WSDL2H GSOAP_SOAPCPP2) (Required is at least version "2.8.91") -- Could NOT find V4L2 (missing: V4L2_VIDEODEV2_INCLUDE_DIR) CMake Warning (author) at CMakeLists.txt:609 (message): Video 4 Linux headers weren't found - Analog and USB camera support will not be available This warning is for project developers. Use -Wno-author to suppress it. -- Could NOT find nlohmann_json (missing: nlohmann_json_DIR) CMake Warning (author) at CMakeLists.txt:623 (message): nlohmann_json headers weren't found - AI results will not be available This warning is for project developers. Use -Wno-author to suppress it. -- Found Perl: /opt/local/bin/perl (found version "5.44.0") -- Checking for perl module Sys::Syslog -- Checking for perl module Sys::Syslog - found at /opt/local/lib/perl5/5.44.0/x86_64-solaris-thread-multi-64/Sys/Syslog.pm -- Checking for perl module DBI -- Checking for perl module DBI - found at /opt/local/lib/perl5/vendor_perl/5.44.0/x86_64-solaris-thread-multi-64/DBI.pm -- Checking for perl module DBD::MariaDB -- Checking for perl module DBD::MariaDB - found at /opt/local/lib/perl5/vendor_perl/5.44.0/x86_64-solaris-thread-multi-64/DBD/MariaDB.pm -- Checking for perl module Getopt::Long -- Checking for perl module Getopt::Long - found at /opt/local/lib/perl5/5.44.0/Getopt/Long.pm -- Checking for perl module Time::HiRes -- Checking for perl module Time::HiRes - found at /opt/local/lib/perl5/5.44.0/x86_64-solaris-thread-multi-64/Time/HiRes.pm -- Checking for perl module Date::Manip -- Checking for perl module Date::Manip - found at /opt/local/lib/perl5/vendor_perl/5.44.0/Date/Manip.pm -- Checking for perl module LWP::UserAgent -- Checking for perl module LWP::UserAgent - found at /opt/local/lib/perl5/vendor_perl/5.44.0/LWP/UserAgent.pm -- Checking for perl module ExtUtils::MakeMaker -- Checking for perl module ExtUtils::MakeMaker - found at /opt/local/lib/perl5/5.44.0/ExtUtils/MakeMaker.pm -- Checking for perl module Sys::Mmap -- Checking for perl module Sys::Mmap - found at /opt/local/lib/perl5/vendor_perl/5.44.0/x86_64-solaris-thread-multi-64/Sys/Mmap.pm -- Found PerlModules: TRUE -- Using web user: www -- Using web group: www CMake Warning at CMakeLists.txt:718 (message): Unable to find a compatible arp-scan binary. Monitor probe will be less powerful. CMake Warning at CMakeLists.txt:751 (message): Unable to find a compatible ip binary. CMake Warning (deprecated) at dep/jwt-cpp/CMakeLists.txt:4 (cmake_policy): The OLD behavior for policy CMP0135 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. This warning is for project developers. Use -Wno-author or -Wno-deprecated to suppress it. -- Found OpenSSL: /tmp/work/security/zoneminder/work/.buildlink/lib/libcrypto.so (found suitable version "3.6.3", minimum required is "1.0.1") -- Could NOT find nlohmann_json (missing: nlohmann_json_DIR) -- jwt-cpp: using FetchContent for nlohmann json CMake Warning at /opt/local/share/cmake-4.4/Modules/FetchContent.cmake:2126 (message): FETCHCONTENT_FULLY_DISCONNECTED is set to true, which requires the source directory for dependency nlohmann_json to already be populated. This generally means it must not be set to true the first time CMake is run in a build directory. The following source directory should already be populated, but it doesn't exist: /tmp/work/security/zoneminder/work/zoneminder-1.38.3/cmake-pkgsrc-build/_deps/nlohmann_json-src Policy CMP0170 controls enforcement of this requirement. Call Stack (most recent call first): /opt/local/share/cmake-4.4/Modules/FetchContent.cmake:2401 (__FetchContent_Populate) dep/jwt-cpp/CMakeLists.txt:78 (FetchContent_MakeAvailable) -- The ASM compiler identification is GNU -- Found assembler: /tmp/work/security/zoneminder/work/.cwrapper/bin/gcc CMake Warning (policy) at dep/CxxUrl/CMakeLists.txt:13 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'ENABLE_INSTALL'. This warning is for project developers. Use -Wno-author or -Wno-policy to suppress it. INFO Expanding CMAKE_PREFIX_PATH to include package build dir Building unit tests: No (default) -- Optional libraries found: zlib cURL OpenSSL PCRE libVNC -- Optional libraries not found: libunwind Mosquitto Mosquittopp libVLC gsoap -- Enabled crypto backend: openssl -- Enabled JWT backend: jwt_cpp -- Running ZoneMinder configuration generator Generating '/tmp/work/security/zoneminder/work/zoneminder-1.38.3/cmake-pkgsrc-build/zm_config_defines.h' Updating '/tmp/work/security/zoneminder/work/zoneminder-1.38.3/cmake-pkgsrc-build/db/zm_create.sql' -- ZoneMinder configuration generator completed successfully -- Configuring done (12.4s) -- Generating done (0.1s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: AVCODEC_INCLUDE_DIR AVCODEC_LIBRARIES AVDEVICE_INCLUDE_DIR AVDEVICE_LIBRARIES AVFORMAT_INCLUDE_DIR AVFORMAT_LIBRARIES AVUTIL_INCLUDE_DIR AVUTIL_LIBRARIES GCRYPT_LIBRARIES GNUTLS_LIBRARIES SWRESAMPLE_INCLUDE_DIR SWRESAMPLE_LIBRARIES SWSCALE_INCLUDE_DIR SWSCALE_LIBRARIES -- Build files have been written to: /tmp/work/security/zoneminder/work/zoneminder-1.38.3/cmake-pkgsrc-build