=> 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'.
===> Building for powerdns-4.1.1
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/scratch/net/powerdns/work/pdns-4.1.1/build-aux/missing aclocal-1.14 -I m4
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.ac'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/scratch/net/powerdns/work/pdns-4.1.1/build-aux/missing autoconf
 cd . && /bin/sh /data/scratch/net/powerdns/work/pdns-4.1.1/build-aux/missing automake-1.14 --foreign
WARNING: 'automake' is missing on your system.  You should only need it if
         you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'.
         You might want to install the Automake and Perl packages.
         Grab them from any GNU archive site.
WARNING: 'autoconf' is missing on your system.  You should only need it if
         you modified 'configure.ac'.  You might want to install the
         Autoconf and GNU m4 packages.  Grab them from any GNU
         archive site.
/bin/sh ./config.status --recheck
 cd . && /bin/sh ./config.status Makefile 
config.status: creating Makefile
/bin/sh ./config.status --recheck
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/scratch/net/powerdns/work/pdns-4.1.1/build-aux/missing autoheader)
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.ac'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
Making all in ext
gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd .. && /bin/sh ./config.status ext/Makefile 
config.status: creating ext/Makefile
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
Making all in yahttp
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/yahttp'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd ../.. && /bin/sh ./config.status ext/yahttp/Makefile 
config.status: creating ext/yahttp/Makefile
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
Making all in yahttp
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/yahttp/yahttp'
cd ../../.. && /usr/pkg/bin/gmake  am--refresh
gmake[5]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[5]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd ../../.. && /bin/sh ./config.status ext/yahttp/yahttp/Makefile depfiles
config.status: creating ext/yahttp/yahttp/Makefile
config.status: executing depfiles commands
cd ../../.. && /usr/pkg/bin/gmake  am--refresh
gmake[5]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[5]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
  CXX      reqresp.lo
  CXX      router.lo
  CXXLD    libyahttp.la
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/yahttp/yahttp'
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/yahttp'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[5]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[5]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
gmake[4]: Nothing to be done for 'all-am'.
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/yahttp'
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/yahttp'
Making all in json11
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/json11'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd ../.. && /bin/sh ./config.status ext/json11/Makefile depfiles
config.status: creating ext/json11/Makefile
config.status: executing depfiles commands
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
  CXX      json11.lo
  CXXLD    libjson11.la
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext/json11'
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext'
gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/ext'
Making all in modules
gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd .. && /bin/sh ./config.status modules/Makefile 
config.status: creating modules/Makefile
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
Making all in bindbackend
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/bindbackend'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd ../.. && /bin/sh ./config.status modules/bindbackend/Makefile depfiles
config.status: creating modules/bindbackend/Makefile
config.status: executing depfiles commands
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/usr/pkg/bin/gmake  all-am
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/bindbackend'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[5]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[5]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
  CXX      binddnssec.lo
  CXX      bindbackend2.lo
  CXXLD    libbindbackend.la
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/bindbackend'
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/bindbackend'
Making all in pipebackend
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/pipebackend'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd ../.. && /bin/sh ./config.status modules/pipebackend/Makefile depfiles
config.status: creating modules/pipebackend/Makefile
config.status: executing depfiles commands
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
  CXX      coprocess.lo
  CXX      pipebackend.lo
  CXXLD    libpipebackend.la
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/pipebackend'
Making all in randombackend
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/randombackend'
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd ../.. && /bin/sh ./config.status modules/randombackend/Makefile depfiles
config.status: creating modules/randombackend/Makefile
config.status: executing depfiles commands
cd ../.. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
  CXX      randombackend.lo
  CXXLD    librandombackend.la
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules/randombackend'
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules'
gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/modules'
Making all in codedocs
gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/codedocs'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd .. && /bin/sh ./config.status codedocs/Makefile 
config.status: creating codedocs/Makefile
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/codedocs'
Making all in docs
gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/docs'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd .. && /bin/sh ./config.status docs/Makefile 
config.status: creating docs/Makefile
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/docs'
Making all in pdns
gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/pdns'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
 cd .. && /bin/sh ./config.status pdns/Makefile depfiles
config.status: creating pdns/Makefile
config.status: executing depfiles commands
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1/pdns'
cd .. && /usr/pkg/bin/gmake  am--refresh
gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
/bin/sh ./config.status --recheck
gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
  CXX      dynloader.o
  CXX      dynmessenger.o
  CXX      logger.o
  CXX      misc.o
  CXX      qtype.o
  CXX      statbag.o
  CXX      unix_utility.o
  CXX      auth-caches.o
  CXX      dnsname.o
  CXX      base32.o
  CXX      auth-packetcache.o
  CXX      auth-querycache.o
  CXX      base64.o
  CXX      arguments.o
  CXX      dnslabeltext.o
  CC       bindlexer.o
  CXX      bindparser.o
  CXX      dbdnsseckeeper.o
  CXX      dnsbackend.o
  CXX      dns.o
  CXX      dnspacket.o
  CXX      dnsparser.o
  CXX      dns_random.o
  CXX      dnsrecords.o
  CXX      dnssecinfra.o
  CXX      dnssecsigner.o
  CXX      dnswriter.o
  CXX      dynlistener.o
  CXX      ednsoptions.o
  CXX      ednssubnet.o
  CXX      gss_context.o
  CXX      iputils.o
  CXX      json.o
  CXX      nsecrecords.o
  CXX      opensslsigners.o
  CXX      pdnsutil.o
  CXX      randomhelper.o
  CXX      rcpgenerator.o
  CXX      serialtweaker.o
iputils.cc:160:46: error: static_cast from 'const struct cmsghdr *' to 'void *' is not allowed
      struct in_addr *i = (struct in_addr *) CMSG_DATA(cmsg);
                                             ^~~~~~~~~~~~~~~
/usr/include/sys/socket.h:583:26: note: expanded from macro 'CMSG_DATA'
#define CMSG_DATA(cmsg) (__CASTV(u_char *, cmsg) + __CMSG_ASIZE)
                         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/cdefs.h:609:42: note: expanded from macro '__CASTV'
#define __CASTV(__dt, __st)     __CAST(__dt, __CAST(void *, __st))
                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/cdefs.h:604:28: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      static_cast<__dt>(__st)
                                ^                 ~~~~
/usr/include/sys/cdefs.h:604:46: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      static_cast<__dt>(__st)
                                                  ^~~~
iputils.cc:168:56: error: static_cast from 'const struct cmsghdr *' to 'void *' is not allowed
        struct in6_pktinfo *i = (struct in6_pktinfo *) CMSG_DATA(cmsg);
                                                       ^~~~~~~~~~~~~~~
/usr/include/sys/socket.h:583:26: note: expanded from macro 'CMSG_DATA'
#define CMSG_DATA(cmsg) (__CASTV(u_char *, cmsg) + __CMSG_ASIZE)
                         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/cdefs.h:609:42: note: expanded from macro '__CASTV'
#define __CASTV(__dt, __st)     __CAST(__dt, __CAST(void *, __st))
                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/cdefs.h:604:28: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      static_cast<__dt>(__st)
                                ^                 ~~~~
/usr/include/sys/cdefs.h:604:46: note: expanded from macro '__CAST'
#define __CAST(__dt, __st)      static_cast<__dt>(__st)
                                                  ^~~~
2 errors generated.
Makefile:2579: recipe for target 'iputils.o' failed
gmake[3]: *** [iputils.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/pdns'
Makefile:2143: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1/pdns'
Makefile:540: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.1.1'
Makefile:471: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/net/powerdns
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/net/powerdns