=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for collectd-5.11.0.tar.bz2 => Checksum RMD160 OK for collectd-5.11.0.tar.bz2 => Checksum SHA512 OK for collectd-5.11.0.tar.bz2 ===> Installing dependencies for collectd-lua-5.11.0 ========================================================================== The following variables will affect the build process of this package, collectd-lua-5.11.0. Their current value is shown below: * CURSES_DEFAULT = curses * LUA_VERSION_DEFAULT = 53 * READLINE_DEFAULT = editline * VARBASE = /opt/pkg/var Based on these variables, the following variables have been set: * CURSES_TYPE = curses * LUA_PACKAGE = lua53 * READLINE_TYPE = editline * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change their value 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.6nb2 => Tool dependency automake>=1.9: found automake-1.16.3 => Tool dependency autoconf>=2.58: found autoconf-2.70 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency collectd>=5.11.0: found collectd-5.11.0 => Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for collectd-lua-5.11.0 ===> Extracting for collectd-lua-5.11.0 ===> Patching for collectd-lua-5.11.0 => Applying pkgsrc patches for collectd-lua-5.11.0 => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-Makefile.am => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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.4 2020/10/24 22:39:45 wiz Exp $ | |Use other data directory. | |--- Makefile.am.orig 2020-03-08 16:57:09.000000000 +0100 |+++ Makefile.am 2020-07-06 19:13:59.289684798 +0200 -------------------------- Patching file Makefile.am using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 1478. Hunk #3 succeeded at 2358. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-configure.ac => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-configure.ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac,v 1.13 2020/10/24 22:39:45 wiz Exp $ | |Add KERNEL_NETBSD, add entry and netstat_udp plugin definition, |and also do swap for "have_swapctl_three_args" (as for NetBSD). |Also, the start of process support, but that's not yet finished. | |--- configure.ac.orig 2020-03-19 09:52:56.000000000 +0100 |+++ configure.ac 2020-07-06 19:24:03.404718013 +0200 -------------------------- Patching file configure.ac using Plan A... Hunk #1 succeeded at 114. Hunk #2 succeeded at 6596. Hunk #3 succeeded at 6710. Hunk #4 succeeded at 7080. Hunk #5 succeeded at 7525. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_bind.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_collectd.conf.in => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 389. Hunk #3 succeeded at 427. Hunk #4 succeeded at 1029. Hunk #5 succeeded at 1347. Hunk #6 succeeded at 1466. Hunk #7 succeeded at 1711. Hunk #8 succeeded at 1773. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_cpu.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_cpu.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_cpu.c,v 1.4 2020/10/24 22:39:45 wiz Exp $ | |Port this too to NetBSD. | |--- src/cpu.c.orig 2020-03-08 16:57:09.000000000 +0100 |+++ src/cpu.c 2020-07-07 12:08:28.927383000 +0200 -------------------------- Patching file src/cpu.c using Plan A... Hunk #1 succeeded at 78. Hunk #2 succeeded at 749. Hunk #3 succeeded at 800. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_df.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_entropy.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_entropy.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_entropy.c,v 1.11 2020/10/24 22:39:45 wiz Exp $ | |Provide a NetBSD implementation for graphing available entropy. |This version tries to keep /dev/urandom open (for repeated use), |instead of constantly re-opening/closing it, since the latter will |needlessly reduce the kernel's entropy estimate. | |--- src/entropy.c.orig 2020-03-08 16:57:09.000000000 +0100 |+++ src/entropy.c 2020-07-06 19:39:37.204772249 +0200 -------------------------- Patching file src/entropy.c using Plan A... Hunk #1 succeeded at 29. Hunk #2 succeeded at 49. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_irq.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_irq.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_irq.c,v 1.6 2020/10/24 22:39:45 wiz Exp $ | |Provide a port to NetBSD. | |--- src/irq.c.orig 2020-03-08 16:57:09.000000000 +0100 |+++ src/irq.c 2020-07-06 19:50:01.057574443 +0200 -------------------------- Patching file src/irq.c using Plan A... Hunk #1 succeeded at 27. Hunk #2 succeeded at 83. Hunk #3 succeeded at 174. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_libcollectdclient_network__buffer.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_memory.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_memory.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_memory.c,v 1.6 2020/10/24 22:39:45 wiz Exp $ | |Add a port for NetBSD using VM_UVMEXP2, and preferring |sysctl over sysctlbyname. | |--- src/memory.c.orig 2020-06-19 21:12:44.000000000 +0200 |+++ src/memory.c 2020-07-09 21:13:27.000000000 +0200 -------------------------- Patching file src/memory.c using Plan A... Hunk #1 succeeded at 69. Hunk #2 succeeded at 102. Hunk #3 succeeded at 133. Hunk #4 succeeded at 238. Hunk #5 succeeded at 315. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_netstat__udp.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_nfs.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_nfs.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_nfs.c,v 1.1 2020/10/24 22:39:45 wiz Exp $ | |Don't use undefined suppress_warning variable (see |https://github.com/collectd/collectd/pull/3495). | |--- src/nfs.c.orig 2020-07-07 12:20:18.984988453 +0200 |+++ src/nfs.c 2020-07-07 12:20:23.513661540 +0200 -------------------------- Patching file src/nfs.c using Plan A... Hunk #1 succeeded at 622. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_processes.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_processes.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_processes.c,v 1.9 2020/10/24 22:39:45 wiz Exp $ | |Add a port to NetBSD. | |--- src/processes.c.orig 2020-03-08 16:57:09.000000000 +0100 |+++ src/processes.c 2020-07-06 20:15:33.891304651 +0200 -------------------------- Patching file src/processes.c using Plan A... Hunk #1 succeeded at 102. Hunk #2 succeeded at 317. Hunk #3 succeeded at 781. Hunk #4 succeeded at 2314. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_statsd.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_swap.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_swap.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_swap.c,v 1.6 2020/10/24 22:39:45 wiz Exp $ | |Extend support for NetBSD, and add per-swap-device |reporting for HAVE_SWAPCTL_THREE_ARGS. | |--- src/swap.c.orig 2020-03-08 16:57:09.000000000 +0100 |+++ src/swap.c 2020-07-06 20:21:18.416804717 +0200 -------------------------- Patching file src/swap.c using Plan A... Hunk #1 succeeded at 80. Hunk #2 succeeded at 123. Hunk #3 succeeded at 157. Hunk #4 succeeded at 215. Hunk #5 succeeded at 552. Hunk #6 succeeded at 627. Hunk #7 succeeded at 663. done => Verifying /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_tcpconns.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 |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 /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_utils_dns_dns.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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 /opt/pkgsrc/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_utils_format__kairosdb_format__kairosdb.c => Applying pkgsrc patch /opt/pkgsrc/sysutils/collectd-lua/../../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-lua-5.11.0 ===> Configuring for collectd-lua-5.11.0 => Fixing canonical version number cd /opt/work/sysutils/collectd-lua/work/collectd-5.11.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:1621: 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:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: 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:743: 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... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking how to print strings... print -r checking for aarch64-apple-darwin20-gcc... clang 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... configure: error: in `/opt/work/sysutils/collectd-lua/work/collectd-5.11.0': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details *** Error code 77 Stop. bmake[1]: stopped in /opt/pkgsrc/sysutils/collectd-lua *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/sysutils/collectd-lua