+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/zabbix-server-postgresql-6.0.24nb5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/zabbix-server-postgresql-6.0.24nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for zabbix-6.0.24.tar.gz
=> Checksum SHA512 OK for zabbix-6.0.24.tar.gz
===> Installing dependencies for zabbix-server-postgresql-6.0.24nb5
==========================================================================
The supported build options for zabbix-server-postgresql are:

	inet6 libssh libssh2 mysql openipmi pgsql
	snmp

The currently selected options are:

	inet6 libssh2 openipmi pgsql snmp

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.zabbix60-server (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
zabbix-server-postgresql-6.0.24nb5.  Their current value is shown below:

        * BDB185_DEFAULT = db4
        * BDB_DEFAULT = db4
        * KRB5_DEFAULT = heimdal
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

Based on these variables, the following variables have been set:

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4
        * 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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency fping-[0-9]*: found fping-5.2
=> Full dependency curl>=8.11.0nb2: found curl-8.11.1nb1
=> Full dependency libevent>=2.1.12nb1: found libevent-2.1.12nb2
=> Full dependency libssh2>=1.11.0nb1: found libssh2-1.11.1
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.9nb3
=> Full dependency net-snmp>=5.9.3nb2: found net-snmp-5.9.4nb1
=> Full dependency openipmi>=2.0.32nb2: found openipmi-2.0.32nb4
=> Full dependency openldap-client>=2.6.6nb1: found openldap-client-2.6.9
=> Full dependency openssl>=3: found openssl-3.4.0
=> Full dependency pcre2>=10.30: found pcre2-10.44
=> Full dependency postgresql14-client>=14.9nb1: found postgresql14-client-14.15
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency db4>=4.8.30: found db4-4.8.30nb1
=> Full dependency heimdal>=0.6: found heimdal-7.8.0nb11
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency lz4>=1.7.3<100: found lz4-1.10.0
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency pcre>=3.4nb1: found pcre-8.45
=> Full dependency popt>=1.7nb3: found popt-1.19
=> Full dependency sqlite3>=3.0.8: found sqlite3-3.47.2
=> Full dependency tcp_wrappers>=7.6.1nb1: found tcp_wrappers-7.6.4nb2
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for zabbix-server-postgresql-6.0.24nb5
===> Extracting for zabbix-server-postgresql-6.0.24nb5
===> Patching for zabbix-server-postgresql-6.0.24nb5
=> Applying pkgsrc patches for zabbix-server-postgresql-6.0.24nb5
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2023/08/06 17:46:47 otis Exp $
|
|Fix bash-ism.
|
|--- configure.orig	2023-07-31 11:56:12.067144813 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 9536 (offset -32 lines).
Hunk #2 succeeded at 16017 (offset -32 lines).
Hunk #3 succeeded at 16440 (offset -32 lines).
Hunk #4 succeeded at 16871 (offset -32 lines).
Hunk #5 succeeded at 17299 (offset -32 lines).
Hunk #6 succeeded at 17740 (offset -32 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-m4_ax__lib__mysql.m4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-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 2023/02/12 18:37:33 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 215 (offset -21 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-m4_libssh.m4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-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 2023/02/12 18:37:33 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 83.
Hunk #2 succeeded at 106.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_libs_zbxsysinfo_netbsd_net.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-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.1 2023/02/12 18:37:33 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 /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_zabbix__agent_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-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/02/12 18:37:33 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 1134 (offset 21 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_zabbix__proxy_Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-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/02/12 18:37:33 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 112 (offset 15 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_zabbix__proxy_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_zabbix__proxy_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_zabbix__proxy_Makefile.in,v 1.1 2023/02/22 21:45:17 otis Exp $
|
|Install config file to component's example directory.
|
|--- src/zabbix_proxy/Makefile.in.orig	2023-02-01 07:20:02.432793641 +0000
|+++ src/zabbix_proxy/Makefile.in
--------------------------
Patching file src/zabbix_proxy/Makefile.in using Plan A...
Hunk #1 succeeded at 1070 (offset -1 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_zabbix__server_Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-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 2023/02/12 18:37:33 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 151 (offset 30 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_zabbix__server_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server/patches/patch-src_zabbix__server_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_zabbix__server_Makefile.in,v 1.1 2023/02/22 21:45:17 otis Exp $
|
|Install config file into component's example directory.
|
|--- src/zabbix_server/Makefile.in.orig	2023-02-01 07:20:02.588795121 +0000
|+++ src/zabbix_server/Makefile.in
--------------------------
Patching file src/zabbix_server/Makefile.in using Plan A...
Hunk #1 succeeded at 1135 (offset -1 lines).
done
=> 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.
WARNING: [subst.mk:fix-pkgbase] Nothing changed in "src/zabbix_server/Makefile.am.orig".
WARNING: [subst.mk:fix-pkgbase] Nothing changed in "src/zabbix_server/Makefile.in.orig".
=> Fix conflict with NetBSD's popcount.
===> Creating toolchain wrappers for zabbix-server-postgresql-6.0.24nb5
===> Configuring for zabbix-server-postgresql-6.0.24nb5
=> 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 bash interpreter in misc/snmptrap/snmptrap.sh misc/images/png_to_xml.sh.
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /home/pbulk/build/sysutils/zabbix60-server/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
configure: Configuring Zabbix 6.0.24
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-cc... cc
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 cc accepts -g... yes
checking for cc option to enable C11 features... unsupported
checking for cc option to enable C99 features... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
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 stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for netdb.h... yes
checking for signal.h... yes
checking for syslog.h... yes
checking for time.h... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for netinet/in.h... yes
checking for math.h... yes
checking for sys/socket.h... yes
checking for dirent.h... yes
checking for ctype.h... yes
checking for mtent.h... no
checking for fcntl.h... yes
checking for sys/param.h... yes
checking for arpa/inet.h... yes
checking for sys/vfs.h... yes
checking for sys/pstat.h... no
checking for sys/sysinfo.h... yes
checking for sys/statvfs.h... yes
checking for sys/statfs.h... yes
checking for sys/socket.h... (cached) yes
checking for sys/loadavg.h... no
checking for arpa/inet.h... (cached) yes
checking for sys/vmmeter.h... no
checking for strings.h... (cached) yes
checking for vm/vm_param.h... no
checking for sys/time.h... yes
checking for kstat.h... no
checking for sys/syscall.h... yes
checking for sys/sysmacros.h... yes
checking for stdint.h... (cached) yes
checking for mach/host_info.h... no
checking for mach/mach_host.h... no
checking for knlist.h... no
checking for pwd.h... yes
checking for sys/var.h... no
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for sys/dkstat.h... no
checking for sys/disk.h... no
checking for sys/sched.h... no
checking for zone.h... no
checking for nlist.h... no
checking for kvm.h... no
checking for linux/kernel.h... yes
checking for procinfo.h... no
checking for sys/dk.h... no
checking for sys/resource.h... yes
checking for pthread.h... yes
checking for windows.h... no
checking for process.h... no
checking for conio.h... no
checking for sys/wait.h... yes
checking for stdarg.h... yes
checking for winsock2.h... no
checking for pdh.h... no
checking for psapi.h... no
checking for sys/sem.h... yes
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking for Winldap.h... no
checking for Winber.h... no
checking for lber.h... yes
checking for ws2tcpip.h... no
checking for inttypes.h... (cached) yes
checking for sys/file.h... yes
checking for grp.h... yes
checking for execinfo.h... yes
checking for sys/systemcfg.h... no
checking for sys/mnttab.h... no
checking for mntent.h... yes
checking for sys/times.h... yes
checking for dlfcn.h... yes
checking for sys/utsname.h... yes
checking for sys/un.h... yes
checking for sys/protosw.h... no
checking for stddef.h... yes
checking for limits.h... 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... no
checking for sys/sysctl.h... yes
checking for sys/user.h... yes
checking for sys/swap.h... yes
checking for sys/ucontext.h... yes
checking for devstat.h... no
checking for linux/netlink.h... yes
checking for linux/inet_diag.h... yes
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... -ldl
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... none required
checking for main in -lm... yes
checking for main in -lkvm... no
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... configure: error: Unable to find integer field name in union sigval of struct siginfo_t
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/zabbix60-server