+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/collectd-nut-5.12.0nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/collectd-nut-5.12.0nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for collectd-5.12.0.tar.bz2
=> Checksum SHA512 OK for collectd-5.12.0.tar.bz2
===> Installing dependencies for collectd-nut-5.12.0nb2
==========================================================================
The following variables will affect the build process of this package,
collectd-nut-5.12.0nb2.  Their current value is shown below:

        * VARBASE = /var/opt/pkg

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.7.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency collectd>=5.12.0: found collectd-5.12.0nb3
=> Full dependency ups-nut>=2.8.0nb1: found ups-nut-2.8.2
===> Overriding tools for collectd-nut-5.12.0nb2
===> Extracting for collectd-nut-5.12.0nb2
===> Patching for collectd-nut-5.12.0nb2
=> Applying pkgsrc patches for collectd-nut-5.12.0nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-Makefile.am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/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.5 2021/03/07 14:19:41 wiz Exp $
|
|Use other data directory.
|
|Add netstat_udp plugin.
|
|--- Makefile.am.orig	2020-09-03 17:12:19.000000000 +0200
|+++ Makefile.am	2021-03-01 15:45:39.679956727 +0100
--------------------------
Patching file Makefile.am using Plan A...
Hunk #1 succeeded at 8.
Hunk #2 succeeded at 1515.
Hunk #3 succeeded at 2405.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_bind.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_bind.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_bind.c,v 1.2 2020/10/24 22:39:45 wiz Exp $
|
|Also pick out the response time bins from the resolver stats.
|
|--- src/bind.c.orig	2020-03-08 16:57:09.000000000 +0100
|+++ src/bind.c	2020-07-20 12:55:28.000000000 +0200
--------------------------
Patching file src/bind.c using Plan A...
Hunk #1 succeeded at 228.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_collectd.conf.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_collectd.conf.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_collectd.conf.in,v 1.3 2020/10/24 22:39:45 wiz Exp $
|
|Fix default dirs.
|
|--- src/collectd.conf.in.orig	2020-03-19 09:52:56.000000000 +0100
|+++ src/collectd.conf.in	2020-07-06 19:18:19.842344185 +0200
--------------------------
Patching file src/collectd.conf.in using Plan A...
Hunk #1 succeeded at 12.
Hunk #2 succeeded at 392 (offset 3 lines).
Hunk #3 succeeded at 430 (offset 3 lines).
Hunk #4 succeeded at 1117 (offset 88 lines).
Hunk #5 succeeded at 1351 (offset 4 lines).
Hunk #6 succeeded at 1554 (offset 88 lines).
Hunk #7 succeeded at 1731 (offset 20 lines).
Hunk #8 succeeded at 1861 (offset 88 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_cpython.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_cpython.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_cpython.h,v 1.1 2022/11/15 12:37:41 wiz Exp $
|
|Fix build with python 3.11.
|https://github.com/collectd/collectd/commit/623e95394e0e62e7f9ced2104b786d21e9c0bf53
|
|--- src/cpython.h.orig	2020-07-20 09:50:14.293155228 +0000
|+++ src/cpython.h
--------------------------
Patching file src/cpython.h using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_df.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_df.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_df.c,v 1.6 2020/10/24 22:39:45 wiz Exp $
|
|Older NetBSD doesn't have float_t.
|
|--- src/df.c.orig	2020-03-08 16:57:09.000000000 +0100
|+++ src/df.c	2020-07-06 19:28:15.661572605 +0200
--------------------------
Patching file src/df.c using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_libcollectdclient_network__buffer.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_libcollectdclient_network__buffer.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_libcollectdclient_network__buffer.c,v 1.1 2020/10/24 22:39:45 wiz Exp $
|
|Need the workaround on at least SunOS too.
|
|--- src/libcollectdclient/network_buffer.c.orig	2020-03-08 16:57:09.000000000 +0100
|+++ src/libcollectdclient/network_buffer.c	2020-07-06 19:48:22.130670698 +0200
--------------------------
Patching file src/libcollectdclient/network_buffer.c using Plan A...
Hunk #1 succeeded at 41.
Hunk #2 succeeded at 54.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_netstat__udp.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_netstat__udp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_netstat__udp.c,v 1.2 2020/10/24 22:39:45 wiz Exp $
|
|Add a plugin which reports the UDP summary statistics.
|Useful for busyish DNS name servers.
|
|--- src/netstat_udp.c.orig	2015-09-11 16:55:05.000000000 +0000
|+++ src/netstat_udp.c
--------------------------
(Creating file src/netstat_udp.c...)
Patching file src/netstat_udp.c using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_statsd.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_statsd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_statsd.c,v 1.1 2017/01/19 17:20:42 he Exp $
|
|Insert workaround for possibly missing nearbyint().
|(Could be more specific, but test would be ... complicated.)
|
|--- src/statsd.c.orig	2017-01-19 16:24:15.000000000 +0000
|+++ src/statsd.c
--------------------------
Patching file src/statsd.c using Plan A...
Hunk #1 succeeded at 48.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_tcpconns.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_tcpconns.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_tcpconns.c,v 1.8 2020/10/24 22:39:45 wiz Exp $
|
|Include <sys/param.h>
|Re-order to fix build on NetBSD.
|
|--- src/tcpconns.c.orig	2020-03-08 16:57:09.000000000 +0100
|+++ src/tcpconns.c	2020-07-06 20:25:33.959459766 +0200
--------------------------
Patching file src/tcpconns.c using Plan A...
Hunk #1 succeeded at 127.
Hunk #2 succeeded at 895.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_utils_dns_dns.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_utils_dns_dns.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utils_dns_dns.c,v 1.1 2020/10/24 22:39:45 wiz Exp $
|
|Resolve conflict with pkgsrc PCAP on NetBSD 7 and 8.
|
|--- src/utils/dns/dns.c.orig	2020-03-08 16:57:09.000000000 +0100
|+++ src/utils/dns/dns.c	2020-07-20 12:55:29.000000000 +0200
--------------------------
Patching file src/utils/dns/dns.c using Plan A...
Hunk #1 succeeded at 85.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_utils_format__kairosdb_format__kairosdb.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/collectd-nut/../../sysutils/collectd/patches/patch-src_utils_format__kairosdb_format__kairosdb.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_utils_format__kairosdb_format__kairosdb.c,v 1.1 2020/10/24 22:39:45 wiz Exp $
|
|Cast arguments to isalnum() and tolower() to "unsigned char" to
|squelch warnings.
|
|--- src/utils/format_kairosdb/format_kairosdb.c.orig	2016-11-30 08:52:01.000000000 +0000
|+++ src/utils/format_kairosdb/format_kairosdb.c
--------------------------
Patching file src/utils/format_kairosdb/format_kairosdb.c using Plan A...
Hunk #1 succeeded at 80.
done
===> Creating toolchain wrappers for collectd-nut-5.12.0nb2
===> Configuring for collectd-nut-5.12.0nb2
=> Fixing canonical version number
cd /home/pbulk/build/sysutils/collectd-nut/work/collectd-5.12.0 && autoreconf
configure.ac:27: warning: The macro 'AC_PROG_CC_C99' is obsolete.
configure.ac:27: You should run autoupdate.
./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from...
configure.ac:27: the top level
configure.ac:41: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from...
configure.ac:41: the top level
configure.ac:728: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.ac:728: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.ac:728: 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
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libstatgra
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking for x86_64-sun-solaris2.11-gcc... 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... -std=gnu11
checking whether gcc -std=gnu11 understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
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 fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc -std=gnu11... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for gawk... /usr/bin/nawk
checking command to parse /usr/bin/nm -p output from gcc -std=gnu11 object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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 arpa/inet.h... yes
checking for endian.h... yes
checking for fcntl.h... yes
checking for fnmatch.h... yes
checking for fs_info.h... no
checking for fshelp.h... no
checking for grp.h... yes
checking for kstat.h... yes
checking for kvm.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for mntent.h... no
checking for mnttab.h... no
checking for netdb.h... yes
checking for paths.h... yes
checking for poll.h... yes
checking for pthread_np.h... no
checking for pwd.h... yes
checking for regex.h... yes
checking for sys/endian.h... no
checking for sys/fs_types.h... no
checking for sys/fstyp.h... yes
checking for sys/ioctl.h... yes
checking for sys/isa_defs.h... yes
checking for sys/mntent.h... yes
checking for sys/mnttab.h... yes
checking for sys/param.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/un.h... yes
checking for sys/vfs.h... yes
checking for sys/vfstab.h... yes
checking for sys/vmmeter.h... no
checking for syslog.h... yes
checking for wordexp.h... yes
checking for linux/ip_vs.h... no
checking for sys/time.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu11 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu11 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu11 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu11 static flag -static works... no
checking if gcc -std=gnu11 supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc -std=gnu11 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu11 linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking dependency style of gcc -std=gnu11... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc -std=gnu11 option to enable large file support... none needed
checking for C compiler vendor... gnu
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -std=gnu11 -E
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -ll
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking for valgrind... no
checking pkg-config is at least version 0.9.0... yes
checking if Bison is the parser generator... no
checking for kernel type (solaris2.11)... Solaris
checking whether compiler builds 64bit binaries... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for netinet/in_systm.h... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... yes
checking for netinet/ip_icmp.h... yes
checking for netinet/ip_var.h... yes
checking for netinet/ip6.h... yes
checking for netinet/icmp6.h... yes
checking for netinet/tcp.h... yes
checking for netinet/udp.h... yes
checking for sys/dkstat.h... no
checking for sys/sysctl.h... no
checking for ifaddrs.h... yes
checking for net/if.h... yes
checking for sys/swap.h... yes
checking for vm/anon.h... yes
checking for sys/loadavg.h... yes
checking for linux/config.h... no
checking for utmp.h... yes
checking for utmpx.h... yes
checking for sys/ucred.h... yes
checking for sys/mount.h... yes
checking for xfs/xqm.h... no
checking for net/if_arp.h... yes
checking for net/ppp_defs.h... yes
checking for net/if_ppp.h... no
checking for netinet/if_ether.h... yes
checking for net/pfvar.h... no
checking for termios.h... yes
checking whether clock_boottime and clock_monotonic are supported... no
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t... yes
checking for gid_t... yes
checking for asprintf... yes
checking for execvpe... yes
checking for getpwnam... yes
checking for getpwnam_r... yes
checking for if_indextoname... no
checking for setgroups... yes
checking for setlocale... yes
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
checking for strtok_r... yes
checking for socket... no
checking for socket in -lsocket... yes
checking for inet_ntop... yes
checking for clock_gettime... yes
checking for nanosleep... yes
checking for getifaddrs... no
checking for getloadavg... yes
checking for getutent... yes
checking for getutxent... yes
checking for host_statistics... no
checking for processor_info... yes
checking for statfs... yes
checking for statvfs... yes
checking for sysctl... no
checking for sysctlbyname... no
checking for syslog... yes
checking for thread_info... no
checking for strptime... yes
checking whether strptime is exported by default... yes
checking for timegm... yes
checking for sysctl kern.cp_times... no
checking for sysctl kern.cp_time... no
checking for swapctl... yes
checking whether swapctl takes two arguments... yes
checking whether swapctl takes three arguments... no
checking whether NAN is defined by default... yes
checking if doubles are stored in x86 representation... yes
checking whether clock_boottime and clock_monotonic are supported... (cached) no
checking for getfsstat... no
checking for getvfsstat... no
checking for listmntent... no
checking for getmntent_r... no
checking for getmntent... yes
checking whether getmntent takes one argument... no
checking whether getmntent takes two arguments... yes
checking whether htonll is defined... yes
checking for struct if_data.ifi_ibytes... yes
checking for struct if_data.ifi_opackets... yes
checking for struct if_data.ifi_ierrors... yes
checking for struct net_device_stats.rx_bytes... no
checking for struct net_device_stats.tx_packets... no
checking for struct net_device_stats.rx_errors... no
checking for struct inet_diag_req.id... no
checking for struct inet_diag_req.idiag_states... no
checking for struct ip_mreqn.imr_ifindex... no
checking for struct kinfo_proc.ki_pid... no
checking for struct kinfo_proc.ki_rssize... no
checking for struct kinfo_proc.ki_rusage... no
checking for struct kinfo_proc.p_pid... no
checking for struct kinfo_proc.p_vm_rssize... no
checking for struct kinfo_proc2.p_pid... no
checking for struct kinfo_proc2.p_uru_maxrss... no
checking for struct udphdr.uh_dport... yes
checking for struct udphdr.uh_sport... yes
checking for struct udphdr.dest... no
checking for struct udphdr.source... no
checking for kstat_io_t.nwritten... yes
checking for kstat_io_t.writes... yes
checking for kstat_io_t.nwrites... no
checking for kstat_io_t.wtime... yes
checking for pthread_setname_np... yes
checking for pthread_set_name_np... no
checking for struct ip6_ext... no
checking for struct ip6_ext... (cached) no
checking for pthread_create in -lpthread... yes
checking for pthread.h... yes
checking for kstat_open in -lkstat... yes
checking for di_init in -ldevinfo... yes
checking for kstat.h... (cached) yes
checking for kvm_getprocs in -lkvm... no
checking for kvm_getswapinfo in -lkvm... no
checking for kvm_nlist in -lkvm... yes
checking for bsd/nlist.h... no
checking for nlist.h... yes
checking for kvm_openfiles in -lkvm... no
checking for redfish.h... no
checking for grpc_cpp_plugin... no
checking for javac... no
checking for jar... no
checking for lua... no
checking for lua-5.3... no
checking for lua5.3... no
checking for lua53... no
checking for lua-5.2... no
checking for lua5.2... no
checking for lua52... no
checking for lua-5.1... no
checking for lua5.1... no
checking for lua51... no
checking for perl... /home/pbulk/build/sysutils/collectd-nut/work/.tools/bin/perl
checking for pmw_api.h... no
checking for protoc... no
checking for protoc-c... no
checking for Python.h... no
checking for libsigrok < 0.4... no
checking pkg-config for libstatgrab... not found
configure: Not checking for libupsclient: Manually configured
checking for upsclient.h... yes
checking for upscli_connect in -lupsclient... yes
checking for upscli_init in -lupsclient... yes
checking for upscli_tryconnect in -lupsclient... yes
checking for UPSCONN_t... yes
checking for UPSCONN... no
checking for libOpenIPMIpthread... no (pkg-config doesn't know OpenIPMIpthread)
checking for libnotify... no
checking for riemann-client >= 1.6.0... no
checking which default log plugin to load... none
checking which default write plugin to load... none
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating src/libcollectdclient/collectd/lcc_features.h
config.status: creating Makefile
config.status: creating src/collectd.conf
config.status: creating src/libcollectdclient/libcollectdclient.pc
config.status: creating src/config.h
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-libstatgra

Configuration:
  Build:
    Platform  . . . . . . Solaris
    Compiler vendor . . . gnu
    CC  . . . . . . . . . gcc -std=gnu11
    CFLAGS  . . . . . . . -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include
    CXXFLAGS  . . . . . . -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include
    CPP . . . . . . . . . gcc -std=gnu11 -E
    CPPFLAGS  . . . . . . -DSOLARIS2=11 -I/opt/pkg/include -I/usr/include
    GRPC_CPP_PLUGIN . . . 
    LD  . . . . . . . . . /bin/ld -64
    LDFLAGS . . . . . . . -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
    PROTOC  . . . . . . . 
    YACC  . . . . . . . . yacc
    YFLAGS  . . . . . . . 

  Libraries:
    intel mic . . . . . . no
    libaquaero5 . . . . . no
    libatasmart . . . . . no
    libcurl . . . . . . . no
    libdbi  . . . . . . . no
    libdpdk . . . . . . . no
    libesmtp  . . . . . . no
    libganglia  . . . . . no
    libgcrypt . . . . . . no
    libgps  . . . . . . . no
    libgrpc++ . . . . . . no (disabled on command line)
    libhiredis  . . . . . no
    libi2c-dev  . . . . . no (Linux only)
    libiokit  . . . . . . no
    libiptc . . . . . . . no
    libjansson  . . . . . no
    libjevents  . . . . . no
    libjvm  . . . . . . . no (jar not found)
    libkstat  . . . . . . yes
    libkvm  . . . . . . . yes
    libldap . . . . . . . no
    liblua  . . . . . . . no (pkg-config cannot find liblua)
    libmemcached  . . . . no
    libmicrohttpd . . . . no (disabled on command line)
    libmnl  . . . . . . . no
    libmodbus . . . . . . no
    libmongoc . . . . . . no
    libmosquitto  . . . . no
    libmysql  . . . . . . no
    libnetapp . . . . . . no
    libnetsnmp  . . . . . no
    libnetsnmpagent . . . no
    libnotify . . . . . . no (pkg-config doesn't know libnotify)
    libnvidia-ml  . . . . no
    libopenipmi . . . . . no (pkg-config doesn't know OpenIPMIpthread)
    liboping  . . . . . . no
    libowcapi . . . . . . no
    libpcap . . . . . . . no (pcap.h misses PCAP_ERROR_IFACE_NOT_UP)
    libperfstat . . . . . no (AIX only)
    libperl . . . . . . . no
    libpmwapi . . . . . . no (pmw_api.h not found)
    libpq . . . . . . . . no
    libpqos . . . . . . . no
    libprotobuf . . . . . no (disabled on command line)
    libprotobuf-c . . . . no (disabled on command line)
    libpython . . . . . . no
    libqpid-proton .  . . no
    librabbitmq . . . . . no
    libriemann-client . . no (pkg-config doesn't know libriemann-client)
    librdkafka  . . . . . no
    librouteros . . . . . 
    librrd  . . . . . . . no
    libsensors  . . . . . no
    libsigrok   . . . . . no (pkg-config could not find libsigrok)
    libssl  . . . . . . . no
    libslurm .  . . . . . no
    libstatgrab . . . . . no (pkg-config doesn't know libstatgrab)
    libtokyotyrant  . . . no
    libudev . . . . . . . no
    libupsclient  . . . . yes
    libvarnish  . . . . . no
    libvirt . . . . . . . no (pkg-config doesn't know libvirt)
    libxenctrl  . . . . . no
    libxml2 . . . . . . . no (pkg-config doesn't know libxml-2.0)
    libxmms . . . . . . . no
    libyajl . . . . . . . no
    oracle  . . . . . . . no
    protobuf-c  . . . . . no (protoc-c compiler not found)
    protoc 3  . . . . . . no

  Features:
    daemon mode . . . . . yes
    debug . . . . . . . . no

  Bindings:
    perl  . . . . . . . . no

  Modules:
    aggregation . . . . . no
    amqp    . . . . . . . no
    amqp1   . . . . . . . no
    apache  . . . . . . . no
    apcups  . . . . . . . no
    apple_sensors . . . . no
    aquaero . . . . . . . no
    ascent  . . . . . . . no
    barometer . . . . . . no
    battery . . . . . . . no
    bind  . . . . . . . . no
    buddyinfo . . . . . . no
    capabilities  . . . . no
    ceph  . . . . . . . . no
    cgroups . . . . . . . no
    chrony. . . . . . . . no
    check_uptime. . . . . no
    connectivity. . . . . no
    conntrack . . . . . . no
    contextswitch . . . . no
    cpu . . . . . . . . . no
    cpufreq . . . . . . . no
    cpusleep  . . . . . . no
    csv . . . . . . . . . no
    curl  . . . . . . . . no
    curl_json . . . . . . no
    curl_xml  . . . . . . no
    dbi . . . . . . . . . no
    dcpmm  . . . . . .  . no
    df  . . . . . . . . . no
    disk  . . . . . . . . no
    dns . . . . . . . . . no
    dpdkevents. . . . . . no
    dpdkstat  . . . . . . no
    dpdk_telemetry. . . . no
    drbd  . . . . . . . . no
    email . . . . . . . . no
    entropy . . . . . . . no
    ethstat . . . . . . . no
    exec  . . . . . . . . no
    fhcount . . . . . . . no
    filecount . . . . . . no
    fscache . . . . . . . no
    gmond . . . . . . . . no
    gps . . . . . . . . . no
    gpu_nvidia  . . . . . no
    grpc  . . . . . . . . no
    hddtemp . . . . . . . no
    hugepages . . . . . . no
    infiniband  . . . . . no
    intel_pmu . . . . . . no
    intel_rdt . . . . . . no
    interface . . . . . . no
    ipc . . . . . . . . . no
    ipmi  . . . . . . . . no
    iptables  . . . . . . no
    ipstats . . . . . . . no
    ipvs  . . . . . . . . no
    irq . . . . . . . . . no
    java  . . . . . . . . no
    load  . . . . . . . . no
    logfile . . . . . . . no
    logparser . . . . . . no
    log_logstash  . . . . no
    lpar  . . . . . . . . no
    lua . . . . . . . . . no
    madwifi . . . . . . . no
    match_empty_counter . no
    match_hashed  . . . . no
    match_regex . . . . . no
    match_timediff  . . . no
    match_value . . . . . no
    mbmon . . . . . . . . no
    mcelog  . . . . . . . no
    md  . . . . . . . . . no
    mdevents  . . . . . . no
    memcachec . . . . . . no
    memcached . . . . . . no
    memory  . . . . . . . no
    mic . . . . . . . . . no
    modbus  . . . . . . . no
    mqtt  . . . . . . . . no
    multimeter  . . . . . no
    mysql . . . . . . . . no
    netapp  . . . . . . . no
    netlink . . . . . . . no
    netstat_udp . . . . . no
    network . . . . . . . no
    nfs . . . . . . . . . no
    nginx . . . . . . . . no
    notify_desktop  . . . no
    notify_email  . . . . no
    notify_nagios . . . . no
    ntpd  . . . . . . . . no
    numa  . . . . . . . . no
    nut . . . . . . . . . yes
    olsrd . . . . . . . . no
    onewire . . . . . . . no
    openldap  . . . . . . no
    openvpn . . . . . . . no
    oracle  . . . . . . . no
    ovs_events  . . . . . no
    ovs_stats . . . . . . no
    pcie_errors . . . . . no
    perl  . . . . . . . . no (needs libperl)
    pf  . . . . . . . . . no
    pinba . . . . . . . . no
    ping  . . . . . . . . no
    postgresql  . . . . . no
    powerdns  . . . . . . no
    processes . . . . . . no
    procevent . . . . . . no
    protocols . . . . . . no
    python  . . . . . . . no
    redfish . . . . . . . no
    redis . . . . . . . . no
    routeros  . . . . . . no
    rrdcached . . . . . . no
    rrdtool . . . . . . . no
    sensors . . . . . . . no
    serial  . . . . . . . no
    sigrok  . . . . . . . no
    slurm . . . . . . . . no
    smart . . . . . . . . no
    snmp  . . . . . . . . no
    snmp_agent  . . . . . no
    statsd  . . . . . . . no
    swap  . . . . . . . . no
    synproxy  . . . . . . no
    sysevent. . . . . . . no
    syslog  . . . . . . . no
    table . . . . . . . . no
    tail_csv  . . . . . . no
    tail  . . . . . . . . no
    tape  . . . . . . . . no
    target_notification . no
    target_replace  . . . no
    target_scale  . . . . no
    target_set  . . . . . no
    target_v5upgrade  . . no
    tcpconns  . . . . . . no
    teamspeak2  . . . . . no
    ted . . . . . . . . . no
    thermal . . . . . . . no
    threshold . . . . . . no
    tokyotyrant . . . . . no
    turbostat . . . . . . no
    ubi . . . . . . . . . no
    unixsock  . . . . . . no
    uptime  . . . . . . . no
    users . . . . . . . . no
    uuid  . . . . . . . . no
    varnish . . . . . . . no
    virt  . . . . . . . . no
    vmem  . . . . . . . . no
    vserver . . . . . . . no
    wireless  . . . . . . no
    write_graphite  . . . no
    write_http  . . . . . no
    write_influxdb_udp. . no
    write_kafka . . . . . no
    write_log . . . . . . no
    write_mongodb . . . . no
    write_prometheus. . . no
    write_redis . . . . . no
    write_riemann . . . . no
    write_sensu . . . . . no
    write_stackdriver . . no
    write_syslog . .  . . no
    write_tsdb  . . . . . no
    xencpu  . . . . . . . no
    xmms  . . . . . . . . no
    zfs_arc . . . . . . . no
    zone  . . . . . . . . no
    zookeeper . . . . . . no

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp