=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for zabbix-5.0.31.tar.gz => Checksum SHA512 OK for zabbix-5.0.31.tar.gz ===> Installing dependencies for zabbix-agent-5.0.31nb1 ========================================================================== The supported build options for zabbix-agent are: inet6 The currently selected options are: inet6 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.zabbix50-agent (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, zabbix-agent-5.0.31nb1. Their current value is shown below: * KRB5_DEFAULT = heimdal * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal 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 mktools-[0-9]*: found mktools-20220614 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency curl>=7.86.0nb1: found curl-7.88.0 => Full dependency pcre2>=10.30: found pcre2-10.42 ===> 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 zabbix-agent-5.0.31nb1 ===> Extracting for zabbix-agent-5.0.31nb1 ===> Patching for zabbix-agent-5.0.31nb1 => Applying pkgsrc patches for zabbix-agent-5.0.31nb1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.1 2023/01/03 13:59:15 otis Exp $ | |Fix bash-ism. | |--- configure.orig 2020-07-13 07:56:36.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 8557 (offset 63 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-m4_ax__lib__mysql.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-m4_ax__lib__mysql.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-m4_ax__lib__mysql.m4,v 1.1 2020/11/03 22:44:43 otis Exp $ | |Fix bash-ism. | |--- m4/ax_lib_mysql.m4.orig 2020-08-24 09:42:55.000000000 +0000 |+++ m4/ax_lib_mysql.m4 -------------------------- Patching file m4/ax_lib_mysql.m4 using Plan A... Hunk #1 succeeded at 236. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-m4_libssh.m4 => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-m4_libssh.m4 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-m4_libssh.m4,v 1.1 2020/11/03 22:44:43 otis Exp $ | |Fix libssh >= 0.9.5 detection. | |--- m4/libssh.m4.orig 2020-05-10 17:36:06.000000000 +0000 |+++ m4/libssh.m4 -------------------------- Patching file m4/libssh.m4 using Plan A... Hunk #1 succeeded at 89 (offset 6 lines). Hunk #2 succeeded at 112 (offset 6 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_libs_zbxsysinfo_netbsd_net.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_libs_zbxsysinfo_netbsd_net.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_libs_zbxsysinfo_netbsd_net.c,v 1.2 2023/01/03 13:59:15 otis Exp $ | |Rework interface statistics code from using kvm to using sysctl interface. | |--- src/libs/zbxsysinfo/netbsd/net.c.orig 2023-01-02 20:56:14.314793522 +0000 |+++ src/libs/zbxsysinfo/netbsd/net.c -------------------------- Patching file src/libs/zbxsysinfo/netbsd/net.c using Plan A... Hunk #1 succeeded at 22. Hunk #2 succeeded at 34. Hunk #3 succeeded at 152. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_zabbix__agent_Makefile.in => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_zabbix__agent_Makefile.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zabbix__agent_Makefile.in,v 1.1 2023/01/03 13:59:15 otis Exp $ | |Install config file to component's example directory. | |--- src/zabbix_agent/Makefile.in.orig 2020-08-24 09:43:03.000000000 +0000 |+++ src/zabbix_agent/Makefile.in -------------------------- Patching file src/zabbix_agent/Makefile.in using Plan A... Hunk #1 succeeded at 1119 (offset 6 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_zabbix__proxy_Makefile.am => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_zabbix__proxy_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zabbix__proxy_Makefile.am,v 1.1 2023/01/03 13:59:15 otis Exp $ | |Install config file to component's example directory. | |--- src/zabbix_proxy/Makefile.am.orig 2020-08-24 09:42:55.000000000 +0000 |+++ src/zabbix_proxy/Makefile.am -------------------------- Patching file src/zabbix_proxy/Makefile.am using Plan A... Hunk #1 succeeded at 102 (offset 5 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_zabbix__server_Makefile.am => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent/../../sysutils/zabbix50-server/patches/patch-src_zabbix__server_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zabbix__server_Makefile.am,v 1.1 2020/11/03 22:44:43 otis Exp $ | |Install config file into component's example directory. | |--- src/zabbix_server/Makefile.am.orig 2020-08-24 09:42:55.000000000 +0000 |+++ src/zabbix_server/Makefile.am -------------------------- Patching file src/zabbix_server/Makefile.am using Plan A... Hunk #1 succeeded at 125 (offset 4 lines). done ===> Creating toolchain wrappers for zabbix-agent-5.0.31nb1 ===> Configuring for zabbix-agent-5.0.31nb1 => Fixing absolute paths. WARNING: [subst.mk:fix-paths] Nothing changed in "conf/zabbix_agentd.win.conf". WARNING: [subst.mk:fix-paths] Nothing changed in "man/zabbix_get.man". => Fixing PKGBASE. => Generating pkg-config files for builtin xz package. => 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 => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libpcre2 checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: Configuring Zabbix 5.0.31 checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for x86_64--netbsd-cc... gcc 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking mtent.h usability... no checking mtent.h presence... no checking for mtent.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... no checking sys/sysinfo.h presence... no checking for sys/sysinfo.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for sys/socket.h... (cached) yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking for arpa/inet.h... (cached) yes checking sys/vmmeter.h usability... yes checking sys/vmmeter.h presence... yes checking for sys/vmmeter.h... yes checking for strings.h... (cached) yes checking vm/vm_param.h usability... no checking vm/vm_param.h presence... no checking for vm/vm_param.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sysmacros.h usability... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking for stdint.h... (cached) yes checking mach/host_info.h usability... no checking mach/host_info.h presence... no checking for mach/host_info.h... no checking mach/mach_host.h usability... no checking mach/mach_host.h presence... no checking for mach/mach_host.h... no checking knlist.h usability... no checking knlist.h presence... no checking for knlist.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/var.h usability... no checking sys/var.h presence... no checking for sys/var.h... no checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking sys/dkstat.h usability... yes checking sys/dkstat.h presence... yes checking for sys/dkstat.h... yes checking sys/disk.h usability... yes checking sys/disk.h presence... yes checking for sys/disk.h... yes checking sys/sched.h usability... yes checking sys/sched.h presence... yes checking for sys/sched.h... yes checking zone.h usability... no checking zone.h presence... no checking for zone.h... no checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking kvm.h usability... yes checking kvm.h presence... yes checking for kvm.h... yes checking linux/kernel.h usability... no checking linux/kernel.h presence... no checking for linux/kernel.h... no checking procinfo.h usability... no checking procinfo.h presence... no checking for procinfo.h... no checking sys/dk.h usability... no checking sys/dk.h presence... no checking for sys/dk.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking pdh.h usability... no checking pdh.h presence... no checking for pdh.h... no checking psapi.h usability... no checking psapi.h presence... no checking for psapi.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking Winldap.h usability... no checking Winldap.h presence... no checking for Winldap.h... no checking Winber.h usability... no checking Winber.h presence... no checking for Winber.h... no checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking for inttypes.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/protosw.h usability... yes checking sys/protosw.h presence... yes checking for sys/protosw.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for resolv.h... yes checking for net/if.h... yes checking for net/if_mib.h... no checking whether compiler supports -Werror=cpp... yes checking for sys/mount.h... yes checking for sys/proc.h... yes checking for sys/sysctl.h... yes checking for sys/user.h... no checking for sys/swap.h... yes checking for sys/ucontext.h... yes checking for devstat.h... no checking for linux/netlink.h... no checking for libperfstat.h... no checking for library containing socket... none required checking for library containing kstat_open... no checking for library containing gethostbyname... none required checking for library containing clock_gettime... none required checking for library containing dlopen... none required checking for library containing perfstat_memory_total... no checking for library containing devstat_getdevs... no checking for library containing getdevs... no checking for library containing backtrace_symbols... -lexecinfo checking for main in -lm... yes checking for main in -lkvm... yes checking for DNS lookup functions... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for socklen_t... yes checking for actual socklen_t parameter type in socket functions... socklen_t checking for integer field name in union sigval of struct siginfo_t... sival_int checking for res_ninit... yes checking for res_ndestroy... yes checking for _res._u._ext.nsaddrs... no checking for _res._u._ext.ext... yes checking for _res._ext.ext.nsaddrs... no checking for struct sockaddr_in6.sin6_len... yes checking for union semun... no checking for struct swaptable in sys/swap.h... no checking for struct sensordev in sys/sensors.h... no checking for struct statvfs64 in sys/statvfs.h... no checking for struct statfs64 in sys/statfs.h... no checking for field ss_family in struct sockaddr_storage... yes checking for field mem_unit in struct sysinfo... no checking for field freeswap in struct sysinfo... no checking for field totalswap in struct sysinfo... no checking for field totalram in struct sysinfo... no checking for field sharedram in struct sysinfo... no checking for field bufferram in struct sysinfo... no checking for field freeram in struct sysinfo... no checking for field uptime in struct sysinfo... no checking for field procs in struct sysinfo... no checking for field tm_gmtoff in struct tm... yes checking for linker options --start-group/--end-group... yes checking for '__thread' compiler support... yes checking for field updates in struct vminfo_t... no checking for function sysconf() in unistd.h... no checking for function initgroups()... yes checking for functions seteuid() and setegid()... yes checking for function setproctitle()... yes checking for function sysctlbyname()... yes checking for function sysctl (KERN_BOOTTIME)... yes checking for function sysctl (HW_NCPU)... yes checking for function sysctl (KERN_MAXFILES)... yes checking for function sysctl (KERN_MAXPROC)... yes checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no checking for function clock_gettime in time.h... yes checking for macro __va_copy() in stdarg.h... yes checking for macro __VA_ARGS__... yes checking return type of signal handlers... void checking for getloadavg... yes checking for hstrerror... yes checking for getenv... yes checking for putenv... yes checking for sigqueue... yes checking for round... yes checking for /proc filesystem... yes checking for file /proc/stat... yes checking for file /proc/cpuinfo... yes checking for file /proc/0/psinfo... no checking for file /proc/loadavg... yes checking for file /proc/net/dev... no checking for long long format... yes checking for -rdynamic linking option... yes checking for libperfstat 5.2.0.40 fileset... no checking for libperfstat 5.3.0.60 fileset... no checking for architecture... netbsd (netbsd) checking size of void *... 8 checking for OpenSSL support... yes checking if OpenSSL supports PSK... yes checking for gawk... (cached) /usr/bin/awk checking for curl-config... /usr/pkg/bin/curl-config checking for the version of libcurl... 7.88.0 checking for libcurl >= version 7.13.1... yes checking for main in -lcurl... yes checking whether libcurl is usable... yes checking for curl_free... yes checking for curl_easy_escape... yes checking for libpcre support... no configure: error: Unable to use libpcre (libpcre check failed) *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/zabbix50-agent