=> 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 ntopng-3.8.tar.gz
=> Checksum RMD160 OK for ntopng-3.8.tar.gz
=> Checksum SHA512 OK for ntopng-3.8.tar.gz
===> Installing dependencies for ntopng-3.8nb7
==========================================================================
The following variables will affect the build process of this package,
ntopng-3.8nb7.  Their current value is shown below:

        * KRB5_DEFAULT = heimdal
        * LUA_VERSION_DEFAULT = 53
        * MYSQL_VERSION_DEFAULT = 57
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * LUA_PACKAGE = lua53
        * MYSQL_PKGSRCDIR = ../../databases/mysql57-client
        * 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 glib2-tools-[0-9]*: found glib2-tools-2.64.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency automake>=1.9: found automake-1.16.2
=> Tool dependency autoconf>=2.58: found autoconf-2.69nb9
=> Tool dependency bash-[0-9]*: found bash-5.0.16nb1
=> 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 xorgproto>=2016.1: found xorgproto-2020.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency redis-[0-9]*: found redis-5.0.8
=> Full dependency hiredis>=0.11.0: found hiredis-0.14.1
=> Full dependency rrdtool>=1.7.2nb3: found rrdtool-1.7.2nb3
=> Full dependency libmaxminddb>=1.3.0: found libmaxminddb-1.3.2
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.5
=> Full dependency GeoIP>=1.3.4nb1: found GeoIP-1.6.12
=> Full dependency ndpi>=2.8: found ndpi-2.8
=> Full dependency zeromq>=4.0.5: found zeromq-4.3.2
=> Full dependency gnutls>=3.6.12nb1: found gnutls-3.6.13
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.8.5
=> Full dependency curl>=7.69.0nb1: found curl-7.69.1
=> Full dependency mysql-client>=5.7.28nb2<5.8: found mysql-client-5.7.29
===> Overriding tools for ntopng-3.8nb7
===> Extracting for ntopng-3.8nb7
===> Patching for ntopng-3.8nb7
=> Applying pkgsrc patches for ntopng-3.8nb7
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-configure.seed
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-configure.seed
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.seed,v 1.4 2019/07/12 09:33:22 adam Exp $
|
|Portability fix.
|Detect system hiredis.
|Link against dynamkc libndpi (-Bstatic is not portable).
|On Darwin, install into man/.
|
|--- configure.seed.orig	2018-12-21 18:14:10.000000000 +0000
|+++ configure.seed
--------------------------
Patching file configure.seed using Plan A...
Hunk #1 succeeded at 75.
Hunk #2 succeeded at 130.
Hunk #3 succeeded at 284.
Hunk #4 succeeded at 551.
done
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-include_Redis.h
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-include_Redis.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_Redis.h,v 1.1 2018/10/18 16:25:40 adam Exp $
|
|Allow Redis connection through a socket.
|
|--- include/Redis.h.orig	2018-10-18 14:09:01.000000000 +0000
|+++ include/Redis.h
--------------------------
Patching file include/Redis.h using Plan A...
Hunk #1 succeeded at 31.
done
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-include_ntop__includes.h
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-include_ntop__includes.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_ntop__includes.h,v 1.2 2017/06/15 14:54:45 fhajny Exp $
|
|Add NetBSD and SunOS support.
|
|--- include/ntop_includes.h.orig	2016-06-27 19:31:18.000000000 +0000
|+++ include/ntop_includes.h
--------------------------
Patching file include/ntop_includes.h using Plan A...
Hunk #1 succeeded at 45 (offset 2 lines).
Hunk #2 succeeded at 53 (offset 2 lines).
done
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-src_NetworkInterface.cpp
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-src_NetworkInterface.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_NetworkInterface.cpp,v 1.1 2019/07/12 09:33:22 adam Exp $
|
|Fix for newer ndpi.
|
|--- src/NetworkInterface.cpp.orig	2019-07-11 16:55:03.000000000 +0000
|+++ src/NetworkInterface.cpp
--------------------------
Patching file src/NetworkInterface.cpp using Plan A...
Hunk #1 succeeded at 1604.
done
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-src_PacketDumperTuntap.cpp
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-src_PacketDumperTuntap.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_PacketDumperTuntap.cpp,v 1.2 2017/06/15 14:54:45 fhajny Exp $
|
|Add NetBSD and SunOS support.
|
|--- src/PacketDumperTuntap.cpp.orig	2016-06-27 19:31:18.000000000 +0000
|+++ src/PacketDumperTuntap.cpp
--------------------------
Patching file src/PacketDumperTuntap.cpp using Plan A...
Hunk #1 succeeded at 128 (offset 1 line).
done
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-src_Redis.cpp
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-src_Redis.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Redis.cpp,v 1.2 2018/10/18 16:25:40 adam Exp $
|
|Allow Redis connection through a socket.
|
|--- src/Redis.cpp.orig	2018-09-19 15:35:27.000000000 +0000
|+++ src/Redis.cpp
--------------------------
Patching file src/Redis.cpp using Plan A...
Hunk #1 succeeded at 35.
Hunk #2 succeeded at 73.
Hunk #3 succeeded at 118.
done
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-src_Utils.cpp
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-src_Utils.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Utils.cpp,v 1.3 2019/07/12 09:33:22 adam Exp $
|
|Fix building on NetBSD.
|d_type is not POSIX, provide workaround for SunOS.
|
|--- src/Utils.cpp.orig	2018-12-21 18:14:10.000000000 +0000
|+++ src/Utils.cpp
--------------------------
Patching file src/Utils.cpp using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 1951.
Hunk #3 succeeded at 1966.
done
=> Verifying /data/pkgsrc/net/ntopng/patches/patch-third-party_snmp_net.c
=> Applying pkgsrc patch /data/pkgsrc/net/ntopng/patches/patch-third-party_snmp_net.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-third-party_snmp_net.c,v 1.1 2017/06/15 14:54:45 fhajny Exp $
|
|SunOS doesn't have gethostbyname2.
|
|--- third-party/snmp/net.c.orig	2016-06-27 19:31:19.000000000 +0000
|+++ third-party/snmp/net.c
--------------------------
Patching file third-party/snmp/net.c using Plan A...
Hunk #1 succeeded at 15.
done
===> Creating toolchain wrappers for ntopng-3.8nb7
/bin/ln -s /data/scratch/net/ntopng/work/.buildlink/lib/pkgconfig/lua-5.3.pc /data/scratch/net/ntopng/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for ntopng-3.8nb7
=> Setting package version.
cd /data/scratch/net/ntopng/work/ntopng-3.8 && cp configure.seed configure.ac && autoreconf -fiv
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/pkg/bin/autoconf --force
autoreconf: running: /usr/pkg/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
=> Generating pkg-config file for builtin expat package.
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config files for builtin libevent package.
=> 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 bash interpreter in httpdocs/misc/ntopng-add-user.sh httpdocs/misc/ntopng-utils-manage-config.in.
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] packages/ntopng.spec.in:197: if [ $1 == 0 ] ; then

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/net/ntopng
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/ntopng