Guest User

ring-build-fail

a guest
Jan 19th, 2019
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. make[4]: Entering directory '/jami-git/ring-project/daemon/src/ringdht'
  2. CXX libringacc_la-ringaccount.lo
  3. CXX libringacc_la-sips_transport_ice.lo
  4. CXX libringacc_la-accountarchive.lo
  5. CXX libringacc_la-p2p.lo
  6. CXX libringacc_la-namedirectory.lo
  7. ringaccount.cpp: In member function ‘void ring::RingAccount::trackPresence(const InfoHash&, ring::RingAccount::BuddyInfo&)’:
  8. ringaccount.cpp:2011:6: error: no matching function for call to ‘dht::DhtRunner::listen<ring::RingAccount::DeviceAnnouncement>(const InfoHash&, ring::RingAccount::trackPresence(const InfoHash&, ring::RingAccount::BuddyInfo&)::<lambda(ring::RingAccount::DeviceAnnouncement&&, bool)>)’
  9. });
  10. ^
  11. In file included from ringaccount.h:40,
  12. from ringaccount.cpp:28:
  13. /usr/include/opendht/dhtrunner.h:154:25: note: candidate: ‘template<class T> std::future<long unsigned int> dht::DhtRunner::listen(dht::InfoHash, std::function<bool(std::vector<_RealType>&&)>)’
  14. std::future<size_t> listen(InfoHash hash, std::function<bool(std::vector<T>&&)> cb)
  15. ^~~~~~
  16. /usr/include/opendht/dhtrunner.h:154:25: note: template argument deduction/substitution failed:
  17. ringaccount.cpp:2011:6: note: cannot convert ‘<lambda closure object>ring::RingAccount::trackPresence(const InfoHash&, ring::RingAccount::BuddyInfo&)::<lambda(ring::RingAccount::DeviceAnnouncement&&, bool)>{((ring::RingAccount*)this), (* & h)}’ (type ‘ring::RingAccount::trackPresence(const InfoHash&, ring::RingAccount::BuddyInfo&)::<lambda(ring::RingAccount::DeviceAnnouncement&&, bool)>’) to type ‘std::function<bool(std::vector<ring::RingAccount::DeviceAnnouncement, std::allocator<ring::RingAccount::DeviceAnnouncement> >&&)>’
  18. });
  19. ^
  20. In file included from ringaccount.h:40,
  21. from ringaccount.cpp:28:
  22. /usr/include/opendht/dhtrunner.h:162:25: note: candidate: ‘template<class T> std::future<long unsigned int> dht::DhtRunner::listen(dht::InfoHash, std::function<bool(T&&)>, dht::Value::Filter, dht::Where)’
  23. std::future<size_t> listen(InfoHash hash, std::function<bool(T&&)> cb, Value::Filter f = Value::AllFilter(), Where w = {})
  24. ^~~~~~
  25. /usr/include/opendht/dhtrunner.h:162:25: note: template argument deduction/substitution failed:
  26. ringaccount.cpp:2011:6: note: cannot convert ‘<lambda closure object>ring::RingAccount::trackPresence(const InfoHash&, ring::RingAccount::BuddyInfo&)::<lambda(ring::RingAccount::DeviceAnnouncement&&, bool)>{((ring::RingAccount*)this), (* & h)}’ (type ‘ring::RingAccount::trackPresence(const InfoHash&, ring::RingAccount::BuddyInfo&)::<lambda(ring::RingAccount::DeviceAnnouncement&&, bool)>’) to type ‘std::function<bool(ring::RingAccount::DeviceAnnouncement&&)>’
  27. });
  28. ^
  29. make[4]: *** [Makefile:587: libringacc_la-ringaccount.lo] Error 1
  30. make[4]: *** Waiting for unfinished jobs....
  31. make[4]: Leaving directory '/jami-git/ring-project/daemon/src/ringdht'
  32. make[3]: *** [Makefile:634: all-recursive] Error 1
  33. make[3]: Leaving directory '/jami-git/ring-project/daemon/src/ringdht'
  34. make[2]: *** [Makefile:1048: all-recursive] Error 1
  35. make[2]: Leaving directory '/jami-git/ring-project/daemon/src'
  36. make[1]: *** [Makefile:542: all-recursive] Error 1
  37. make[1]: Leaving directory '/jami-git/ring-project/daemon'
  38. make: *** [Makefile:473: all] Error 2
  39. Error executing script! Exit code: 512
RAW Paste Data