+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/zabbix-java-5.0.40/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/zabbix-java-5.0.40/work.log
=> Checksum BLAKE2s OK for zabbix-5.0.40.tar.gz
=> Checksum SHA512 OK for zabbix-5.0.40.tar.gz
===> Installing dependencies for zabbix-java-5.0.40
==========================================================================
The following variables will affect the build process of this package,
zabbix-java-5.0.40.  Their current value is shown below:

        * PKG_JVM_DEFAULT = openjdk17

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

        * JAVA_BINPREFIX = /opt/local/bin/openjdk11
        * PKG_JAVA_HOME = /opt/local/java/openjdk11
        * PKG_JVM = openjdk11

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency openjdk11>=0: found openjdk11-11.0.25
===> Overriding tools for zabbix-java-5.0.40
===> Extracting for zabbix-java-5.0.40
===> Patching for zabbix-java-5.0.40
=> Applying pkgsrc patches for zabbix-java-5.0.40
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../sysutils/zabbix50-server/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../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.2 2023/10/01 09:02:37 otis Exp $
|
|Fix bash-ism.
|
|--- configure.orig	2023-09-25 07:49:07.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 9395.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../sysutils/zabbix50-server/patches/patch-m4_ax__lib__mysql.m4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../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 /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../sysutils/zabbix50-server/patches/patch-m4_libssh.m4
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../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 /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../sysutils/zabbix50-server/patches/patch-src_libs_zbxsysinfo_netbsd_net.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../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 /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../sysutils/zabbix50-server/patches/patch-src_zabbix__agent_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../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 1118 (offset 5 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../sysutils/zabbix50-server/patches/patch-src_zabbix__proxy_Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../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 /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../sysutils/zabbix50-server/patches/patch-src_zabbix__server_Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java/../../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-java-5.0.40
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build/sysutils/zabbix50-java/work/.cwrapper/specs.pkgsrc
===> Configuring for zabbix-java-5.0.40
=> 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".
=> 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 a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
configure: Configuring Zabbix 5.0.40
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for x86_64-sun-solaris2.11-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... 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 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 grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
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... yes
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... yes
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... yes
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... yes
checking for nlist.h... yes
checking for kvm.h... yes
checking for linux/kernel.h... no
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... yes
checking for mntent.h... no
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... yes
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... yes
checking for sys/sysctl.h... no
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... no
checking for libperfstat.h... no
checking for library containing socket... -lsocket
checking for library containing kstat_open... -lkstat
checking for library containing gethostbyname... -lnsl
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... none required
checking for main in -lm... yes
checking for main in -lkvm... yes
checking for DNS lookup functions... yes
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... leaving undefined
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... no
checking for union semun... no
checking for struct swaptable in sys/swap.h... yes
checking for struct sensordev in sys/sensors.h... no
checking for struct statvfs64 in sys/statvfs.h... yes
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... no
checking for linker options --start-group/--end-group... yes
checking for '__thread' compiler support... yes
checking for field updates in struct vminfo_t... yes
checking for function sysconf() in unistd.h... yes
checking for function initgroups()... yes
checking for functions seteuid() and setegid()... yes
checking for function setproctitle()... no
checking for function sysctlbyname()... no
checking for function sysctl (KERN_BOOTTIME)... no
checking for function sysctl (HW_NCPU)... no
checking for function sysctl (KERN_MAXFILES)... no
checking for function sysctl (KERN_MAXPROC)... no
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... no
checking for file /proc/cpuinfo... no
checking for file /proc/0/psinfo... yes
checking for file /proc/loadavg... no
checking for file /proc/net/dev... no
checking for long long format... no
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... solaris (solaris2.11)
checking for -m64 compilation flag... yes
checking size of void *... 8
checking for javac... /opt/local/java/openjdk11/bin/javac
checking for jar... /opt/local/java/openjdk11/bin/jar
checking for iconv.h... yes
checking for ICONV support... configure: error: Unable to use iconv (libiconv check failed)
*** Error code 1

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

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/sysutils/zabbix50-java