=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for ZoneMinder-1.29.0.tar.gz => Checksum SHA512 OK for ZoneMinder-1.29.0.tar.gz ===> Installing dependencies for zoneminder-1.29.0nb10 ========================================================================== 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.29.0nb10. Their current value is shown below: * APACHE_GROUP = www * APACHE_USER = www * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * JPEG_DEFAULT = jpeg * MYSQL_VERSION_DEFAULT = mariadb106 * PKG_APACHE_DEFAULT = apache24 * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/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 = jpeg * MYSQL_PKG_PREFIX = mariadb106 * 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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency automake>=1.9: found automake-1.16.5nb2 => Tool dependency autoconf>=2.58: found autoconf-2.71nb2 => Tool dependency gmake>=3.81: found gmake-4.3nb4 => Tool dependency gtar-base>=1.13.25: found gtar-base-1.34 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency perl>=5.36.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 p5-DBD-mariadb106-[0-9]*: found p5-DBD-mariadb106-4.050nb5 => Build dependency apache>=2.4.54nb1<2.5: found apache-2.4.54nb1 => Full dependency netpbm-[0-9]*: found netpbm-10.86.25nb3 => 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-{mariadb,mysql,percona}*-[0-9]*: found p5-DBD-mariadb106-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.509nb6 => 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-libwww-[0-9]*: found p5-libwww-6.61nb1 => Full dependency ap24-php74-[0-9]*: found ap24-php74-7.4.30nb8 => Full dependency php74-pdo_mysql-[0-9]*: found php74-pdo_mysql-7.4.30nb2 => Full dependency php74-sockets-[0-9]*: found php74-sockets-7.4.30 => Full dependency ffmpeg2>=2.8.20nb1: found ffmpeg2-2.8.20nb3 => Full dependency bzip2>=1.0.3: found bzip2-1.0.8 => Full dependency zlib>=1.2.3: found zlib-1.2.12nb1 => Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1q => Full dependency perl>=5.36.0<5.38.0: found perl-5.36.0 => Full dependency jpeg>=9: found jpeg-9e => Full dependency mariadb-client>=10.6.8nb1<10.7.0: found mariadb-client-10.6.8nb1 => Full dependency pcre>=8.30nb1: found pcre-8.45 ===> Overriding tools for zoneminder-1.29.0nb10 ===> Extracting for zoneminder-1.29.0nb10 /bin/cp /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/files/zoneminder.conf /Users/pbulk/build/security/zoneminder/work/zoneminder-1.29.0/zoneminder.conf ===> Patching for zoneminder-1.29.0nb10 => Applying pkgsrc patches for zoneminder-1.29.0nb10 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-Makefile_am => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-Makefile_am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile_am,v 1.4 2020/08/25 16:42:21 gdt Exp $ | |Disable the hacks around ownership setup so Pkgsrc can take responsibility. |Don't install zm.conf at all - let Pkgsrc install it into EGDIR. | |--- Makefile.am.orig 2016-02-03 18:40:30.000000000 +0000 |+++ Makefile.am -------------------------- Patching file Makefile.am using Plan A... Hunk #1 succeeded at 6. Hunk #2 succeeded at 26. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-configure_ac => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-configure_ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure_ac,v 1.5 2020/08/25 16:42:21 gdt Exp $ | |Remediate == (bashism) in configure.ac | |--- configure.ac.orig 2016-02-03 18:40:30.000000000 +0000 |+++ configure.ac -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 64. Hunk #2 succeeded at 270. Hunk #3 succeeded at 292. Hunk #4 succeeded at 342. Hunk #5 succeeded at 400. Hunk #6 succeeded at 417. Hunk #7 succeeded at 428. Hunk #8 succeeded at 457. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.2 2015/04/05 08:51:08 dsainty 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 2015-04-01 19:40:39.708621257 +1300 |+++ scripts/ZoneMinder/lib/ZoneMinder/General.pm 2015-04-01 19:50:47.372646449 +1300 -------------------------- Patching file scripts/ZoneMinder/lib/ZoneMinder/General.pm using Plan A... Hunk #1 succeeded at 107. Hunk #2 succeeded at 124. Hunk #3 succeeded at 137. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_Memory_Shared.pm => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.1 2020/08/25 16:42:21 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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-scripts_zm_in => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.4 2020/08/25 16:42:21 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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_Makefile_am => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_Makefile_am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_Makefile_am,v 1.3 2015/04/05 08:51:08 dsainty Exp $ | |Don't pointlessly chown zms. | |--- src/Makefile.am.orig 2015-02-05 15:52:37.000000000 +1300 |+++ src/Makefile.am 2015-04-01 19:33:05.628602430 +1300 -------------------------- Patching file src/Makefile.am using Plan A... Hunk #1 succeeded at 128. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__event.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.3 2020/08/25 16:42:21 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 2016-02-03 18:40:30.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 180. Hunk #4 succeeded at 193. Hunk #5 succeeded at 524. Hunk #6 succeeded at 575. Hunk #7 succeeded at 663. Hunk #8 succeeded at 1221. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__monitor.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.2 2020/08/25 16:42:21 gdt Exp $ | |\todo Explain mem_ptr change. | |Avoid type error (suseconds_t is not long). To be addressed upstream once caught up. | |--- src/zm_monitor.cpp.orig 2016-02-03 18:40:30.000000000 +0000 |+++ src/zm_monitor.cpp -------------------------- Patching file src/zm_monitor.cpp using Plan A... Hunk #1 succeeded at 160. Hunk #2 succeeded at 558. Hunk #3 succeeded at 3181. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__rtp__ctrl.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.1 2020/07/12 16:58:42 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 2015-02-05 02:52:37.000000000 +0000 |+++ src/zm_rtp_ctrl.h -------------------------- Patching file src/zm_rtp_ctrl.h using Plan A... Hunk #1 succeeded at 125. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__rtp__source.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.3 2020/08/25 16:42:21 gdt Exp $ | |Fix type issue with tv_sec; see earlier patches. | |--- src/zm_rtp_source.cpp.orig 2015-02-05 02:52:37.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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__sdp.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__sdp.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zm__sdp.cpp,v 1.1 2017/09/09 07:55:31 alnsn Exp $ | |Commit f5ef721: Add IP6 address type to valid types for ConnInfo. | |--- src/zm_sdp.cpp.orig 2015-02-05 02:52:37.000000000 +0000 |+++ src/zm_sdp.cpp -------------------------- Patching file src/zm_sdp.cpp using Plan A... Hunk #1 succeeded at 112. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__thread.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.5 2020/08/25 16:42:21 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 2016-02-03 18:40:30.000000000 +0000 |+++ src/zm_thread.h -------------------------- 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 231. Hunk #5 succeeded at 239. Hunk #6 succeeded at 269. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__timer.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.4 2020/08/25 16:42:21 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 2016-02-03 18:40:30.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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__utils.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.2 2020/08/25 16:42:21 gdt Exp $ | |\todo Explain | |--- src/zm_utils.cpp.orig 2011-06-21 09:19:11.000000000 +0000 |+++ src/zm_utils.cpp -------------------------- Patching file src/zm_utils.cpp using Plan A... Hunk #1 succeeded at 72 (offset 34 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm__utils.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.3 2020/08/25 16:42:21 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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm_comms_cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.3 2020/08/25 16:42:21 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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm_comms_h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm_logger_cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.6 2020/08/25 16:42:21 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 2016-02-03 18:40:30.000000000 +0000 |+++ src/zm_logger.cpp -------------------------- Patching file src/zm_logger.cpp using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 506. Hunk #3 succeeded at 523. Hunk #4 succeeded at 607. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm_remote_camera_h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm_signal_cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-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.2 2020/08/25 16:42:21 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 2016-02-03 18:40:30.000000000 +0000 |+++ src/zm_signal.cpp -------------------------- Patching file src/zm_signal.cpp using Plan A... Hunk #1 succeeded at 69. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zm_thread_cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.3 2020/08/25 16:42:21 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 2016-02-03 18:40:30.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 316. Hunk #5 succeeded at 345. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zmc_cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.3 2020/08/25 16:42:21 gdt Exp $ | |Use a more appropriate initialisation for a long, and use the definition out |of , for portability. | |--- src/zmc.cpp.orig 2016-02-03 18:40:30.000000000 +0000 |+++ src/zmc.cpp -------------------------- Patching file src/zmc.cpp using Plan A... Hunk #1 succeeded at 57. Hunk #2 succeeded at 283. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zmf.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.3 2020/08/25 16:42:21 gdt Exp $ | |\todo Explain | |--- src/zmf.cpp.orig 2017-02-15 00:51:13.260940737 +0000 |+++ src/zmf.cpp -------------------------- Patching file src/zmf.cpp using Plan A... Hunk #1 succeeded at 331 (offset 38 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-src_zmu.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.3 2020/08/25 16:42:21 gdt Exp $ | |time types | |--- src/zmu.cpp.orig 2016-02-03 18:40:30.000000000 +0000 |+++ src/zmu.cpp -------------------------- Patching file src/zmu.cpp using Plan A... Hunk #1 succeeded at 519. Hunk #2 succeeded at 793. Hunk #3 succeeded at 810. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-web_Makefile.am => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-web_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-web_Makefile.am,v 1.2 2020/08/25 16:42:21 gdt Exp $ | |Don't set owners; see previous | |--- web/Makefile.am.orig 2013-03-24 15:56:43.000000000 +0000 |+++ web/Makefile.am -------------------------- Patching file web/Makefile.am using Plan A... Hunk #1 succeeded at 21. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder/patches/patch-web_ajax_stream_php => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 60. done ===> Creating toolchain wrappers for zoneminder-1.29.0nb10 /bin/mkdir -p /Users/pbulk/build/security/zoneminder/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /Users/pbulk/build/security/zoneminder/work/.buildlink/bin/apxs /bin/mkdir -p /Users/pbulk/build/security/zoneminder/work/.buildlink/bin && /bin/ln -fs apr-1-config /Users/pbulk/build/security/zoneminder/work/.buildlink/bin/apr-config /bin/mkdir -p /Users/pbulk/build/security/zoneminder/work/.buildlink/bin && /bin/ln -fs apu-1-config /Users/pbulk/build/security/zoneminder/work/.buildlink/bin/apu-config ===> Configuring for zoneminder-1.29.0nb10 => Adjusting default paths in configuration. => Fixing ZoneMinder configuration file for Apache. => Adjusting paths in scripts. => Adjusting systemd pkexec perl. set -e; cd /Users/pbulk/build/security/zoneminder/work/zoneminder-1.29.0; aclocal; autoheader; automake -a --foreign -i; autoconf configure.ac:303: installing './compile' configure.ac:19: installing './config.guess' configure.ac:19: installing './config.sub' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' configure.ac:294: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:294: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS is expanded from... configure.ac:294: the top level configure.ac:316: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:316: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:316: the top level configure.ac:318: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:318: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:318: the top level configure.ac:335: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:335: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/ac_check_sendfile.m4:1: AC_CHECK_SENDFILE is expanded from... configure.ac:335: the top level configure.ac:383: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:383: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:383: the top level => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => 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/zmtrack.pl.in scripts/zmtrigger.pl.in scripts/zmupdate.pl.in scripts/zmvideo.pl.in scripts/zmwatch.pl.in scripts/zmx10.pl.in. => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --enable-crashtrace, --with-apxs2, --with-libiconv-prefix checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff checking whether build environment is sane... yes checking for a race-free mkdir -p... ./install-sh -c -d checking for gawk... /opt/pkg/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-apple-darwin21 checking host system type... x86_64-apple-darwin21 configure: WARNING: You can call configure with the --with-libarch option. This tells configure where to find architecture specific libraries. The default of 'lib' is usually ok but 64 bit machines may require lib64. e.g. --with-libarch=lib or --with-libarch=lib64 configure: WARNING: You can call configure with the --with-mariadb option. This tells configure where to find the mariaDB C library and headers if configure cannot locate them automatically. e.g. --with-mariadb=/usr/local or --with-mariadb=/usr configure: WARNING: You can call configure with the --with-polkit option. This tells configure where to place the polkit policy files. checking pkg-config is at least version 0.9.0... yes checking for POLKIT... yes configure: WARNING: You can call configure with the --with-extralibs option. Ordinarily you will need to use this option only when your copy of ffmpeg has been built with support for additional formats and you would use this option to detail which additional libraries ffmpeg was built with so that it is able to link successfully with ZoneMinder. You will need to wrap this option in quotes if it contains any spaces. e.g. --with-extralibs="-lmp3lame" configure: WARNING: You can call configure with the --with-webhost option. This tells configure what the host name is for name based virtual hosting. This is only used to populate the sample web/zmHttpd.conf file. e.g. --with-webhost=zm.localdomain configure: WARNING: You can call configure with the --enable-debug= or --disable-debug option. This tells configure whether to compile ZoneMinder with debug included. Although debug is included by default it is not output unless explicitly switched on elsewhere. These checks may induce a small penalty on performance and if you are after squeezing the maximum possible performance out of ZoneMinder you may use this switch to prevent debug from being compiled in. e.g. --enable-debug=yes or --disable-debug configure: WARNING: You can call configure with the --enable-onvif= or --enable-onvif option. This tells configure whether to compile ZoneMinder with basic ONVIF support. This feature will probe for ONVIF compliant cameras on your network and allow you the option to auto-configure them as monitors in zoneminder. This option is EXPERIMENTAL and may not work with all cameras that claim to be ONVIF compliant. e.g. --enable-onvif=yes or --disable-onvif checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of clang++... none checking for x86_64-apple-darwin21-gcc... clang checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking whether ln -s works... yes checking for x86_64-apple-darwin21-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for _Bool... no checking for stdbool.h that conforms to C99... no checking for an ANSI C-conforming const... yes checking how to run the C++ preprocessor... clang++ -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for uid_t in sys/types.h... yes checking for inline... inline checking for mode_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for siginfo_t... yes checking for ucontext_t... yes checking whether clang needs -traditional... no checking for GNU libc compatible malloc... yes checking for getpagesize... yes checking for vprintf... yes checking for working mmap... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... no checking for strftime... yes checking for working strtod... yes checking for gethostbyname... yes checking for gethostname... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for posix_memalign... yes checking for putenv... yes checking for select... yes checking for sendfile... (cached) no checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoull... yes checking for syscall... yes checking for sleep... yes checking for usleep... yes checking for ioctl... yes checking for ioctlsocket... no checking for sigaction... yes checking whether sendfile() is supported and what prototype it has... checking for sendfile in -lsendfile... no MacOS sendfile() checking for ffmpeg... yes checking for ffmpeg... /opt/pkg/bin/ffmpeg2 checking for clock_gettime in -lrt... no configure: error: zm requires librt *** Error code 1 Stop. bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/security/zoneminder