=> 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.5nb9
==========================================================================
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.5nb9.  Their current value is shown below:

        * APACHE_GROUP = www
        * APACHE_USER = www
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * MYSQL_VERSION_DEFAULT = mariadb1011
        * 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 = mariadb1011
        * 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.78.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.4
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gtar-base>=1.13.25: found gtar-base-1.35
=> Tool dependency perl>=5.6.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency x11-links>=1.35: found x11-links-1.35nb1
=> Full dependency p5-Archive-Zip-[0-9]*: found p5-Archive-Zip-1.68nb3
=> Full dependency p5-Date-Manip-[0-9]*: found p5-Date-Manip-6.94
=> Full dependency p5-Device-SerialPort-[0-9]*: found p5-Device-SerialPort-1.04nb15
=> Full dependency p5-DBD-mysql-[0-9]*: found p5-DBD-mysql-4.050nb6
=> Full dependency p5-MIME-Lite-[0-9]*: found p5-MIME-Lite-3.033nb2
=> Full dependency p5-MIME-tools-[0-9]*: found p5-MIME-tools-5.510nb2
=> Full dependency p5-Net-SFTP-Foreign-[0-9]*: found p5-Net-SFTP-Foreign-1.93nb2
=> Full dependency p5-PHP-Serialization-[0-9]*: found p5-PHP-Serialization-0.34nb13
=> Full dependency p5-Sys-Mmap-[0-9]*: found p5-Sys-Mmap-0.20nb2
=> Full dependency p5-libwww-[0-9]*: found p5-libwww-6.77
=> Full dependency ap24-php56-[0-9]*: found ap24-php56-5.6.40nb11
=> Full dependency php56-gd-[0-9]*: found php56-gd-5.6.40nb7
=> Full dependency php56-pdo_mysql-[0-9]*: found php56-pdo_mysql-5.6.40nb2
=> Full dependency php56-sockets-[0-9]*: found php56-sockets-5.6.40
=> Full dependency ffmpeg2>=2.8.20nb14: found ffmpeg2-2.8.20nb16
=> Full dependency apache>=2.4.58nb1<2.5: found apache-2.4.58nb2
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency mariadb-client>=10.11.4nb1<10.12.0: found mariadb-client-10.11.6
=> Full dependency glib2>=2.76.4nb1: found glib2-2.78.4
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency curl>=8.4.0nb1: found curl-8.7.1
===> 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.5nb9
===> Extracting for zoneminder-1.30.5nb9
/bin/cp /usr/pkgsrc/security/zoneminder/files/zoneminder.conf /pbulk/work/security/zoneminder/work/zoneminder-1.30.5/zoneminder.conf
mv -f /pbulk/work/security/zoneminder/work/zoneminder-1.30.5/version /pbulk/work/security/zoneminder/work/zoneminder-1.30.5/version.txt
===> Patching for zoneminder-1.30.5nb9
=> Applying pkgsrc patches for zoneminder-1.30.5nb9
===> Creating toolchain wrappers for zoneminder-1.30.5nb9
/bin/mkdir -p /pbulk/work/security/zoneminder/work/.buildlink/bin && /bin/ln -fs ../sbin/apxs /pbulk/work/security/zoneminder/work/.buildlink/bin/apxs
/bin/mkdir -p /pbulk/work/security/zoneminder/work/.buildlink/bin && /bin/ln -fs apr-1-config /pbulk/work/security/zoneminder/work/.buildlink/bin/apr-config
/bin/mkdir -p /pbulk/work/security/zoneminder/work/.buildlink/bin && /bin/ln -fs apu-1-config /pbulk/work/security/zoneminder/work/.buildlink/bin/apu-config
===> Configuring for zoneminder-1.30.5nb9
=> Adjusting default paths in configuration.
=> Fixing ZoneMinder configuration file for Apache.
=> Adjusting paths in scripts.
=> Adjusting systemd pkexec perl.
/usr/bin/find /pbulk/work/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
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 10.5.0
-- The CXX compiler identification is GNU 10.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pbulk/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: /pbulk/work/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.13")  
-- Looking for zlib.h
-- Looking for zlib.h - found
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.7.1")  
-- 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 "3.0.12")  
-- 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: /pbulk/work/security/zoneminder/work/.tools/bin/perl (found version "5.38.2") 
-- Checking for perl module Sys::Syslog
-- Checking for perl module Sys::Syslog - found at /usr/pkg/lib/perl5/5.38.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.38.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.38.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.38.0/Getopt/Long.pm
-- Checking for perl module Time::HiRes
-- Checking for perl module Time::HiRes - found at /usr/pkg/lib/perl5/5.38.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.38.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.38.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.38.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!
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/security/zoneminder
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/zoneminder