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

        * DNSDIST_GROUP = dnsdist
        * DNSDIST_USER = dnsdist
        * LUA_VERSION_DEFAULT = 53
        * 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:

        * LUA_PACKAGE = lua53
        * 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 gmake>=3.81: found gmake-4.3nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.77.*: found boost-headers-1.77.0nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency protobuf>=3.19.0nb1: found protobuf-3.19.1
=> Full dependency re2>=20160201: found re2-20200801
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6
=> Full dependency fstrm>=0.4.0: found fstrm-0.6.0nb3
=> Full dependency libsodium>=0.3: found libsodium-1.0.18
===> 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.5.1nb2
===> Extracting for dnsdist-1.5.1nb2
===> Patching for dnsdist-1.5.1nb2
=> Applying pkgsrc patches for dnsdist-1.5.1nb2
=> Verifying /tree/pkgsrc/net/dnsdist/patches/patch-dnsdist-console.cc
=> Applying pkgsrc patch /tree/pkgsrc/net/dnsdist/patches/patch-dnsdist-console.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-dnsdist-console.cc,v 1.5 2020/08/06 16:28:03 adam Exp $
|
|Always use the pkgsrc editline layout.
|
|--- dnsdist-console.cc.orig	2020-07-28 07:39:28.000000000 +0000
|+++ dnsdist-console.cc
--------------------------
Patching file dnsdist-console.cc using Plan A...
Hunk #1 succeeded at 24.
done
=> Verifying /tree/pkgsrc/net/dnsdist/patches/patch-dnsdist.cc
=> Applying pkgsrc patch /tree/pkgsrc/net/dnsdist/patches/patch-dnsdist.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-dnsdist.cc,v 1.6 2020/08/06 16:28:03 adam Exp $
|
|Always use the pkgsrc editline layout.
|
|--- dnsdist.cc.orig	2020-07-29 16:09:33.000000000 +0000
|+++ dnsdist.cc
--------------------------
Patching file dnsdist.cc using Plan A...
Hunk #1 succeeded at 31.
done
=> Verifying /tree/pkgsrc/net/dnsdist/patches/patch-ext_json11_json11.cpp
=> Applying pkgsrc patch /tree/pkgsrc/net/dnsdist/patches/patch-ext_json11_json11.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ext_json11_json11.cpp,v 1.1 2017/05/22 23:41:22 joerg Exp $
|
|Clang rejects ordering relations for nullptr, so introduce a template
|indirection.
|
|--- ext/json11/json11.cpp.orig	2016-12-29 12:45:46.000000000 +0000
|+++ ext/json11/json11.cpp
--------------------------
Patching file ext/json11/json11.cpp using Plan A...
Hunk #1 succeeded at 146 (offset 14 lines).
Hunk #2 succeeded at 171 (offset 14 lines).
done
=> Verifying /tree/pkgsrc/net/dnsdist/patches/patch-iputils.hh
=> Applying pkgsrc patch /tree/pkgsrc/net/dnsdist/patches/patch-iputils.hh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-iputils.hh,v 1.3 2018/08/08 15:39:55 fhajny Exp $
|
|Do not use IP_PKTINFO on NetBSD, the structure is not as expected.
|
|--- iputils.hh.orig	2017-01-17 08:43:49.000000000 +0000
|+++ iputils.hh
--------------------------
Patching file iputils.hh using Plan A...
Hunk #1 succeeded at 38 (offset -2 lines).
done
=> Verifying /tree/pkgsrc/net/dnsdist/patches/patch-qtype.hh
=> Applying pkgsrc patch /tree/pkgsrc/net/dnsdist/patches/patch-qtype.hh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-qtype.hh,v 1.1 2017/03/31 20:49:51 fhajny Exp $
|
|Avoid symbol pollution on SunOS.
|
|--- qtype.hh.orig	2017-01-17 08:43:49.000000000 +0000
|+++ qtype.hh
--------------------------
Patching file qtype.hh using Plan A...
Hunk #1 succeeded at 24 (offset -2 lines).
done
===> Creating toolchain wrappers for dnsdist-1.5.1nb2
/bin/ln -s /scratch/work/net/dnsdist/work/.buildlink/lib/pkgconfig/lua-5.3.pc /scratch/work/net/dnsdist/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for dnsdist-1.5.1nb2
=> 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 portability problems in extracted files
configure: WARNING: unrecognized options: --enable-fstrm
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 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 how to run the C++ preprocessor... c++ -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... 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 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 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 whether we will have dnstap... auto
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... configure: error: in `/scratch/work/net/dnsdist/work/dnsdist-1.5.1':
configure: error: libatomic needed, but linking with -latomic failed, cannot continue
See `config.log' for more details
*** Error code 1

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

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