=> 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 dnsdist-1.1.0 GEN dnsmessage.pb.cc /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0' Making all in ext/yahttp gmake[2]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0/ext/yahttp' Making all in yahttp gmake[3]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0/ext/yahttp/yahttp' CXX router.lo CXX reqresp.lo CXXLD libyahttp.la gmake[3]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0/ext/yahttp/yahttp' gmake[3]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0/ext/yahttp' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0/ext/yahttp' gmake[2]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0/ext/yahttp' gmake[2]: Entering directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0' CXX dns.o CXX dnscrypt.o CXX dnsdist.o CXX dnsdist-dynbpf.o CXX dnsdist-cache.o CXX dnsdist-carbon.o CXX dnsdist-console.o CXX dnsdist-dnscrypt.o CXX dnsdist-ecs.o CXX bpf-filter.o CXX dnsdist-lua.o CXX dnsdist-tcp.o CXX dnsdist-protobuf.o CXX dnsdist-rings.o CXX dnsdist-web.o CXX dnsdist-lua2.o In file included from dnsdist-cache.cc:22: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from dnsdist-rings.cc:22: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from dnsdist-console.cc:22: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from dnsdist-dnscrypt.cc:23: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from dnsdist-protobuf.cc:24: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from dnsdist-web.cc:22: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ In file included from dnsdist.cc:22: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from dnsdist-lua2.cc:22: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from dnsdist-ecs.cc:23: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ In file included from In file included from dnsdist-lua.cc:dnsdist-tcp.cc25:: 22In file included from : ./dnsdist.hhIn file included from :24./dnsdist.hh: :./ext/luawrapper/include/LuaContext.hpp24:: 549./ext/luawrapper/include/LuaContext.hpp:16: :warning549: :moving a local object in a return statement prevents copy elision [-Wpessimizing-move]16 : warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note./ext/luawrapper/include/LuaContext.hpp: :remove std::move call here549 :16: return std::move(result); note ^~~~~~~~~~ ~: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132./ext/luawrapper/include/LuaContext.hpp:: 691warning:132: :moving a local object in a return statement prevents copy elision [-Wpessimizing-move] warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp./ext/luawrapper/include/LuaContext.hpp::691691::132132:: notenote: : remove std::move call hereremove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]./ext/luawrapper/include/LuaContext.hpp :1972:16: return std::move(obj);warning : ^moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here ./ext/luawrapper/include/LuaContext.hpp:1972:16 return std::move(obj);: ^~~~~~~~~~ ~ note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning./ext/luawrapper/include/LuaContext.hpp: :moving a local object in a return statement prevents copy elision [-Wpessimizing-move]2316 :16: note return std::move(obj);: remove std::move call here ^ return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ CXX dnslabeltext.o CXX dnsname.o In file included from dnsdist-carbon.cc:31: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ 8 warnings generated. CXX dnsparser.o dnsdist.cc:1478:7: warning: unused variable 'one' [-Wunused-variable] int one = 1; ^ 8 warnings generated. dnsdist.cc:2021:18: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] ret->tid = move(thread(responderThread, ret)); ^ dnsdist.cc:2021:18: note: remove std::move call here ret->tid = move(thread(responderThread, ret)); ^~~~~ ~ CXX dnsrulactions.o 8 warnings generated. CXX dnswriter.o CXX ednsoptions.o dnsdist-lua2.cc:669:44: warning: lambda capture 'client' is not used [-Wunused-lambda-capture] g_lua.writeFunction("newPacketCache", [client](size_t maxEntries, boost::optional maxTTL, boost::optional minTTL, boost::optional tempFailTTL, boost::optional staleTTL) { ^ dnsdist-lua2.cc:755:45: warning: lambda capture 'client' is not used [-Wunused-lambda-capture] g_lua.writeFunction("newRemoteLogger", [client](const std::string& remote, boost::optional timeout, boost::optional maxQueuedEntries, boost::optional reconnectWaitTime) { ^ CXX ednscookies.o dnsdist-lua.cc:256:16: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] ret->tid = move(thread(responderThread, ret)); ^ dnsdist-lua.cc:256:16: note: remove std::move call here ret->tid = move(thread(responderThread, ret)); ^~~~~ ~ dnsdist-lua.cc:260:19: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] ret->tid = move(thread(responderThread, ret)); ^ dnsdist-lua.cc:260:19: note: remove std::move call here ret->tid = move(thread(responderThread, ret)); ^~~~~ ~ dnsdist-lua.cc:402:21: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] ret->tid = move(thread(responderThread, ret)); ^ dnsdist-lua.cc:402:21: note: remove std::move call here ret->tid = move(thread(responderThread, ret)); ^~~~~ ~ dnsdist-lua.cc:406:17: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] ret->tid = move(thread(responderThread, ret)); ^ dnsdist-lua.cc:406:17: note: remove std::move call here ret->tid = move(thread(responderThread, ret)); ^~~~~ ~ 8 warnings generated. 8 warnings generated. CXX ednssubnet.o CXX gettime.o CXX iputils.o In file included from dnsrulactions.cc:22: In file included from ./dnsrulactions.hh:22: In file included from ./dnsdist.hh:24: ./ext/luawrapper/include/LuaContext.hpp:549:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ ./ext/luawrapper/include/LuaContext.hpp:549:16: note: remove std::move call here return std::move(result); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:691:132: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^ ./ext/luawrapper/include/LuaContext.hpp:691:132: note: remove std::move call here PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); } ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1533:20: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1533:20: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1972:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1972:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:1991:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:1991:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2010:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2028:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2028:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ ./ext/luawrapper/include/LuaContext.hpp:2316:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] return std::move(obj); ^ ./ext/luawrapper/include/LuaContext.hpp:2316:16: note: remove std::move call here return std::move(obj); ^~~~~~~~~~ ~ CXX misc.o 8 warnings generated. CXX protobuf.o CXX qtype.o 8 warnings generated. CXX remote_logger.o 8 warnings generated. CXX sodcrypto.o CXX statnode.o CXX dnsmessage.pb.o CXX ext/json11/json11.o 8 warnings generated. ext/json11/json11.cpp:153:24: error: invalid operands to binary expression ('nullptr_t' and 'nullptr_t') return m_value < static_cast *>(other)->m_value; ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext/json11/json11.cpp:209:5: note: in instantiation of member function 'json11::Value::less' requested here JsonNull() : Value(nullptr) {} ^ 1 error generated. Makefile:1029: recipe for target 'ext/json11/json11.o' failed gmake[2]: *** [ext/json11/json11.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 8 warnings generated. 10 warnings generated. 10 warnings generated. 12 warnings generated. gmake[2]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0' Makefile:1132: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/net/dnsdist/work/dnsdist-1.1.0' Makefile:828: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/dnsdist *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/dnsdist