=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for ntopng-5.2.1.tar.gz => Checksum SHA512 OK for ntopng-5.2.1.tar.gz ===> Installing dependencies for ntopng-5.2.1nb3 ========================================================================== The following variables will affect the build process of this package, ntopng-5.2.1nb3. Their current value is shown below: * CURSES_DEFAULT = ncurses * MYSQL_VERSION_DEFAULT = mariadb106 * READLINE_DEFAULT = editline * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/etc/openssl/private Based on these variables, the following variables have been set: * CURSES_TYPE = ncurses * MYSQL_PKG_PREFIX = mariadb106 * MYSQL_VERSION = mariadb106 * 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 glib2-tools-[0-9]*: found glib2-tools-2.74.3 => 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 gmake>=3.81: found gmake-4.4 => 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 => Build dependency xorgproto>=2016.1: found xorgproto-2022.2 => Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1 => Full dependency redis-[0-9]*: found redis-7.0.7 => Full dependency zstd>=1.3.6: found zstd-1.5.2 => Full dependency hiredis>=1.0.0: found hiredis-1.1.0 => Full dependency rrdtool>=1.7.2nb13: found rrdtool-1.8.0 => Full dependency sqlite3>=3.40.0nb1: found sqlite3-3.40.0nb1 => Full dependency libmaxminddb>=1.3.0: found libmaxminddb-1.7.1 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.4 => Full dependency GeoIP>=1.3.4nb1: found GeoIP-1.6.12nb1 => Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.1 => Full dependency ndpi>=3.4: found ndpi-4.2 => Full dependency zeromq>=4.0.5: found zeromq-4.3.4 => Full dependency gnutls>=3.7.8nb1: found gnutls-3.7.8nb1 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.1 => Full dependency curl>=7.86.0nb1: found curl-7.86.0nb1 => Full dependency mariadb-client>=10.6.8nb1<10.7.0: found mariadb-client-10.6.11 ===> Overriding tools for ntopng-5.2.1nb3 ===> Extracting for ntopng-5.2.1nb3 ===> Patching for ntopng-5.2.1nb3 => Applying pkgsrc patches for ntopng-5.2.1nb3 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-Makefile.in => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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.7 2022/03/28 19:32:25 adam Exp $ | |Don't build an internal copy of Lua. | |--- Makefile.in.orig 2022-02-02 17:01:08.000000000 +0000 |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 33. Hunk #2 succeeded at 89. Hunk #3 succeeded at 129. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-configure.ac.in => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-configure.ac.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure.ac.in,v 1.1 2022/03/28 19:32:25 adam Exp $ | |Portability fix. |Detect system hiredis. |Link against dynamkc libndpi (-Bstatic is not portable). |On Darwin, install into man/. | |--- configure.ac.in.orig 2022-02-02 17:01:08.000000000 +0000 |+++ configure.ac.in -------------------------- Patching file configure.ac.in using Plan A... Hunk #1 succeeded at 187. Hunk #2 succeeded at 235. Hunk #3 succeeded at 430. Hunk #4 succeeded at 732. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-httpdocs_misc_ntopng-utils-manage-updates.in => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-httpdocs_misc_ntopng-utils-manage-updates.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-httpdocs_misc_ntopng-utils-manage-updates.in,v 1.1 2022/03/30 09:46:07 wiz Exp $ | |Fix unportable test(1) operator. | |--- httpdocs/misc/ntopng-utils-manage-updates.in.orig 2022-02-03 18:00:06.000000000 +0000 |+++ httpdocs/misc/ntopng-utils-manage-updates.in -------------------------- Patching file httpdocs/misc/ntopng-utils-manage-updates.in using Plan A... Hunk #1 succeeded at 64. Hunk #2 succeeded at 202. Hunk #3 succeeded at 214. Hunk #4 succeeded at 224. Hunk #5 succeeded at 284. Hunk #6 succeeded at 331. Hunk #7 succeeded at 346. Hunk #8 succeeded at 357. Hunk #9 succeeded at 368. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-include_Redis.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-include_ntop__includes.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-src_PacketDumperTuntap.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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 132 (offset 5 lines). done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-src_Redis.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-src_Utils.cpp => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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.6 2022/03/28 19:32:25 adam Exp $ | |Fix building on NetBSD. |d_type is not POSIX, provide workaround for SunOS. | |--- src/Utils.cpp.orig 2022-02-02 17:01:08.000000000 +0000 |+++ src/Utils.cpp -------------------------- Patching file src/Utils.cpp using Plan A... Hunk #1 succeeded at 21. Hunk #2 succeeded at 2405. Hunk #3 succeeded at 2420. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/net/ntopng/patches/patch-third-party_snmp_net.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/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-5.2.1nb3 ===> Configuring for ntopng-5.2.1nb3 => Setting package version. cd /Users/pbulk/build/net/ntopng/work/ntopng-5.2.1 && /bin/cp configure.ac.in 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: /opt/pkg/bin/autoconf --force configure.ac:608: warning: The macro `AC_HAVE_HEADERS' is obsolete. configure.ac:608: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... configure.ac:608: the top level configure.ac:685: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:685: 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:685: the top level autoreconf: running: /opt/pkg/bin/autoheader --force autoreconf: configure.ac: not using Automake autoreconf: Leaving directory '.' => 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. INFO: [replace-interpreter] Nothing changed in httpdocs/misc/ntopng-add-user.sh. => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libiconv-prefix checking for aarch64-apple-darwin22-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... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking how to run the C preprocessor... clang -E checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking for gpg_strerror in -lgpg-error... yes checking for __atomic_exchange_8 in -latomic... no checking for zmq_socket_monitor in -lzmq... yes checking for sodium_init in -lsodium... yes fatal: not a git repository (or any parent up to mount point /Users/pbulk) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). 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 fatal: not a git repository (or any parent up to mount point /Users/pbulk) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). checking for pcap_open_live in -lpcap... yes 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... no checking for zlibVersion in -lz... yes checking for dlopen in -ldl... yes 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 aarch64-apple-darwin22-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 configure: creating ./config.status config.status: creating packages/ntopng.spec config.status: creating packages/ntopng-data.spec config.status: creating packages/FreeBSD/build.sh config.status: creating packages/OPNsense/build.sh 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/wizard/ntopng-config config.status: creating packages/etc/systemd/system/ntopng.service config.status: creating packages/etc/systemd/system/ntopng@.service config.status: creating include/config.h configure: WARNING: unrecognized options: --with-libiconv-prefix This is the ntopng configuration: Preprocessor Flags: -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED -I/opt/pkg/include/mysql -Wno-address-of-packed-member -Wno-unused-function -I/Users/pbulk/build/net/ntopng/work/ntopng-5.2.1 -I/Users/pbulk/build/net/ntopng/work/ntopng-5.2.1/include -I/usr/local/include C++ Flags : -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/lua-5.4 -I/opt/pkg/include/ncurses -I/opt/pkg/include/sodium -DLDAP_DEPRECATED -I/opt/pkg/include/mysql -std=c++11 Linker Flags: : -L/opt/pkg/lib -L/usr/local/lib System Libs : -lmaxminddb -lzmq -lgpg-error -lzmq -lsodium -L/usr/local/lib -lgcrypt -lldap -llber -lz -ldl -lcurl nDPI Lib: : -L/opt/pkg/lib -lndpi -lm JSON Lib: : -L/opt/pkg/lib -ljson-c SSL Lib: : -L/opt/pkg/lib -lssl -lssl -lcrypto SNMP Lib : Expat Lib : -lexpat SQLite Lib : -lsqlite3 MySQL Lib : -L/opt/pkg/lib/ -lmariadb PCAP Lib : -lpcap Install path : /opt/pkg You are now ready to compile typing 'make' 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