=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for tokyocabinet-lua-1.10.tar.gz => Checksum RMD160 OK for tokyocabinet-lua-1.10.tar.gz => Checksum SHA512 OK for tokyocabinet-lua-1.10.tar.gz ===> Installing dependencies for lua54-tokyocabinet-1.10nb2 ========================================================================== The following variables will affect the build process of this package, lua54-tokyocabinet-1.10nb2. Their current value is shown below: * CURSES_DEFAULT = curses * LUA_VERSION_DEFAULT = 53 * READLINE_DEFAULT = editline Based on these variables, the following variables have been set: * CURSES_TYPE = curses * LUA_PACKAGE = lua54 * 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 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 tokyocabinet>=1.4.41: found tokyocabinet-1.4.48 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.1 ===> 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 lua54-tokyocabinet-1.10nb2 ===> Extracting for lua54-tokyocabinet-1.10nb2 /bin/chmod -R go-w /opt/work/databases/lua-tokyocabinet/work/tokyocabinet-lua-1.10 ===> Patching for lua54-tokyocabinet-1.10nb2 => Applying pkgsrc patches for lua54-tokyocabinet-1.10nb2 => Verifying /opt/pkgsrc/databases/lua-tokyocabinet/patches/patch-aa => Applying pkgsrc patch /opt/pkgsrc/databases/lua-tokyocabinet/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.2 2016/08/20 18:49:33 sevan Exp $ | |- Add place holder for flags which can be passed in from pkgsrc. |- Add flag for Darwin linker to resolve symbols from external libraries at |runtime. | |--- Makefile.in.orig 2009-07-19 04:35:10.000000000 +0000 |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 32. Hunk #2 succeeded at 181. done => Verifying /opt/pkgsrc/databases/lua-tokyocabinet/patches/patch-ab => Applying pkgsrc patch /opt/pkgsrc/databases/lua-tokyocabinet/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.3 2013/10/27 13:01:33 obache Exp $ | |--- configure.orig 2010-09-19 23:13:57.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2000. done => Verifying /opt/pkgsrc/databases/lua-tokyocabinet/patches/patch-tokyocabinet.c => Applying pkgsrc patch /opt/pkgsrc/databases/lua-tokyocabinet/patches/patch-tokyocabinet.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tokyocabinet.c,v 1.2 2013/10/30 10:36:12 obache Exp $ | |* Lua 5.2 API change | |--- tokyocabinet.c.orig 2010-09-19 23:14:07.000000000 +0000 |+++ tokyocabinet.c -------------------------- Patching file tokyocabinet.c using Plan A... Hunk #1 succeeded at 34. done ===> Creating toolchain wrappers for lua54-tokyocabinet-1.10nb2 ===> Configuring for lua54-tokyocabinet-1.10nb2 => Substituting "pthread" in configure => 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 lua interpreter in *.lua. INFO: [replace-interpreter] Nothing changed in docrefine.lua. INFO: [replace-interpreter] Nothing changed in libpath.lua. INFO: [replace-interpreter] Nothing changed in tokyocabinet-doc.lua. => Checking for portability problems in extracted files #================================================================ # Configuring Tokyo Cabinet for Lua version 1.10. #================================================================ 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/databases/lua-tokyocabinet/work/tokyocabinet-lua-1.10': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/databases/lua-tokyocabinet *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/databases/lua-tokyocabinet