=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for tokyotyrant-1.1.41.tar.gz
=> Checksum RMD160 OK for tokyotyrant-1.1.41.tar.gz
=> Checksum SHA512 OK for tokyotyrant-1.1.41.tar.gz
===> Installing dependencies for tokyotyrant-1.1.41nb4
==========================================================================
The supported build options for tokyotyrant are:

	lua

The currently selected options are:

	lua

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.tokyotyrant (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
tokyotyrant-1.1.41nb4.  Their current value is shown below:

        * LUA_VERSION_DEFAULT = 53
        * READLINE_DEFAULT = editline

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

        * LUA_PACKAGE = lua53
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.5
=> Full dependency tokyocabinet>=1.4.41: found tokyocabinet-1.4.48
===> Overriding tools for tokyotyrant-1.1.41nb4
===> Extracting for tokyotyrant-1.1.41nb4
===> Patching for tokyotyrant-1.1.41nb4
=> Applying pkgsrc patches for tokyotyrant-1.1.41nb4
=> Verifying /data/pkgsrc/databases/tokyotyrant/patches/patch-aa
=> Applying pkgsrc patch /data/pkgsrc/databases/tokyotyrant/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2009/02/19 06:31:55 obache Exp $
|
|Honor CFLAGS and LDFLAGS passwed to configure script.
|
|--- Makefile.in.orig	2009-02-16 08:35:25.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 54.
done
=> Verifying /data/pkgsrc/databases/tokyotyrant/patches/patch-ab
=> Applying pkgsrc patch /data/pkgsrc/databases/tokyotyrant/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.8 2009/05/24 12:42:45 obache Exp $
|
|Avoid to break pkgsrc's tools.
|
|--- configure.orig	2009-05-11 01:33:19.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2057 (offset 207 lines).
done
=> Verifying /data/pkgsrc/databases/tokyotyrant/patches/patch-ac
=> Applying pkgsrc patch /data/pkgsrc/databases/tokyotyrant/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.6 2010/01/17 02:49:05 obache Exp $
|
|Add NetBSD and DragonFly support.
|http://sourceforge.net/tracker/index.php?func=detail&aid=2447593&group_id=200242&atid=972717
|
|--- myconf.h.orig	2009-12-08 08:34:21.000000000 +0000
|+++ myconf.h
--------------------------
Patching file myconf.h using Plan A...
Hunk #1 succeeded at 44.
Hunk #2 succeeded at 97.
Hunk #3 succeeded at 220.
Hunk #4 succeeded at 247.
done
=> Verifying /data/pkgsrc/databases/tokyotyrant/patches/patch-scrext.c
=> Applying pkgsrc patch /data/pkgsrc/databases/tokyotyrant/patches/patch-scrext.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scrext.c,v 1.2 2013/10/30 10:43:24 obache Exp $
|
|* Lua-5.2 API change (lua_objlen was renamed lua_rawlen).
|
|--- scrext.c.orig	2010-08-05 06:24:33.000000000 +0000
|+++ scrext.c
--------------------------
Patching file scrext.c using Plan A...
Hunk #1 succeeded at 153.
done
===> Creating toolchain wrappers for tokyotyrant-1.1.41nb4
/bin/ln -s /data/scratch/databases/tokyotyrant/work/.buildlink/lib/pkgconfig/lua-5.3.pc /data/scratch/databases/tokyotyrant/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for tokyotyrant-1.1.41nb4
=> 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
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] Makefile.in:135: 	[ "$$UID" == 0 ] && ldconfig || true
ERROR: [check-portability.awk] Makefile.in:157: 	[ "$$UID" == 0 ] && ldconfig || true

Explanation:
===========================================================================
The "test" command, as well as the "[" command, are not required to know
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the
"==" operator, the result will be "false" instead of "true". This can
lead to unexpected behavior.

There are two ways to fix this error message. If the file that contains
the "test ==" is needed for building the package, you should create a
patch for it, replacing the "==" operator with "=". If the file is not
needed, add its name to the CHECK_PORTABILITY_SKIP variable in the
package Makefile.
===========================================================================

*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/databases/tokyotyrant
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/tokyotyrant