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

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.6
=> Tool dependency bison>=1.0: found bison-3.0.4nb3
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency ragel-[0-9]*: found ragel-6.9
=> Build dependency boost-headers-1.63.*: found boost-headers-1.63.0
=> Build dependency boost-libs-1.63.*: found boost-libs-1.63.0
=> Build dependency boost-libs>=1.63.0: found boost-libs-1.63.0
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency powerdns>=4.0.3: found powerdns-4.0.3
=> Full dependency mysql-client>=5.5.10<5.6: found mysql-client-5.5.54
=> Full dependency mysql-client>=5.5.48nb1: found mysql-client-5.5.54
===> Overriding tools for powerdns-mysql-4.0.3
===> Extracting for powerdns-mysql-4.0.3
===> Patching for powerdns-mysql-4.0.3
=> Applying pkgsrc patches for powerdns-mysql-4.0.3
=> Verifying /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.4 2017/03/09 13:32:54 fhajny Exp $
|
|Portability.
|
|--- configure.orig	2017-01-17 08:44:02.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 25418 (offset -2 lines).
done
=> Verifying /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_dns.hh
=> Applying pkgsrc patch /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_dns.hh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pdns_dns.hh,v 1.5 2017/03/09 13:32:54 fhajny Exp $
|
|Add NetBSD support.
|
|--- pdns/dns.hh.orig	2017-01-17 08:43:49.000000000 +0000
|+++ pdns/dns.hh
--------------------------
Patching file pdns/dns.hh using Plan A...
Hunk #1 succeeded at 146.
done
=> Verifying /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_dnsscope.cc
=> Applying pkgsrc patch /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_dnsscope.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pdns_dnsscope.cc,v 1.3 2017/03/09 13:32:54 fhajny Exp $
|
|IP_OFFMASK not defined on SunOS.
|
|--- pdns/dnsscope.cc.orig	2017-01-17 08:43:49.000000000 +0000
|+++ pdns/dnsscope.cc
--------------------------
Patching file pdns/dnsscope.cc using Plan A...
Hunk #1 succeeded at 43.
done
=> Verifying /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_iputils.hh
=> Applying pkgsrc patch /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_iputils.hh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pdns_iputils.hh,v 1.1 2017/03/09 13:32:54 fhajny Exp $
|
|Do not use IP_PKTINFO on NetBSD, the structure is not as expected.
|
|--- pdns/iputils.hh.orig	2017-01-17 08:43:49.000000000 +0000
|+++ pdns/iputils.hh
--------------------------
Patching file pdns/iputils.hh using Plan A...
Hunk #1 succeeded at 40.
done
=> Verifying /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_qtype.hh
=> Applying pkgsrc patch /data/pkgsrc-current/net/powerdns-mysql/../../net/powerdns/patches/patch-pdns_qtype.hh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pdns_qtype.hh,v 1.1 2017/03/09 13:32:54 fhajny Exp $
|
|Avoid symbol pollution on SunOS.
|
|--- pdns/qtype.hh.orig	2017-01-17 08:43:49.000000000 +0000
|+++ pdns/qtype.hh
--------------------------
Patching file pdns/qtype.hh using Plan A...
Hunk #1 succeeded at 26.
done
===> Creating toolchain wrappers for powerdns-mysql-4.0.3
===> Configuring for powerdns-mysql-4.0.3
=> 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: --disable-pdns_server
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... plaintar
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... 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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for bison... /usr/pkg/bin/bison -y
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking if bison is the parser generator... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking if the lexer is flex... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking pkg-config is at least version 0.9.0... yes
checking whether we will be linking in LuaJIT... no
checking whether we will be linking in Lua... no
checking how to run the C++ preprocessor... c++ -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 whether c++ supports C++11 features by default... no
checking whether c++ supports C++11 features with -std=gnu++11... yes
checking whether we will enable compiler security checks... yes
checking whether C++ compiler handles -Werror -Wunknown-warning-option... no
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 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 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... /data/scratch/net/powerdns-mysql/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/net/powerdns-mysql/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... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
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 /data/scratch/net/powerdns-mysql/work/.cwrapper/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 gcc object... ok
checking for sysroot... no
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 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 (/data/scratch/net/powerdns-mysql/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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++... /data/scratch/net/powerdns-mysql/work/.cwrapper/bin/ld
checking if the linker (/data/scratch/net/powerdns-mysql/work/.cwrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/data/scratch/net/powerdns-mysql/work/.cwrapper/bin/ld) supports shared libraries... 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 (/data/scratch/net/powerdns-mysql/work/.cwrapper/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_gmtoff in struct tm... yes
checking pkg-config is at least version 0.9.0... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking whether we will be linking in Botan 1.10... no
checking whether we will be linking in libsodium... no
checking for x86_64--netbsd-pkg-config... /data/scratch/net/powerdns-mysql/work/.tools/bin/pkg-config
checking whether compiling and linking against OpenSSL's libcrypto works... yes
checking openssl/ecdsa.h usability... yes
checking openssl/ecdsa.h presence... yes
checking for openssl/ecdsa.h... yes
checking whether NID_X9_62_prime256v1 is declared... yes
checking whether NID_secp384r1 is declared... yes
checking for ragel... ragel
checking for library containing clock_gettime... none required
checking for Boost headers version >= 1.35.0... /usr/pkg/include
checking for Boost's header version... 1_63
checking for the toolset name used by Boost for c++... gcc48 -gcc
checking boost/program_options.hpp usability... yes
checking boost/program_options.hpp presence... yes
checking for boost/program_options.hpp... yes
checking for the Boost program_options library... yes
sed: conftest.o: No such file or directory
checking whether to enable unit test building... no
checking whether to enable backend unit test building... no
checking whether to enable reproducible builds.... no
hostname: unknown option -- f
usage: hostname [-s] [name-of-host]
checking whether user requires sqlite3... no
checking for pandoc... no
configure: WARNING: pandoc is missing, unable to build documentation and manpages.
checking for strcasestr... yes
checking for localtime_r... yes
checking for recvmmsg... yes
checking whether to enable verbose logging... no
checking whether to enable PKCS11 support... no
checking whether to enable experimental GSS-TSIG support... no
checking for MySQL library directory... /usr/pkg/lib
checking for MySQL include directory... /usr/pkg/include/mysql
checking whether to enable ZeroMQ connector in remotebackend... no
checking whether we will be building and installing the extra tools... no
checking if we need to link in protobuf... auto
checking for PROTOBUF... no
checking for protoc... no
checking whether we can build dynamic module "gmysql"... yes
checking systemd/sd-daemon.h usability... no
checking systemd/sd-daemon.h presence... no
checking for systemd/sd-daemon.h... no
checking whether to enable code coverage... no
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 that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/Makefile
config.status: creating pdns/Makefile
config.status: creating codedocs/Makefile
config.status: creating docs/Makefile
config.status: creating pdns/pdns.init
config.status: creating ext/Makefile
config.status: creating ext/yahttp/Makefile
config.status: creating ext/yahttp/yahttp/Makefile
config.status: creating ext/json11/Makefile
config.status: creating modules/bindbackend/Makefile
config.status: creating modules/geoipbackend/Makefile
config.status: creating modules/gmysqlbackend/Makefile
config.status: creating modules/godbcbackend/Makefile
config.status: creating modules/goraclebackend/Makefile
config.status: creating modules/gpgsqlbackend/Makefile
config.status: creating modules/gsqlite3backend/Makefile
config.status: creating modules/ldapbackend/Makefile
config.status: creating modules/luabackend/Makefile
config.status: creating modules/mydnsbackend/Makefile
config.status: creating modules/opendbxbackend/Makefile
config.status: creating modules/oraclebackend/Makefile
config.status: creating modules/pipebackend/Makefile
config.status: creating modules/randombackend/Makefile
config.status: creating modules/remotebackend/Makefile
config.status: creating modules/tinydnsbackend/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --disable-pdns_server
configure: 
configure: Configuration summary
configure: =====================
configure: 
configure: Configured with:  '--without-lua' '--with-boost=/usr/pkg' '--disable-pdns_server' '--with-modules=' '--with-dynmodules=gmysql' '--with-mysql-lib=/usr/pkg/lib' '--with-mysql-includes=/usr/pkg/include/mysql' '--prefix=/usr/pkg' '--libdir=/usr/pkg/lib/pdns' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -pthread -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -pthread -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql' 'YACC=/usr/pkg/bin/bison -y' 'CXX=c++' 'CXXFLAGS=-O2 -pthread -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql' 'PKG_CONFIG=/data/scratch/net/powerdns-mysql/work/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/data/scratch/net/powerdns-mysql/work/.buildlink/lib/pkgconfig:/data/scratch/net/powerdns-mysql/work/.buildlink/share/pkgconfig'
configure: 
configure: CC: gcc
configure: CXX: c++
configure: LD: /data/scratch/net/powerdns-mysql/work/.cwrapper/bin/ld
configure: CFLAGS: -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -O2 -pthread -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql
configure: CPPFLAGS: -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql
configure: CXXFLAGS:  -fPIE -DPIE -pthread -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -O2 -pthread -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/mysql -std=gnu++11
configure: LDFLAGS: -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -pthread -Wl,-R/usr/pkg/lib
configure: LIBS: 
configure: BOOST_CPPFLAGS: -I/usr/pkg/include
configure: 
configure: Features enabled
configure: ----------------
configure: Built-in modules: 
configure: Dynamic modules: gmysql
configure: 
configure: OpenSSL ecdsa: yes
configure: SQLite3: no
configure: Lua/LuaJit: no
configure: systemd: no
configure: 
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp