=> 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 dnscrypt.o CXX dns.o CXX bpf-filter.o CXX dnsdist-dynbpf.o CXX dnsdist-cache.o CXX dnsdist-dnscrypt.o CXX dnsdist-carbon.o CXX dnsdist-ecs.o CXX dnsdist-console.o CXX dnsdist-lua.o CXX dnsdist-tcp.o CXX dnsdist-rings.o CXX dnsdist.o CXX dnsdist-web.o CXX dnsdist-lua2.o CXX dnsdist-protobuf.o 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); ^~~~~~~~~~ ~ ./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); ^ In file included from dnsdist-tcp.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: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: 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 ./ext/luawrapper/include/LuaContext.hpp PushedObject operator+(PushedObject&& other) && { PushedObject obj(state, num + other.num); num = 0; other.num = 0; return std::move(obj); }: 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:./ext/luawrapper/include/LuaContext.hpp :note1533: :remove std::move call here20 : warning return std::move(obj);: 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: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:2010:16: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] ./ext/luawrapper/include/LuaContext.hpp return std::move(obj);: 1972 ^: 16: note: remove std::move call here ./ext/luawrapper/include/LuaContext.hpp:2010:16 return std::move(obj);: ^~~~~~~~~~ ~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: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: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.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-lua.cc:25: 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: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: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); ^~~~~~~~~~ ~ 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: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./ext/luawrapper/include/LuaContext.hpp::2316691::16132:: notewarning: : remove std::move call heremoving a local object in a return statement prevents copy elision [-Wpessimizing-move] 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: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: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: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-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-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: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: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: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: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-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: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); ^~~~~~~~~~ ~ 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: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: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); ^~~~~~~~~~ ~ ./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 dnslabeltext.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); ^~~~~~~~~~ ~ CXX dnsname.o CXX dnsparser.o 8 warnings generated. CXX dnsrulactions.o CXX dnswriter.o 8 warnings generated. 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)); ^~~~~ ~ 8 warnings generated. CXX ednsoptions.o 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)); ^~~~~ ~ CXX ednscookies.o 8 warnings generated. CXX ednssubnet.o 8 warnings generated. 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.cc:1478:7: warning: unused variable 'one' [-Wunused-variable] int one = 1; ^ 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) { ^ 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 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); ^~~~~~~~~~ ~ 8 warnings generated. CXX misc.o 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. 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.... 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