=> 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'. ===> Building for powerdns-4.2.1nb2 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1' Making all in ext gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext' Making all in ipcrypt gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/ipcrypt' CC ipcrypt.lo CCLD libipcrypt.la gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/ipcrypt' Making all in json11 gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/json11' CXX json11.lo CXXLD libjson11.la gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/json11' Making all in yahttp gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/yahttp' Making all in yahttp gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/yahttp/yahttp' CXX router.lo CXX reqresp.lo CXXLD libyahttp.la gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/yahttp/yahttp' gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/yahttp' gmake[4]: Nothing to be done for 'all-am'. gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/yahttp' gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext/yahttp' gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext' gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/ext' Making all in modules gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules' Making all in bindbackend gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/bindbackend' /usr/pkg/bin/gmake all-am gmake[4]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/bindbackend' CXX binddnssec.lo CXX bindbackend2.lo CXXLD libbindbackend.la gmake[4]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/bindbackend' gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/bindbackend' Making all in pipebackend gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/pipebackend' CXX pipebackend.lo CXX coprocess.lo CXXLD libpipebackend.la gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/pipebackend' Making all in randombackend gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/randombackend' CXX randombackend.lo CXXLD librandombackend.la gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules/randombackend' gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules' gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/modules' Making all in pdns gmake[2]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/pdns' /usr/pkg/bin/gmake all-am gmake[3]: Entering directory '/data/scratch/net/powerdns/work/pdns-4.2.1/pdns' CXX dynmessenger.o CXX logger.o CXX unix_utility.o CXX arguments.o CXX statbag.o CXX misc.o CXX dynloader.o CXX qtype.o misc.cc:603:5: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(first,second); ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ misc.cc:614:5: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(first,second); ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ misc.cc:632:5: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(first,second); ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ misc.cc:643:5: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(first,second); ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CXX dnsname.o CXX dnslabeltext.o CXX auth-caches.o CXX auth-packetcache.o CXX auth-querycache.o CXX base32.o CXX base64.o CC bindlexer.o CXX bindparser.o CXX dbdnsseckeeper.o CXX dnsbackend.o 4 warnings generated. CXX dns.o CXX dnspacket.o CXX dnsparser.o CXX dns_random.o CXX dnsrecords.o dnsbackend.cc:141:19: warning: loop variable 'part' creates a copy from type 'const std::__1::basic_string, std::__1::allocator>' [-Wrange-loop-construct] for (const auto part : parts) ^ dnsbackend.cc:141:8: note: use reference type 'const std::__1::basic_string, std::__1::allocator> &' to prevent copying for (const auto part : parts) ^~~~~~~~~~~~~~~~~ & CXX dnssecinfra.o CXX dnssecsigner.o 1 warning generated. CXX dnswriter.o CXX dynlistener.o CXX ednsoptions.o dnssecinfra.cc:140:36: warning: loop variable 'value' of type 'const stormap_t::value_type &' (aka 'const pair, std::__1::allocator>, std::__1::basic_string, std::__1::allocator>> &') binds to a temporary constructed from type 'std::__1::__wrap_iter, std::__1::allocator>, std::__1::basic_string, std::__1::allocator>> *>::reference' (aka 'std::__1::pair, std::__1::allocator>, std::__1::basic_string, std::__1::allocator>> &') [-Wrange-loop-construct] for(const stormap_t::value_type& value : stormap) { ^ dnssecinfra.cc:140:7: note: use non-reference type 'stormap_t::value_type' (aka 'pair, std::__1::allocator>, std::__1::basic_string, std::__1::allocator>>') to make construction explicit or type 'const std::__1::pair, std::__1::allocator>, std::__1::basic_string, std::__1::allocator>> &' to prevent copying for(const stormap_t::value_type& value : stormap) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX ednssubnet.o CXX gss_context.o CXX ipcipher.o CXX iputils.o 1 warning generated. CXX json.o CXX lua-auth4.o CXX lua-base4.o CXX nsecrecords.o CXX opensslsigners.o CXX pdnsutil.o CXX rcpgenerator.o CXX serialtweaker.o CXX signingpipe.o CXX sillyrecords.o CXX stubresolver.o CXX threadname.o pdnsutil.cc:784:21: warning: loop variable 'di' creates a copy from type 'const DomainInfo' [-Wrange-loop-construct] for (auto const di : domainInfo) { ^ pdnsutil.cc:784:10: note: use reference type 'const DomainInfo &' to prevent copying for (auto const di : domainInfo) { ^~~~~~~~~~~~~~~ & pdnsutil.cc:1562:24: warning: loop variable 'i' creates a copy from type 'const std::__1::basic_string, std::__1::allocator>' [-Wrange-loop-construct] for(const auto i : m.second) ^ pdnsutil.cc:1562:13: note: use reference type 'const std::__1::basic_string, std::__1::allocator> &' to prevent copying for(const auto i : m.second) ^~~~~~~~~~~~~~ & pdnsutil.cc:2098:21: warning: loop variable 'algoWithBackend' creates a copy from type 'const std::__1::pair, std::__1::allocator>>' [-Wrange-loop-construct] for (auto const algoWithBackend : algosWithBackend){ ^ pdnsutil.cc:2098:10: note: use reference type 'const std::__1::pair, std::__1::allocator>> &' to prevent copying for (auto const algoWithBackend : algosWithBackend){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ & pdnsutil.cc:3007:24: warning: loop variable 'kind' creates a copy from type 'const std::__1::string' (aka 'const basic_string, allocator>') [-Wrange-loop-construct] for(const string kind : keys) { ^ pdnsutil.cc:3007:11: note: use reference type 'const std::__1::string &' (aka 'const basic_string, allocator> &') to prevent copying for(const string kind : keys) { ^~~~~~~~~~~~~~~~~~~ & signingpipe.cc:202:5: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(rwVect.second.begin(), rwVect.second.end()); // pick random available worker ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ signingpipe.cc:251:5: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(rwVect.second.begin(), rwVect.second.end()); // pick random available worker ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CXX tsigutils.o CXX ueberbackend.o CXX zoneparser-tng.o 2 warnings generated. CXX dns_random_urandom.o CXX zone2sql.o CXX zone2json.o CXX auth-carbon.o CXX common_startup.o CXX communicator.o CXX dnsproxy.o CXX dynhandler.o CXX ixfr.o CXX mastercommunicator.o CXX nameserver.o CXX packethandler.o CXX receiver.o CXX resolver.o dynhandler.cc:252:3: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(di.masters.begin(), di.masters.end()); ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ 4 warnings generated. CXX responsestats.o CXX responsestats-auth.o 1 warning generated. CXX rfc2136handler.o CXX secpoll-auth.o CXX slavecommunicator.o CXX tcpreceiver.o CXX tsigverifier.o CXX tkey.o CXX uuid-utils.o CXX unix_semaphore.o slavecommunicator.cc:140:22: warning: loop variable 'g' creates a copy from type 'const std::__1::pair, std::__1::pair>, std::__1::vector>>>' [-Wrange-loop-construct] for(const auto g : grouped) { ^ slavecommunicator.cc:140:11: note: use reference type 'const std::__1::pair, std::__1::pair>, std::__1::vector>>> &' to prevent copying for(const auto g : grouped) { ^~~~~~~~~~~~~~ & slavecommunicator.cc:701:5: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(dni.di.masters.begin(), dni.di.masters.end()); ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ CXX version.o CXX webserver.o CXX ws-api.o CXX ws-auth.o CXXLD pdns_control CXX backends/gsql/gsqlbackend.o CXXLD zone2sql CXXLD zone2json webserver.cc:110:74: error: use of undeclared identifier '_1' YaHTTP::THandlerFunction f = boost::bind(&bareHandlerWrapper, handler, _1, _2); ^ webserver.cc:110:78: error: use of undeclared identifier '_2' YaHTTP::THandlerFunction f = boost::bind(&bareHandlerWrapper, handler, _1, _2); ^ webserver.cc:182:74: error: use of undeclared identifier '_1' HandlerFunction f = boost::bind(&WebServer::apiWrapper, this, handler, _1, _2, allowPassword); ^ webserver.cc:182:78: error: use of undeclared identifier '_2' HandlerFunction f = boost::bind(&WebServer::apiWrapper, this, handler, _1, _2, allowPassword); ^ webserver.cc:199:74: error: use of undeclared identifier '_1' HandlerFunction f = boost::bind(&WebServer::webWrapper, this, handler, _1, _2); ^ webserver.cc:199:78: error: use of undeclared identifier '_2' HandlerFunction f = boost::bind(&WebServer::webWrapper, this, handler, _1, _2); ^ 6 errors generated. gmake[3]: *** [Makefile:3029: webserver.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... 2 warnings generated. ws-auth.cc:1817:3: warning: 'random_shuffle>' is deprecated [-Wdeprecated-declarations] random_shuffle(di.masters.begin(), di.masters.end()); ^ /usr/include/c++/algorithm:3095:1: note: 'random_shuffle>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /usr/include/c++/__config:995:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /usr/include/c++/__config:978:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__ ((deprecated)) ^ ws-auth.cc:2169:24: warning: loop variable 'di' creates a copy from type 'const DomainInfo' [-Wrange-loop-construct] for(const DomainInfo di: domains) ^ ws-auth.cc:2169:7: note: use reference type 'const DomainInfo &' to prevent copying for(const DomainInfo di: domains) ^~~~~~~~~~~~~~~~~~~~ & ws-auth.cc:2300:93: error: use of undeclared identifier '_1' d_ws->registerWebHandler("/style.css", boost::bind(&AuthWebServer::cssfunction, this, _1, _2)); ^ ws-auth.cc:2300:97: error: use of undeclared identifier '_2' d_ws->registerWebHandler("/style.css", boost::bind(&AuthWebServer::cssfunction, this, _1, _2)); ^ ws-auth.cc:2301:86: error: use of undeclared identifier '_1' d_ws->registerWebHandler("/", boost::bind(&AuthWebServer::indexfunction, this, _1, _2)); ^ ws-auth.cc:2301:90: error: use of undeclared identifier '_2' d_ws->registerWebHandler("/", boost::bind(&AuthWebServer::indexfunction, this, _1, _2)); ^ In file included from ws-auth.cc:26: In file included from ./dynlistener.hh:32: In file included from ./iputils.hh:34: In file included from ./misc.hh:32: In file included from /data/scratch/net/powerdns/work/.buildlink/include/boost/multi_index/ordered_index.hpp:17: In file included from /data/scratch/net/powerdns/work/.buildlink/include/boost/multi_index/detail/ord_index_impl.hpp:81: /data/scratch/net/powerdns/work/.buildlink/include/boost/bind/bind.hpp:398:9: error: no matching function for call to object of type 'boost::_mfi::mf2' unwrapper::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/net/powerdns/work/.buildlink/include/boost/bind/bind.hpp:1318:16: note: in instantiation of function template specialization 'boost::_bi::list3, boost::arg<1>, boost::_bi::value>>::operator(), boost::_bi::rrlist2>' requested here return l_( type(), f_, a, 0 ); ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/function/function_template.hpp:158:33: note: in instantiation of function template specialization 'boost::_bi::bind_t, boost::_bi::list3, boost::arg<1>, boost::_bi::value>>>::operator()' requested here BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS)); ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/function/function_template.hpp:940:53: note: in instantiation of member function 'boost::detail::function::void_function_obj_invoker2, boost::_bi::list3, boost::arg<1>, boost::_bi::value>>>, void, HttpRequest *, HttpResponse *>::invoke' requested here { { &manager_type::manage }, &invoker_type::invoke }; ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/function/function_template.hpp:720:13: note: in instantiation of function template specialization 'boost::function2::assign_to, boost::_bi::list3, boost::arg<1>, boost::_bi::value>>>>' requested here this->assign_to(f); ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/function/function_template.hpp:1086:5: note: in instantiation of function template specialization 'boost::function2::function2, boost::_bi::list3, boost::arg<1>, boost::_bi::value>>>>' requested here base_type(f) ^ ws-auth.cc:2300:46: note: in instantiation of function template specialization 'boost::function::function, boost::_bi::list3, boost::arg<1>, boost::_bi::value>>>>' requested here d_ws->registerWebHandler("/style.css", boost::bind(&AuthWebServer::cssfunction, this, _1, _2)); ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/bind/mem_fn_template.hpp:278:7: note: candidate function not viable: no known conversion from 'std::__1::placeholders::__ph<2>' to 'HttpResponse *' for 3rd argument R operator()(T * p, A1 a1, A2 a2) const ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/bind/mem_fn_template.hpp:283:25: note: candidate function template not viable: no known conversion from 'std::__1::placeholders::__ph<2>' to 'HttpResponse *' for 3rd argument template R operator()(U & u, A1 a1, A2 a2) const ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/bind/mem_fn_template.hpp:291:25: note: candidate function template not viable: no known conversion from 'std::__1::placeholders::__ph<2>' to 'HttpResponse *' for 3rd argument template R operator()(U const & u, A1 a1, A2 a2) const ^ /data/scratch/net/powerdns/work/.buildlink/include/boost/bind/mem_fn_template.hpp:299:7: note: candidate function not viable: no known conversion from 'AuthWebServer *' to 'AuthWebServer &' for 1st argument; dereference the argument with * R operator()(T & t, A1 a1, A2 a2) const ^ 2 warnings and 5 errors generated. gmake[3]: *** [Makefile:3029: ws-auth.o] Error 1 gmake[3]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/pdns' gmake[2]: *** [Makefile:2547: all] Error 2 gmake[2]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1/pdns' gmake[1]: *** [Makefile:569: all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/net/powerdns/work/pdns-4.2.1' gmake: *** [Makefile:501: 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