=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> 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 pdns-recursor-4.1.4 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/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-recursor/work/pdns-recursor-4.1.4/build-aux/missing autoconf cd . && /bin/sh /data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/build-aux/missing automake-1.14 --foreign 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. 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. /bin/sh ./config.status --recheck cd . && /bin/sh ./config.status Makefile depfiles config.status: creating Makefile config.status: executing depfiles commands /bin/sh ./config.status --recheck ./incfiles > htmlfiles.h (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/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-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck Making all in ext gmake[2]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext' cd .. && /usr/pkg/bin/gmake am--refresh gmake[3]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[3]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' 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-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[3]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' Making all in yahttp gmake[3]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/yahttp' cd ../.. && /usr/pkg/bin/gmake am--refresh gmake[4]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[4]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' 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-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[4]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' Making all in yahttp gmake[4]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/yahttp/yahttp' cd ../../.. && /usr/pkg/bin/gmake am--refresh gmake[5]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[5]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' 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-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[5]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' CXX reqresp.lo CXX router.lo CXXLD libyahttp.la gmake[4]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/yahttp/yahttp' gmake[4]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/yahttp' cd ../.. && /usr/pkg/bin/gmake am--refresh gmake[5]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[5]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' gmake[4]: Nothing to be done for 'all-am'. gmake[4]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/yahttp' gmake[3]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/yahttp' Making all in json11 gmake[3]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/json11' cd ../.. && /usr/pkg/bin/gmake am--refresh gmake[4]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[4]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' 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-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[4]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' CXX json11.lo CXXLD libjson11.la gmake[3]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext/json11' gmake[3]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext' cd .. && /usr/pkg/bin/gmake am--refresh gmake[4]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck gmake[4]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext' gmake[2]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4/ext' gmake[2]: Entering directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' /bin/sh ./config.status --recheck CXX arguments.o CXX dnsname.o CXX dnsrecords.o CXX qtype.o CXX dnsparser.o CXX logger.o CXX unix_utility.o CXX dnssecinfra.o CXX misc.o CXX base32.o CXX rec_control.o CXX dnslabeltext.o CXX rec_channel.o CXX dns.o CXX base64.o CXX dns_random.o CXX dnswriter.o CXX ednsoptions.o In file included from rec_channel.cc:4: In file included from ./rec_channel.hh:30: In file included from ./iputils.hh:33: In file included from ./pdnsexception.hh:28: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from unix_utility.cc:25: In file included from ./utility.hh:47: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from base32.cc:32: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from logger.cc:25: In file included from ./logger.hh:31: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from rec_control.cc:25: In file included from ./rec_channel.hh:30: In file included from ./iputils.hh:33: In file included from ./pdnsexception.hh:28: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from dnsrecords.cc:25: In file included from ./utility.hh:47: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from dnslabeltext.rl:7: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from dnssecinfra.cc:25: In file included from ./dnsparser.hh:32: In file included from ./misc.hh:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:23: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/split.hpp:16: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function.hpp:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/detail/prologue.hpp:17: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/function_base.hpp:21: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from misc.cc:36: In file included from ./misc.hh:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:23: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/split.hpp:16: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function.hpp:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/detail/prologue.hpp:17: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/function_base.hpp:21: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from dnsparser.cc:22: In file included from ./dnsparser.hh:32: In file included from ./misc.hh:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:23: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/split.hpp:16: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function.hpp:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/detail/prologue.hpp:17: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/function_base.hpp:21: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from arguments.cc:25: In file included from ./arguments.hh:31: In file included from ./misc.hh:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string.hpp:23: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/split.hpp:16: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/iter_find.hpp:27: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/find_iterator.hpp:24: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/algorithm/string/detail/find_iterator.hpp:18: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function.hpp:30: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/detail/prologue.hpp:17: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/function/function_base.hpp:21: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from dns.cc:25: In file included from ./dns.hh:28: In file included from ./qtype.hh:27: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from ednsoptions.cc:22: In file included from ./dns.hh:28: In file included from ./qtype.hh:27: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ 1 warning generated. CXX ednssubnet.o In file included from qtype.cc:22: In file included from ./dns.hh:28: In file included from ./qtype.hh:27: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from dnsname.cc:26: In file included from ./dnswriter.hh:28: In file included from ./dns.hh:28: In file included from ./qtype.hh:27: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from dnswriter.cc:29: In file included from ./dnswriter.hh:28: In file included from ./dns.hh:28: In file included from ./qtype.hh:27: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ 1 warning generated. 1 warning generated. CXX filterpo.o CXX gettime.o 1 warning generated. CXX gss_context.o CXX iputils.o misc.cc:1328:3: error: unknown type name 'cpu_set_t'; did you mean 'cpuset_t'? cpu_set_t cpuset; ^~~~~~~~~ cpuset_t /usr/include/sys/sched.h:98:24: note: 'cpuset_t' declared here typedef struct _cpuset cpuset_t; ^ misc.cc:1328:13: error: variable has incomplete type 'cpuset_t' (aka '_cpuset') cpu_set_t cpuset; ^ /usr/include/sys/sched.h:98:16: note: forward declaration of '_cpuset' typedef struct _cpuset cpuset_t; ^ 1 warning generated. 1 warning generated. CXX ixfr.o 1 warning generated. CXX json.o CXX lua-recursor4.o In file included from ednssubnet.cc:25: In file included from ./ednssubnet.hh:25: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ 1 warning and 2 errors generated. gmake[2]: *** [Makefile:1312: misc.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 1 warning generated. 1 warning generated. In file included from filterpo.cc:26: In file included from ./filterpo.hh:23: In file included from ./iputils.hh:33: In file included from ./pdnsexception.hh:28: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from iputils.cc:25: In file included from ./iputils.hh:33: In file included from ./pdnsexception.hh:28: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from ixfr.cc:22: In file included from ./ixfr.hh:22: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from gss_context.cc:27: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ In file included from lua-recursor4.cc:23: In file included from ./syncres.hh:35: In file included from ./utility.hh:47: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ 1 warning generated. In file included from json.cc:26: In file included from ./namespaces.hh:29: In file included from /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/any.hpp:20: /data/scratch/net/powerdns-recursor/work/.buildlink/include/boost/type_index.hpp:37:20: warning: unknown pragma ignored [-Wunknown-pragmas] # pragma detect_mismatch( "boost__type_index__abi", "RTTI is used") ^ 1 warning generated. 1 warning generated. 1 warning generated. 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:531:26: note: expanded from macro 'CMSG_DATA' #define CMSG_DATA(cmsg) (__CASTV(u_char *, cmsg) + __CMSG_ASIZE) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:622:42: note: expanded from macro '__CASTV' #define __CASTV(__dt, __st) __CAST(__dt, __CAST(void *, __st)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:617:28: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ ~~~~ /usr/include/sys/cdefs.h:617: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:531:26: note: expanded from macro 'CMSG_DATA' #define CMSG_DATA(cmsg) (__CASTV(u_char *, cmsg) + __CMSG_ASIZE) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:622:42: note: expanded from macro '__CASTV' #define __CASTV(__dt, __st) __CAST(__dt, __CAST(void *, __st)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:617:28: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^ ~~~~ /usr/include/sys/cdefs.h:617:46: note: expanded from macro '__CAST' #define __CAST(__dt, __st) static_cast<__dt>(__st) ^~~~ 1 warning and 2 errors generated. gmake[2]: *** [Makefile:1312: iputils.o] Error 1 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. 1 warning generated. gmake[2]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' gmake[1]: *** [Makefile:1436: all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/net/powerdns-recursor/work/pdns-recursor-4.1.4' gmake: *** [Makefile:1036: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/powerdns-recursor *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/powerdns-recursor