=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for dnsdist-1.7.2.tar.bz2
=> Checksum SHA512 OK for dnsdist-1.7.2.tar.bz2
===> Installing dependencies for dnsdist-1.7.2
==========================================================================
The following variables will affect the build process of this package,
dnsdist-1.7.2.  Their current value is shown below:

        * DNSDIST_GROUP = dnsdist
        * DNSDIST_USER = dnsdist
        * LUA_VERSION_DEFAULT = 54
        * READLINE_DEFAULT = editline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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

        * LUA_PACKAGE = lua54
        * 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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency boost-headers-1.78.*: found boost-headers-1.78.0
=> Full dependency re2>=20160201: found re2-20200801
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.4
=> Full dependency fstrm>=0.4.0: found fstrm-0.6.1
=> Full dependency libsodium>=0.3: found libsodium-1.0.18
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1s
=> Full dependency nghttp2>=1.45.1: found nghttp2-1.51.0nb1
===> 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 dnsdist-1.7.2
===> Extracting for dnsdist-1.7.2
===> Patching for dnsdist-1.7.2
=> Applying pkgsrc patches for dnsdist-1.7.2
===> Creating toolchain wrappers for dnsdist-1.7.2
/bin/ln -s /scratch/work/net/dnsdist/work/.buildlink/lib/pkgconfig/lua-5.4.pc /scratch/work/net/dnsdist/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for dnsdist-1.7.2
=> 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
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '100' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... plaintar
checking whether make supports nested variables... (cached) yes
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking size of time_t... 8
checking whether time_t is signed... yes
checking build system type... i486--netbsdelf
checking host system type... i486--netbsdelf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /scratch/work/net/dnsdist/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/net/dnsdist/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert i486--netbsdelf file names to i486--netbsdelf format... func_convert_file_noop
checking how to convert i486--netbsdelf file names to toolchain format... func_convert_file_noop
checking for /scratch/work/net/dnsdist/work/.cwrapper/bin/ld option to reload object files... -r
checking for i486--netbsdelf-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for i486--netbsdelf-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for i486--netbsdelf-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for i486--netbsdelf-strip... no
checking for strip... strip
checking for i486--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for i486--netbsdelf-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/scratch/work/net/dnsdist/work/.cwrapper/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /scratch/work/net/dnsdist/work/.cwrapper/bin/ld
checking if the linker (/scratch/work/net/dnsdist/work/.cwrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/scratch/work/net/dnsdist/work/.cwrapper/bin/ld) supports shared libraries... cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C
yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/scratch/work/net/dnsdist/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cc1: warning: command line option '-std=c++11' is valid for C++/ObjC++ but not for C
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking pkg-config is at least version 0.9.0... yes
checking whether we will be linking in libsodium... yes
checking for LIBSODIUM... yes
checking for crypto_box_easy_afternm... yes
checking for crypto_box_curve25519xchacha20poly1305_easy... yes
checking for randombytes_stir... yes
checking for sodium_memcmp... yes
checking for crypto_shorthash... yes
checking whether we will have dnstap... yes
checking for FSTRM... yes
checking for fstrm_tcp_writer_init... yes
checking for ragel... no
checking for LIBEDIT... yes
checking for library containing clock_gettime... none required
checking whether -latomic is needed for __atomic builtins... no
checking for pthread_np.h... no
checking for 2-arg pthread_setname_np... no
checking for 2-arg pthread_set_name_np... no
checking for 2-arg void pthread_set_name_np... no
checking for 1-arg pthread_setname_np... no
checking for 3-arg pthread_setname_np... yes
checking for library containing inet_aton... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking for library containing gethostent... none required
checking for recvmmsg... yes
checking for sendmmsg... yes
checking for accept4... yes
checking for library containing pthread_setaffinity_np... none required
checking for library containing pthread_getattr_np... none required
checking for library containing pthread_get_stackaddr_np... no
checking for library containing pthread_get_stacksize_np... no
checking for explicit_bzero... no
checking for explicit_memset... yes
checking for Boost headers version >= 1.42.0... yes
checking for Boost's header version... 1_78
checking for the toolset name used by Boost for c++... gcc55 -gcc
checking whether to enable unit test building... no
checking if we should compile in libre2 for dnsdist... yes
checking for RE2... yes
checking whether to enable DNSCrypt support... yes
checking if we have eBPF support... auto
checking linux/bpf.h usability... no
checking linux/bpf.h presence... no
checking for linux/bpf.h... no
checking if we need to link in Net SNMP... no
checking whether we will be linking in libcap... auto
checking for LIBCAP... no
checking systemd/sd-daemon.h usability... no
checking systemd/sd-daemon.h presence... no
checking for systemd/sd-daemon.h... no
checking What user and group will be used by service... dnsdist
checking for localtime_r... yes
checking for gmtime_r... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking which Lua implementation to use... auto
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... no
checking for LUA... yes
checking lua.hpp usability... yes
checking lua.hpp presence... yes
checking for lua.hpp... yes
checking for i486--netbsdelf-pkg-config... /scratch/work/net/dnsdist/work/.tools/bin/pkg-config
checking whether compiling and linking against OpenSSL's libcrypto works... yes
checking for RAND_bytes... yes
checking for RAND_pseudo_bytes... yes
checking for CRYPTO_memcmp... yes
checking for OPENSSL_init_crypto... yes
checking for EVP_MD_CTX_new... yes
checking for EVP_MD_CTX_free... yes
checking for RSA_get0_key... yes
checking whether EVP_PKEY_CTX_set1_scrypt_salt is declared... yes
checking whether to enable DNS over TLS support... yes
checking whether to enable incoming DNS over HTTPS (DoH) support... no
checking whether we will be linking in OpenSSL libssl... yes
checking for LIBSSL... yes
checking for SSL_CTX_set_ciphersuites... yes
checking for OCSP_basic_sign... yes
checking for SSL_CTX_set_num_tickets... yes
checking for SSL_CTX_set_keylog_callback... yes
checking for SSL_CTX_get0_privatekey... yes
checking for SSL_CTX_set_min_proto_version... no
checking for SSL_set_hostflags... yes
checking for SSL_CTX_set_alpn_protos... yes
checking for SSL_CTX_set_next_proto_select_cb... yes
checking for SSL_get0_alpn_selected... yes
checking for SSL_get0_next_proto_negotiated... yes
checking for SSL_CTX_set_alpn_select_cb... yes
checking whether we will be linking in GnuTLS... auto
checking for GNUTLS... no
checking for LIBH2OEVLOOP... no
checking whether we will be linking in nghttp2... yes
checking for NGHTTP2... yes
checking for CDB... no
checking cdb.h usability... no
checking cdb.h presence... no
checking for cdb.h... no
checking where to find the lmdb library and headers... auto
checking for LMDB... no
checking whether c++ supports C++17 features with -std=c++17... no
checking whether c++ supports C++17 features with +std=c++17... no
checking whether c++ supports C++17 features with -h std=c++17... no
checking whether c++ supports C++17 features with -std=c++1z... no
checking whether c++ supports C++17 features with +std=c++1z... no
checking whether c++ supports C++17 features with -h std=c++1z... no
configure: error: *** A compiler with support for C++17 language features is required.
*** Error code 1

Stop.
make[1]: stopped in /tree/pkgsrc/net/dnsdist
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/net/dnsdist