=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for ntopng-4.2.tar.gz
=> Checksum RMD160 OK for ntopng-4.2.tar.gz
=> Checksum SHA512 OK for ntopng-4.2.tar.gz
===> Installing dependencies for ntopng-4.2nb1
==========================================================================
The following variables will affect the build process of this package,
ntopng-4.2nb1.  Their current value is shown below:

        * KRB5_DEFAULT = heimdal
        * MYSQL_VERSION_DEFAULT = mariadb105
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * 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
        * MYSQL_VERSION = mariadb105
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

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
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.68.4
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb3
=> Tool dependency automake>=1.9: found automake-1.16.4
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb1
=> Tool dependency bash-[0-9]*: found bash-5.1.8nb3
=> Tool dependency gmake>=3.81: found gmake-4.3nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency redis-[0-9]*: found redis-6.2.6
=> Full dependency hiredis>=1.0.0: found hiredis-1.0.2
=> Full dependency rrdtool>=1.7.2nb8: found rrdtool-1.7.2nb9
=> Full dependency libmaxminddb>=1.3.0: found libmaxminddb-1.6.0
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6
=> Full dependency GeoIP>=1.3.4nb1: found GeoIP-1.6.12nb1
=> Full dependency ndpi>=3.4: found ndpi-3.4
=> Full dependency zeromq>=4.0.5: found zeromq-4.3.2
=> Full dependency gnutls>=3.7.1nb1: found gnutls-3.7.2
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.9.4
=> Full dependency curl>=7.76.1nb1: found curl-7.79.0
=> Full dependency mariadb-client>=10.5.0<10.6.0: found mariadb-client-10.5.12nb1
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for ntopng-4.2nb1
===> Extracting for ntopng-4.2nb1
===> Patching for ntopng-4.2nb1
=> Applying pkgsrc patches for ntopng-4.2nb1
=> Verifying /tree/pkgsrc/net/ntopng/patches/patch-Makefile.in
=> Applying pkgsrc patch /tree/pkgsrc/net/ntopng/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.6 2021/05/14 12:57:27 nia Exp $
|
|Don't build an internal copy of Lua...
|
|--- Makefile.in.orig	2020-03-27 16:51:24.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 28 (offset -1 lines).
Hunk #2 succeeded at 106 (offset -2 lines).
Hunk #3 succeeded at 145 (offset -2 lines).
done
=> Verifying /tree/pkgsrc/net/ntopng/patches/patch-configure.seed
=> Applying pkgsrc patch /tree/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.6 2021/06/23 19:34:15 adam Exp $
|
|Portability fix.
|Detect system hiredis.
|Link against dynamkc libndpi (-Bstatic is not portable).
|On Darwin, install into man/.
|
|--- configure.seed.orig	2020-11-02 21:27:19.000000000 +0000
|+++ configure.seed
--------------------------
Patching file configure.seed using Plan A...
Hunk #1 succeeded at 99.
Hunk #2 succeeded at 143.
Hunk #3 succeeded at 359.
Hunk #4 succeeded at 696.
done
=> Verifying /tree/pkgsrc/net/ntopng/patches/patch-include_Redis.h
=> Applying pkgsrc patch /tree/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.2 2020/05/25 20:26:51 adam Exp $
|
|Allow Redis connection through a socket.
|
|--- include/Redis.h.orig	2020-03-27 16:51:24.000000000 +0000
|+++ include/Redis.h
--------------------------
Patching file include/Redis.h using Plan A...
Hunk #1 succeeded at 31.
done
=> Verifying /tree/pkgsrc/net/ntopng/patches/patch-include_ntop__includes.h
=> Applying pkgsrc patch /tree/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 /tree/pkgsrc/net/ntopng/patches/patch-src_PacketDumperTuntap.cpp
=> Applying pkgsrc patch /tree/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 /tree/pkgsrc/net/ntopng/patches/patch-src_Redis.cpp
=> Applying pkgsrc patch /tree/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.3 2020/05/25 20:26:51 adam Exp $
|
|Allow Redis connection through a socket.
|
|--- src/Redis.cpp.orig	2020-03-27 16:51:24.000000000 +0000
|+++ src/Redis.cpp
--------------------------
Patching file src/Redis.cpp using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 83.
Hunk #3 succeeded at 148.
done
=> Verifying /tree/pkgsrc/net/ntopng/patches/patch-src_Utils.cpp
=> Applying pkgsrc patch /tree/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.5 2021/06/23 19:34:15 adam Exp $
|
|Fix building on NetBSD.
|d_type is not POSIX, provide workaround for SunOS.
|
|--- src/Utils.cpp.orig	2020-11-02 21:27:19.000000000 +0000
|+++ src/Utils.cpp
--------------------------
Patching file src/Utils.cpp using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 2262.
Hunk #3 succeeded at 2277.
done
=> Verifying /tree/pkgsrc/net/ntopng/patches/patch-third-party_snmp_net.c
=> Applying pkgsrc patch /tree/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-4.2nb1
===> Configuring for ntopng-4.2nb1
=> Setting package version.
cd /scratch/work/net/ntopng/work/ntopng-4.2 && /bin/cp configure.seed configure.ac && autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/pkg/bin/autoconf --force
configure.ac:573: warning: The macro `AC_HAVE_HEADERS' is obsolete.
configure.ac:573: You should run autoupdate.
./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from...
configure.ac:573: the top level
configure.ac:644: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:644: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:644: the top level
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.
=> 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
checking for i486--netbsdelf-gcc... gcc
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... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking how to run the C preprocessor... gcc -E
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
./configure: git: not found
checking pkg-config is at least version 0.9.0... yes
checking for NDPI... yes
checking for gcry_cipher_checktag in -lgcrypt... yes
checking for ntopng professional edition... not found
./configure: git: not found
checking for pcap_open_live in -lpcap... yes
checking for init_snmp in -lsnmp... no
checking for init_snmp in -lnetsnmp... no
checking for cap_get_proc in -lcap... no
checking for ldap_initialize in -lldap... yes
checking for rrd_update_r in -lrrd_th... no
checking for nl_handle_alloc in -lnl... no
checking for clock_gettime in -lrt... yes
checking for zlibVersion in -lz... yes
checking for dlopen in -ldl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl SMTP support... yes
checking for MMDB_lookup_sockaddr in -lmaxminddb... yes
checking for maxminddb.h... yes
checking for sqlite3_open in -lsqlite3... yes
checking for i486--netbsdelf-mariadb_config... no
checking for mariadb_config... mariadb_config
checking for main in -lwrap... no
checking for XML_ParserCreate in -lexpat... yes
checking for rc_read_config in -lradcli... no
checking if pthread rwlocks are supported... yes
FATAL ERROR: git is not installed on your host
ERROR. wget is not installed on your host: you cannot download GeoIP data
configure: creating ./config.status
config.status: creating packages/ntopng.spec
config.status: creating packages/ntopng-data.spec
config.status: creating Makefile
config.status: creating tools/json2tlv/Makefile
config.status: creating doc/doxygen.conf
config.status: creating httpdocs/misc/ntopng-utils-manage-config
config.status: creating httpdocs/misc/ntopng-utils-manage-updates
config.status: creating packages/etc/systemd/system/ntopng.service
config.status: creating packages/etc/systemd/system/ntopng@.service
config.status: creating include/config.h

You are now ready to compile typing /scratch/work/net/ntopng/work/.tools/bin/gmake
Please do not forget to download GeoIP databases from either https://maxmind.com or https://db-ip.com
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp