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

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

        * LUA_PACKAGE = lua53
        * 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 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 boost-headers-1.73.*: found boost-headers-1.73.0
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.5
===> 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'.
===> Overriding tools for powerdns-recursor-4.3.0
===> Extracting for powerdns-recursor-4.3.0
===> Patching for powerdns-recursor-4.3.0
=> Applying pkgsrc patches for powerdns-recursor-4.3.0
=> Verifying /data/pkgsrc/net/powerdns-recursor/patches/patch-dns.hh
=> Applying pkgsrc patch /data/pkgsrc/net/powerdns-recursor/patches/patch-dns.hh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-dns.hh,v 1.3 2015/06/10 14:22:29 fhajny Exp $
|
|Only attempt to define byte order if unset.
|
|--- dns.hh.orig	2015-04-21 13:02:57.000000000 +0000
|+++ dns.hh
--------------------------
Patching file dns.hh using Plan A...
Hunk #1 succeeded at 145 (offset -4 lines).
done
=> Verifying /data/pkgsrc/net/powerdns-recursor/patches/patch-ext_json11_json11.cpp
=> Applying pkgsrc patch /data/pkgsrc/net/powerdns-recursor/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:52 joerg Exp $
|
|Clang rejects ordering relations for nullptr, so introduce a template
|indirection.
|
|--- ext/json11/json11.cpp.orig	2017-01-13 08:55:55.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 /data/pkgsrc/net/powerdns-recursor/patches/patch-iputils.hh
=> Applying pkgsrc patch /data/pkgsrc/net/powerdns-recursor/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.4 2017/06/15 07:15:57 fhajny Exp $
|
|- IP_PKTINFO structure different on NetBSD than expected.
|
|--- iputils.hh.orig	2017-06-13 09:58:51.000000000 +0000
|+++ iputils.hh
--------------------------
Patching file iputils.hh using Plan A...
Hunk #1 succeeded at 38.
done
=> Verifying /data/pkgsrc/net/powerdns-recursor/patches/patch-portsmplexer.cc
=> Applying pkgsrc patch /data/pkgsrc/net/powerdns-recursor/patches/patch-portsmplexer.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-portsmplexer.cc,v 1.2 2020/04/16 13:09:28 jperkin Exp $
|
|Pull in upstream patch from https://github.com/PowerDNS/pdns/pull/9031
|
|--- portsmplexer.cc.orig	2020-04-16 12:54:40.155420464 +0000
|+++ portsmplexer.cc
--------------------------
Patching file portsmplexer.cc using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 79.
Hunk #3 succeeded at 138.
done
=> Verifying /data/pkgsrc/net/powerdns-recursor/patches/patch-qtype.hh
=> Applying pkgsrc patch /data/pkgsrc/net/powerdns-recursor/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/09 13:43:49 fhajny Exp $
|
|Avoid symbol pollution on SunOS.
|
|--- qtype.hh.orig	2017-01-13 08:55:55.000000000 +0000
|+++ qtype.hh
--------------------------
Patching file qtype.hh using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /data/pkgsrc/net/powerdns-recursor/patches/patch-version.cc
=> Applying pkgsrc patch /data/pkgsrc/net/powerdns-recursor/patches/patch-version.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-version.cc,v 1.2 2020/03/17 19:07:29 adam Exp $
|
|Do not store configure args, as they contain workdir references.
|
|--- version.cc.orig	2020-03-17 17:04:42.000000000 +0000
|+++ version.cc
--------------------------
Patching file version.cc using Plan A...
Hunk #1 succeeded at 145.
done
===> Creating toolchain wrappers for powerdns-recursor-4.3.0
/bin/ln -s /data/scratch/net/powerdns-recursor/work/.buildlink/lib/pkgconfig/lua-5.3.pc /data/scratch/net/powerdns-recursor/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for powerdns-recursor-4.3.0
=> 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
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/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 '1000' is supported by ustar format... yes
checking whether GID '100' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for x86_64--netbsd-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 we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -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 whether clang++ supports C++11 features by default... yes
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 clang... /usr/bin/ld
checking if the linker (/usr/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 x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang 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 x86_64--netbsd-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 clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/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... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... error: invalid argument '-std=c++11' not allowed with 'C'
yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... yes
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... error: invalid argument '-std=c++11' not allowed with 'C'
NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether -latomic is needed for __atomic builtins... no
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 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 clock_gettime... none required
checking pkg-config is at least version 0.9.0... yes
checking if we need to link in protobuf... auto
checking for PROTOBUF... no
checking for protoc... no
checking for Boost headers version >= 1.42.0... yes
checking for Boost's header version... 1_73
checking boost/container/flat_set.hpp usability... yes
checking boost/container/flat_set.hpp presence... yes
checking for boost/container/flat_set.hpp... yes
checking for the flags needed to use pthreads... conftest.cpp:41:28: warning: variable 'th' is uninitialized when used here [-Wuninitialized]
pthread_t th; pthread_join(th, 0);
                           ^~
conftest.cpp:41:13: note: initialize the variable 'th' to silence this warning
pthread_t th; pthread_join(th, 0);
            ^
             = nullptr
1 warning generated.
-pthread
checking for the toolset name used by Boost for clang++... gcc42 -gcc
checking boost/system/error_code.hpp usability... yes
checking boost/system/error_code.hpp presence... yes
checking for boost/system/error_code.hpp... yes
checking for the Boost system library... no
checking boost/thread.hpp usability... yes
checking boost/thread.hpp presence... yes
checking for boost/thread.hpp... yes
checking for the Boost thread library... no
checking boost/context/execution_context_v2.hpp usability... no
checking boost/context/execution_context_v2.hpp presence... no
checking for boost/context/execution_context_v2.hpp... no
checking for the Boost context library... no
checking for getcontext... yes
checking for makecontext... yes
checking for swapcontext... yes
checking what context library to use for MTasker... System V ucontexts
checking whether to enable unit test building... no
checking whether to enable reproducible builds.... no
hostname: unknown option -- f
usage: hostname [-s] [name-of-host]
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... yes
checking lua.hpp usability... yes
checking lua.hpp presence... yes
checking for lua.hpp... yes
checking whether to enable verbose logging... no
checking for x86_64--netbsd-pkg-config... /data/scratch/net/powerdns-recursor/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 /usr/include/openssl/ecdsa.h usability... yes
checking /usr/include/openssl/ecdsa.h presence... yes
checking for /usr/include/openssl/ecdsa.h... yes
checking whether NID_X9_62_prime256v1 is declared... yes
checking whether NID_secp384r1 is declared... yes
checking whether NID_ED25519 is declared... yes
checking whether NID_ED448 is declared... yes
checking whether we will be linking in libsodium... auto
checking for LIBSODIUM... no
checking whether we will be linking in libdecaf... no
checking whether we will be linking in libcap... auto
checking for LIBCAP... no
checking if we need to link in Net SNMP... no
checking for ragel... no
checking for curl... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for strcasestr... yes
checking for getrandom... no
checking for arc4random... yes
checking for library containing pthread_setaffinity_np... (cached) no
checking whether to enable newly observed domain checking... checking for boost/system/error_code.hpp... (cached) yes
checking for the Boost system library... (cached) no
sed: conftest.cpp: No such file or directory
checking boost/filesystem/path.hpp usability... yes
checking boost/filesystem/path.hpp presence... yes
checking for boost/filesystem/path.hpp... yes
checking for the Boost filesystem library... no
no
checking whether we will have dnstap... auto
checking for FSTRM... no
checking whether we will enable compiler security checks... yes
checking whether C++ compiler handles -Werror -Wunknown-warning-option... yes
checking whether C++ compiler handles -pie... yes
checking whether C++ compiler handles -fstack-protector... yes
checking whether C++ compiler handles --param ssp-buffer-size=4... yes
checking whether C++ compiler handles -D_FORTIFY_SOURCE=2... yes
checking for how to force completely read-only GOT table... -Wl,-z -Wl,relro -Wl,-z -Wl,now
checking whether to enable AddressSanitizer... no
checking whether to enable MemorySanitizer... no
checking whether to enable ThreadSanitizer... no
checking whether to enable LeakSanitizer... no
checking whether to enable Undefined Behaviour Sanitizer... no
checking whether to enable code malloc-trace... no
checking whether to enable Valgrind support... 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... pdns-recursor
checking for virtualenv... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ext/Makefile
config.status: creating ext/json11/Makefile
config.status: creating ext/probds/Makefile
config.status: creating ext/yahttp/Makefile
config.status: creating ext/yahttp/yahttp/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: 
configure: Configuration summary
configure: =====================
configure: 
configure: PowerDNS Recursor configured with:  '--without-net-snmp' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--mandir=/usr/pkg/man' '--enable-option-checking=yes' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=clang' 'CFLAGS=-O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.3 -I/usr/include/readline' 'LDFLAGS=-L/usr/pkg/lib -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.3 -I/usr/include/readline' 'CXX=clang++' 'CXXFLAGS=-O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.3 -I/usr/include/readline -Wno-c++11-narrowing' 'PKG_CONFIG=/data/scratch/net/powerdns-recursor/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/data/scratch/net/powerdns-recursor/work/.buildlink/lib/pkgconfig:/data/scratch/net/powerdns-recursor/work/.buildlink/share/pkgconfig'
configure: 
configure: CC: clang
configure: CXX: clang++
configure: LD: /usr/bin/ld
configure: CFLAGS: -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -Wall -Wextra -Wshadow -Wno-unused-parameter -g -O2 -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.3 -I/usr/include/readline
configure: CPPFLAGS: -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.3 -I/usr/include/readline
configure: CXXFLAGS:  -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -pthread -Wall -Wextra -Wshadow -Wno-unused-parameter -g -O2 -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.3 -I/usr/include/readline -Wno-c++11-narrowing
configure: LDFLAGS: -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -L/usr/pkg/lib -pthread -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib
configure: LIBS: 
configure: BOOST_CPPFLAGS:  -pthread
configure: 
configure: Features enabled
configure: ----------------
configure: Lua: lua-5.3
configure: OpenSSL ECDSA: yes
configure: ed25519: yes
configure: ed448: yes
configure: Protobuf: no
configure: SNMP: no
configure: systemd: no
configure: nod: no
configure: dnstap: no
configure: Context library: System V ucontexts
configure: