=> 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-lua-5.12.0 ========================================================================== The following variables will affect the build process of this package, collectd-lua-5.12.0. Their current value is shown below: * CURSES_DEFAULT = ncurses * LUA_VERSION_DEFAULT = 54 * READLINE_DEFAULT = editline * VARBASE = /var Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * LUA_PACKAGE = lua54 * READLINE_TYPE = editline * TERMCAP_TYPE = curses 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.5nb2 => Tool dependency autoconf>=2.58: found autoconf-2.71nb2 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => 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.0nb2 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.4 ===> Overriding tools for collectd-lua-5.12.0 ===> Extracting for collectd-lua-5.12.0 ===> Patching for collectd-lua-5.12.0 => Applying pkgsrc patches for collectd-lua-5.12.0 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-Makefile.am => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_bind.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_collectd.conf.in => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_df.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_libcollectdclient_network__buffer.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_netstat__udp.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_statsd.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_tcpconns.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_utils_dns_dns.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua/../../sysutils/collectd/patches/patch-src_utils_format__kairosdb_format__kairosdb.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/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.12.0 ===> Configuring for collectd-lua-5.12.0 => Fixing canonical version number cd /Users/pbulk/build/sysutils/collectd-lua/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:1659: 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... x86_64-apple-darwin21 checking host system type... x86_64-apple-darwin21 checking how to print strings... print -r checking for x86_64-apple-darwin21-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 `/Users/pbulk/build/sysutils/collectd-lua/work/collectd-5.12.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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua *** Error code 1 Stop. bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-x86_64/sysutils/collectd-lua