=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for FriendsOfCake-crud-v3.0.10.tar.gz => Checksum SHA512 OK for FriendsOfCake-crud-v3.0.10.tar.gz => Checksum BLAKE2s OK for ZoneMinder-1.30.5.tar.gz => Checksum SHA512 OK for ZoneMinder-1.30.5.tar.gz ===> Installing dependencies for zoneminder-1.30.5nb3 ========================================================================== The supported build options for zoneminder are: apache The currently selected options are: apache 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.30.5nb3. Their current value is shown below: * APACHE_GROUP = www * APACHE_USER = www * JPEG_DEFAULT = jpeg * KRB5_DEFAULT = heimdal * MYSQL_VERSION_DEFAULT = mariadb106 * PKG_APACHE_DEFAULT = apache24 * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /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 * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal * MYSQL_VERSION = mariadb106 * 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.4 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1 => Tool dependency gmake>=3.81: found gmake-4.4 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.34 => Tool dependency perl>=5.6.0: found perl-5.36.0 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.35: found x11-links-1.35 => Build dependency apache>=2.4.54nb1<2.5: found apache-2.4.54nb3 => Full dependency p5-Archive-Zip-[0-9]*: found p5-Archive-Zip-1.68nb2 => Full dependency p5-Date-Manip-[0-9]*: found p5-Date-Manip-6.88 => Full dependency p5-Device-SerialPort-[0-9]*: found p5-Device-SerialPort-1.04nb14 => Full dependency p5-DBD-mysql-[0-9]*: found p5-DBD-mysql-4.050nb5 => Full dependency p5-MIME-Lite-[0-9]*: found p5-MIME-Lite-3.033nb1 => Full dependency p5-MIME-tools-[0-9]*: found p5-MIME-tools-5.510 => Full dependency p5-Net-SFTP-Foreign-[0-9]*: found p5-Net-SFTP-Foreign-1.93nb1 => Full dependency p5-PHP-Serialization-[0-9]*: found p5-PHP-Serialization-0.34nb12 => Full dependency p5-Sys-Mmap-[0-9]*: found p5-Sys-Mmap-0.20nb1 => Full dependency p5-libwww-[0-9]*: found p5-libwww-6.61nb1 => Full dependency ap24-php74-[0-9]*: found ap24-php74-7.4.33nb9 => Full dependency php74-gd-[0-9]*: found php74-gd-7.4.33nb3 => Full dependency php74-pdo_mysql-[0-9]*: found php74-pdo_mysql-7.4.33nb2 => Full dependency php74-sockets-[0-9]*: found php74-sockets-7.4.33 => Full dependency ffmpeg2>=2.8.20nb1: found ffmpeg2-2.8.20nb6 => Full dependency jpeg>=9: found jpeg-9e => Full dependency mariadb-client>=10.6.8nb1<10.7.0: found mariadb-client-10.6.11 => Full dependency glib2>=2.70.2: found glib2-2.74.4 => Full dependency pcre>=8.30nb1: found pcre-8.45 => Full dependency curl>=7.86.0nb1: found curl-7.87.0 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for zoneminder-1.30.5nb3 ===> Extracting for zoneminder-1.30.5nb3 /bin/cp /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/files/zoneminder.conf /tmp/security/zoneminder/work/zoneminder-1.30.5/zoneminder.conf mv -f /tmp/security/zoneminder/work/zoneminder-1.30.5/version /tmp/security/zoneminder/work/zoneminder-1.30.5/version.txt ===> Patching for zoneminder-1.30.5nb3 => Applying pkgsrc patches for zoneminder-1.30.5nb3 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.1 2022/09/27 01:20:39 gdt Exp $ | |Don't have a file called "version", to avoid conflict with C++20 . | |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 2019-02-23 04:38:47.000000000 +1300 |+++ CMakeLists.txt 2022-01-19 22:51:36.000000000 +1300 -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 4. Hunk #2 succeeded at 226. Hunk #3 succeeded at 239. Hunk #4 succeeded at 735. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-cmake_Modules_Pod2Man.cmake => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-cmake_Modules_Pod2Man.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_Modules_Pod2Man.cmake,v 1.1 2022/09/27 01:20:39 gdt Exp $ | |Change man install path to pkgsrc norms. | |Not reported upstream until we are caught up. Then, the bug is not |the value, but that it isn't configurable via a cmake command-line |argument. | |--- cmake/Modules/Pod2Man.cmake.orig 2019-02-22 15:38:47.000000000 +0000 |+++ cmake/Modules/Pod2Man.cmake -------------------------- Patching file cmake/Modules/Pod2Man.cmake using Plan A... Hunk #1 succeeded at 58. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_ConfigData.pm.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.1 2022/09/27 01:20:39 gdt Exp $ | |Inhibit a couple of "phone home" options that are enabled by default. These |should be opt-in rather than opt-out. | |The ConfigData.pm module determines what the default setting is for new |options during an upgrade as well as on an initial installation. | |--- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in.orig 2022-01-23 22:09:24.000000000 +1300 |+++ scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in 2022-01-23 22:11:28.000000000 +1300 -------------------------- Patching file scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in using Plan A... Hunk #1 succeeded at 2787. Hunk #2 succeeded at 2805. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.3 2022/09/27 01:20:39 gdt Exp $ | |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. | |--- scripts/ZoneMinder/lib/ZoneMinder/General.pm.orig 2019-02-22 15:38:47.000000000 +0000 |+++ scripts/ZoneMinder/lib/ZoneMinder/General.pm -------------------------- Patching file scripts/ZoneMinder/lib/ZoneMinder/General.pm using Plan A... Hunk #1 succeeded at 129. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_Memory_Shared.pm => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.2 2022/09/27 01:20:39 gdt Exp $ | |Adjust for (more) modern perl. | |Not submitted upstream because pkgsrc is woefully out of date. | |--- scripts/ZoneMinder/lib/ZoneMinder/Memory/Shared.pm.orig 2016-02-03 18:40:30.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 /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-scripts_zm_in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.5 2022/09/27 01:20:39 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. | |--- 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 /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-scripts_zmpkg_pl_in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.1 2022/09/27 01:20:39 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. | |--- scripts/zmpkg.pl.in.orig 2021-09-26 20:28:10.324733138 +1300 |+++ scripts/zmpkg.pl.in 2021-09-26 20:28:30.414613144 +1300 -------------------------- Patching file scripts/zmpkg.pl.in using Plan A... Hunk #1 succeeded at 168. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__event.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__event.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__event.cpp,v 1.4 2022/09/27 01:20:39 gdt Exp $ | |zoneminder uses %ld for time_t, which is troublesome on NetBSD arm and |presumably i386. (Note that there are multiple patch files for the |same issue.) | |Not yet sent upstream -- needs update to latest release first, where |it might be fixed, or the patch might simply need to be rebased. |Also, this fix is expedient and probably a better fix is appropriate. | |Avoid sendfile code when sendfile doesn't exist. | |--- src/zm_event.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zm_event.cpp -------------------------- Patching file src/zm_event.cpp using Plan A... Hunk #1 succeeded at 36. Hunk #2 succeeded at 82. Hunk #3 succeeded at 183. Hunk #4 succeeded at 196. Hunk #5 succeeded at 527. Hunk #6 succeeded at 578. Hunk #7 succeeded at 666. Hunk #8 succeeded at 1224. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__monitor.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__monitor.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__monitor.cpp,v 1.3 2022/09/27 01:20:39 gdt Exp $ | |The shmat() error return is (apparently) -1 as a pointer. Some compilers |(E.g. clang on MacOS) refuse to consider testing if a pointer is less than |zero as legal code. Fix compilation by converting to explicit tests for |particular values that might make sense. | |Avoid type error (suseconds_t is not long). To be addressed upstream once caught up. | |--- src/zm_monitor.cpp.orig 2019-02-23 04:38:47.000000000 +1300 |+++ src/zm_monitor.cpp 2022-01-19 21:56:47.000000000 +1300 -------------------------- Patching file src/zm_monitor.cpp using Plan A... Hunk #1 succeeded at 160. Hunk #2 succeeded at 194. Hunk #3 succeeded at 3175. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__rtp__ctrl.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__rtp__ctrl.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__rtp__ctrl.h,v 1.2 2022/09/27 01:20:39 gdt Exp $ | |Work around: | zm_rtp_ctrl.h:128:31: error: flexible array member 'RtpCtrlThread::RtcpPacket::::Bye::srcN' in an otherwise empty 'struct RtpCtrlThread::RtcpPacket::::Bye' | |Not reported upstream because pkgsrc is out of date; to be done if this is not resolved by updating. | |--- src/zm_rtp_ctrl.h.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zm_rtp_ctrl.h -------------------------- Patching file src/zm_rtp_ctrl.h using Plan A... Hunk #1 succeeded at 125. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__rtp__source.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.4 2022/09/27 01:20:39 gdt Exp $ | |Fix type issue with tv_sec; see earlier patches. | |--- src/zm_rtp_source.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zm_rtp_source.cpp -------------------------- Patching file src/zm_rtp_source.cpp using Plan A... Hunk #1 succeeded at 197. Hunk #2 succeeded at 207. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__thread.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__thread.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__thread.h,v 1.6 2022/09/27 01:20:39 gdt Exp $ | |Fix build with Clang. | |pthread_t is opaque, and under NetBSD is a pointer. It's being abused here, |but the value is only used for logging, and casting pthread_self() is more |portable than syscall(SYS_gettid). | |\todo Fix correctly upstream. | |--- src/zm_thread.h.orig 2019-02-23 04:38:47.000000000 +1300 |+++ src/zm_thread.h 2022-01-18 00:14:30.000000000 +1300 -------------------------- Patching file src/zm_thread.h using Plan A... Hunk #1 succeeded at 22. Hunk #2 succeeded at 56. Hunk #3 succeeded at 219. Hunk #4 succeeded at 232. Hunk #5 succeeded at 271. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__timer.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__timer.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__timer.h,v 1.5 2022/09/27 01:20:39 gdt Exp $ | |Fix build with Clang. | |pthread_t is opaque, and under NetBSD is a pointer. It's being abused here, |but the value is only used for logging, and casting pthread_self() is more |portable than syscall(SYS_gettid). | |--- src/zm_timer.h.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zm_timer.h -------------------------- Patching file src/zm_timer.h using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 53. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__utils.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.3 2022/09/27 01:20:39 gdt Exp $ | |\todo Explain | |--- src/zm_utils.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zm_utils.cpp -------------------------- Patching file src/zm_utils.cpp using Plan A... Hunk #1 succeeded at 76. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__utils.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm__utils.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__utils.h,v 1.4 2022/09/27 01:20:39 gdt Exp $ | |\todo Explain | |--- src/zm_utils.h.orig 2015-04-01 17:20:39.840273017 +1300 |+++ src/zm_utils.h 2015-04-01 17:28:57.376293647 +1300 -------------------------- Patching file src/zm_utils.h using Plan A... Hunk #1 succeeded at 33. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_comms_cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_comms_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm_comms_cpp,v 1.4 2022/09/27 01:20:39 gdt Exp $ | |Don't attempt to include headers that don't exist. | |--- src/zm_comms.cpp.orig 2016-02-03 18:40:30.000000000 +0000 |+++ src/zm_comms.cpp -------------------------- Patching file src/zm_comms.cpp using Plan A... Hunk #1 succeeded at 28. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_comms_h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.5 2022/01/12 11:53:26 dsainty Exp $ | |extern "C" system headers. | |Include missing system headers for NetBSD. | |To fix Linux readv/writev, back-port: |https://github.com/ZoneMinder/zoneminder/commit/417421b1d869d1b71c8ec1a1e3b082fcede6ce58#diff-484f666f58ec13f38fa402143f2f6ad8e63a013909d3941ffbb3d66745b20c8d | |--- src/zm_comms.h.orig 2016-02-03 18:40:30.000000000 +0000 |+++ src/zm_comms.h -------------------------- Patching file src/zm_comms.h using Plan A... Hunk #1 succeeded at 22. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_logger_cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_logger_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm_logger_cpp,v 1.7 2022/09/27 01:20:39 gdt Exp $ | |Use libgen.h for basename. | |Kludge around const for basename. | |If the system has syscall() but not SYS_gettid [E.g. NetBSD], don't attempt |to use SYS_gettid. | |Fix time types (sizes). | |--- src/zm_logger.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zm_logger.cpp -------------------------- Patching file src/zm_logger.cpp using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 517. Hunk #3 succeeded at 534. Hunk #4 succeeded at 618. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_remote_camera_h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_remote_camera_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm_remote_camera_h,v 1.4 2015/04/05 08:51:08 dsainty Exp $ | |Declare sockaddr_in. | |--- src/zm_remote_camera.h.orig 2015-02-05 15:52:37.000000000 +1300 |+++ src/zm_remote_camera.h 2015-04-01 17:56:10.736361360 +1300 -------------------------- Patching file src/zm_remote_camera.h using Plan A... Hunk #1 succeeded at 23. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_signal_cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.3 2022/09/27 01:20:39 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. | |Resolves build on systems that have ucontext_t but an mcontext_t that |doesn't look like Linux. | |--- src/zm_signal.cpp.orig 2019-02-23 04:38:47.000000000 +1300 |+++ src/zm_signal.cpp 2022-01-18 00:42:50.000000000 +1300 -------------------------- Patching file src/zm_signal.cpp using Plan A... Hunk #1 succeeded at 66. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_thread_cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zm_thread_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm_thread_cpp,v 1.4 2022/09/27 01:20:39 gdt Exp $ | |pthread_mutex_timedlock() is not available on NetBSD 5.0, and not required |in ZoneMinder. | |Work around varying notion of an undefined mpid on pthread/not. | |--- src/zm_thread.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zm_thread.cpp -------------------------- Patching file src/zm_thread.cpp using Plan A... Hunk #1 succeeded at 72. Hunk #2 succeeded at 86. Hunk #3 succeeded at 234. Hunk #4 succeeded at 315. Hunk #5 succeeded at 344. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zmc_cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zmc_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zmc_cpp,v 1.4 2022/09/27 01:20:39 gdt Exp $ | |Use a more appropriate initialisation for a long, and use the definition out |of , for portability. | |--- src/zmc.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zmc.cpp -------------------------- Patching file src/zmc.cpp using Plan A... Hunk #1 succeeded at 55. Hunk #2 succeeded at 280. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zmf.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zmf.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zmf.cpp,v 1.4 2022/09/27 01:20:39 gdt Exp $ | |\todo Explain | |--- src/zmf.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zmf.cpp -------------------------- Patching file src/zmf.cpp using Plan A... Hunk #1 succeeded at 331. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zmu.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-src_zmu.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zmu.cpp,v 1.4 2022/09/27 01:20:39 gdt Exp $ | |time types | |--- src/zmu.cpp.orig 2019-02-22 15:38:47.000000000 +0000 |+++ src/zmu.cpp -------------------------- Patching file src/zmu.cpp using Plan A... Hunk #1 succeeded at 519. Hunk #2 succeeded at 792. Hunk #3 succeeded at 809. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-web_ajax_stream_php => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder/patches/patch-web_ajax_stream_php Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-web_ajax_stream_php,v 1.2 2013/03/24 16:47:47 joerg Exp $ | |http://www.zoneminder.com/forums/viewtopic.php?t=13322 | |--- web/ajax/stream.php.orig 2011-06-27 11:14:00.000000000 +0000 |+++ web/ajax/stream.php -------------------------- Patching file web/ajax/stream.php using Plan A... Hunk #1 succeeded at 64 (offset 4 lines). done ===> Creating toolchain wrappers for zoneminder-1.30.5nb3 /bin/mkdir -p /tmp/security/zoneminder/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /tmp/security/zoneminder/work/.buildlink/bin/apxs /bin/mkdir -p /tmp/security/zoneminder/work/.buildlink/bin && /bin/ln -fs apr-1-config /tmp/security/zoneminder/work/.buildlink/bin/apr-config /bin/mkdir -p /tmp/security/zoneminder/work/.buildlink/bin && /bin/ln -fs apu-1-config /tmp/security/zoneminder/work/.buildlink/bin/apu-config ===> Configuring for zoneminder-1.30.5nb3 => Adjusting default paths in configuration. => Fixing ZoneMinder configuration file for Apache. => Adjusting paths in scripts. => Adjusting systemd pkexec perl. /usr/bin/find /tmp/security/zoneminder/work/zoneminder-1.30.5 -name "*.pm*.orig" -type f | /usr/bin/xargs /bin/rm -f => Generating pkg-config file for builtin expat package. => Generating pkg-config files for builtin xz package. => Replacing Perl interpreter in scripts/zmaudit.pl.in scripts/zmcamtool.pl.in scripts/zmcontrol.pl.in scripts/zmdc.pl.in scripts/zmfilter.pl.in scripts/zmpkg.pl.in scripts/zmtelemetry.pl.in scripts/zmtrack.pl.in scripts/zmtrigger.pl.in scripts/zmupdate.pl.in scripts/zmvideo.pl.in scripts/zmwatch.pl.in scripts/zmx10.pl.in onvif/scripts/zmonvif-probe.pl zmconfgen.pl.in. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/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/security/zoneminder/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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 -- Looking for libv4l1-videodev.h -- Looking for libv4l1-videodev.h - not found -- Looking for linux/videodev.h -- Looking for linux/videodev.h - not found -- Looking for linux/videodev2.h -- Looking for linux/videodev2.h - not found -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for backtrace -- Looking for backtrace - not found -- Looking for backtrace_symbols -- Looking for backtrace_symbols - not found -- Looking for ucontext.h -- Looking for ucontext.h - found -- Looking for sys/sendfile.h -- Looking for sys/sendfile.h - not 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 - done -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") -- Looking for zlib.h -- Looking for zlib.h - found -- Found CURL: /usr/pkg/lib/libcurl.so (found version "7.87.0") -- Looking for curl/curl.h -- Looking for curl/curl.h - found -- Found JPEG: /usr/pkg/lib/libjpeg.so (found version "90") -- Looking for include files stdio.h, jpeglib.h -- Looking for include files stdio.h, jpeglib.h - found -- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1d") -- Looking for openssl/md5.h -- Looking for openssl/md5.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pcre.h -- Looking for pcre.h - found -- Looking for mysql/mysql.h -- Looking for mysql/mysql.h - found -- Looking for libavformat/avformat.h -- Looking for libavformat/avformat.h - found -- Looking for libavcodec/avcodec.h -- Looking for libavcodec/avcodec.h - found -- Looking for libavdevice/avdevice.h -- Looking for libavdevice/avdevice.h - found -- Looking for libavutil/avutil.h -- Looking for libavutil/avutil.h - found -- Looking for libavutil/mathematics.h -- Looking for libavutil/mathematics.h - found -- Looking for libswscale/swscale.h -- Looking for libswscale/swscale.h - found CMake Warning (dev) at CMakeLists.txt:553 (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-dev to suppress it. -- Checking prototype MD5 for HAVE_MD5_OPENSSL - True -- Found Perl: /tmp/security/zoneminder/work/.tools/bin/perl (found version "5.36.0") -- Checking for perl module Sys::Syslog -- Checking for perl module Sys::Syslog - found at /usr/pkg/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/Sys/Syslog.pm -- Checking for perl module DBI -- Checking for perl module DBI - found at /usr/pkg/lib/perl5/vendor_perl/5.36.0/x86_64-netbsd-thread-multi/DBI.pm -- Checking for perl module DBD::mysql -- Checking for perl module DBD::mysql - found at /usr/pkg/lib/perl5/vendor_perl/5.36.0/x86_64-netbsd-thread-multi/DBD/mysql.pm -- Checking for perl module Getopt::Long -- Checking for perl module Getopt::Long - found at /usr/pkg/lib/perl5/5.36.0/Getopt/Long.pm -- Checking for perl module Time::HiRes -- Checking for perl module Time::HiRes - found at /usr/pkg/lib/perl5/5.36.0/x86_64-netbsd-thread-multi/Time/HiRes.pm -- Checking for perl module Date::Manip -- Checking for perl module Date::Manip - found at /usr/pkg/lib/perl5/vendor_perl/5.36.0/Date/Manip.pm -- Checking for perl module LWP::UserAgent -- Checking for perl module LWP::UserAgent - failed -- Checking for perl module ExtUtils::MakeMaker -- Checking for perl module ExtUtils::MakeMaker - found at /usr/pkg/lib/perl5/5.36.0/ExtUtils/MakeMaker.pm -- Checking for perl module Sys::Mmap -- Checking for perl module Sys::Mmap - found at /usr/pkg/lib/perl5/vendor_perl/5.36.0/x86_64-netbsd-thread-multi/Sys/Mmap.pm -- Could NOT find PerlModules (missing: PERLMODULES_LWP_USERAGENT_MODULE) CMake Error at CMakeLists.txt:632 (message): Not all required perl modules were found on your system -- Configuring incomplete, errors occurred! See also "/tmp/security/zoneminder/work/zoneminder-1.30.5/CMakeFiles/CMakeOutput.log". See also "/tmp/security/zoneminder/work/zoneminder-1.30.5/CMakeFiles/CMakeError.log". *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/zoneminder