Project

General

Profile

Bug #1561

[pcr/ring] requires rebuild against enchant 2.1.2-2

ToffeeYogurtPots - over 6 years ago - . Updated about 6 years ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

50%


Description

ring-client-gnome fails to start on both my local and virtual machines. All are fully up-to-date.

[user@hostname ~]$ gnome-ring
gnome-ring: error while loading shared libraries: libenchant.so.1: cannot open shared object file: No such file or directory

History

#1

Updated by oaken-source over 6 years ago

  • Assignee set to lukeshu
  • Subject changed from [pcr/ring-client-gnome] requires rebuild against enchant 2.1.2-2 to [pcr/ring] requires rebuild against enchant 2.1.2-2

pcr/ring currently does not compile successfully, and seems to be out of date as well.

I am assigning this to the current maintainer :)

#2

Updated by bill-auger over 6 years ago

x86_46 is rebuilt today (20171024.1.eadbdeb-2.3) but i an getting a different error

$ pacman -Si ring-daemon | grep Version
Version         : 20171024.1.eadbdeb-2.2
$ pacman -Si opendht | grep Version
Version         : 1:1.5.0-1
$ /usr/lib/ring/dring
/usr/lib/ring/dring: symbol lookup error: /usr/lib/libring.so.0: undefined symbol: _ZN3dht9DhtRunner3putENS_8InfoHashESt10shared_ptrINS_5ValueEESt8functionIFvbRKSt6vectorIS2_INS_4NodeEESaIS8_EEEENSt6chrono10time_pointINSF_3_V212steady_clockENSF_8durationIlSt5ratioILl1ELl1000000000EEEEEEb

opendht was updated recently (1:1.5.0-1) so this could be why - i tried building the latest ring release (20171129.2.cf5bbff) but it is still FTBFS

 |  ringaccount.cpp: In member function ‘void ring::RingAccount::loadAccountFromDHT(const string&, const string&)’:
 |  ringaccount.cpp:1146:33: error: no matching function for call to ‘dht::DhtRunner::bootstrap(std::vector<dht::SockAddr>&)’
 |           dht_.bootstrap(bootstrap);
 |                                   ^
 |  In file included from ringaccount.h:36:0,
 |                   from ringaccount.cpp:24:
 |  /usr/include/opendht/dhtrunner.h:205:10: note: candidate: void dht::DhtRunner::bootstrap(const std::vector<std::pair<sockaddr_storage, unsigned int> >&, dht::DoneCallbackSimple&&)
 |       void bootstrap(const std::vector<std::pair<sockaddr_storage, socklen_t>>& nodes, DoneCallbackSimple&& cb={});
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:205:10: note:   no known conversion for argument 1 from ‘std::vector<dht::SockAddr>’ to ‘const std::vector<std::pair<sockaddr_storage, unsigned int> >&’
 |  /usr/include/opendht/dhtrunner.h:206:10: note: candidate: void dht::DhtRunner::bootstrap(const dht::SockAddr&, dht::DoneCallbackSimple&&)
 |       void bootstrap(const SockAddr& addr, DoneCallbackSimple&& cb={});
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:206:10: note:   no known conversion for argument 1 from ‘std::vector<dht::SockAddr>’ to ‘const dht::SockAddr&’
 |  /usr/include/opendht/dhtrunner.h:212:10: note: candidate: void dht::DhtRunner::bootstrap(const std::vector<dht::NodeExport>&)
 |       void bootstrap(const std::vector<NodeExport>& nodes);
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:212:10: note:   no known conversion for argument 1 from ‘std::vector<dht::SockAddr>’ to ‘const std::vector<dht::NodeExport>&’
 |  /usr/include/opendht/dhtrunner.h:220:10: note: candidate: void dht::DhtRunner::bootstrap(const string&, const string&)
 |       void bootstrap(const std::string& host, const std::string& service);
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:220:10: note:   candidate expects 2 arguments, 1 provided
 |  ringaccount.cpp: In member function ‘std::vector<dht::SockAddr> ring::RingAccount::loadBootstrap() const’:
 |  ringaccount.cpp:1859:39: error: ‘resolve’ is not a member of ‘dht::SockAddr’
 |               auto ips = dht::SockAddr::resolve(node_addr);
 |                                         ^~~~~~~
 |  ringaccount.cpp:1869:33: error: unable to deduce ‘auto&&’ from ‘ips’
 |                   for (auto& ip : ips) {
 |                                   ^~~
 |  ringaccount.cpp: In member function ‘void ring::RingAccount::doRegister_()’:
 |  ringaccount.cpp:2075:37: error: no matching function for call to ‘dht::DhtRunner::bootstrap(std::vector<dht::SockAddr>&)’
 |               dht_.bootstrap(bootstrap);
 |                                       ^
 |  In file included from ringaccount.h:36:0,
 |                   from ringaccount.cpp:24:
 |  /usr/include/opendht/dhtrunner.h:205:10: note: candidate: void dht::DhtRunner::bootstrap(const std::vector<std::pair<sockaddr_storage, unsigned int> >&, dht::DoneCallbackSimple&&)
 |       void bootstrap(const std::vector<std::pair<sockaddr_storage, socklen_t>>& nodes, DoneCallbackSimple&& cb={});
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:205:10: note:   no known conversion for argument 1 from ‘std::vector<dht::SockAddr>’ to ‘const std::vector<std::pair<sockaddr_storage, unsigned int> >&’
 |  /usr/include/opendht/dhtrunner.h:206:10: note: candidate: void dht::DhtRunner::bootstrap(const dht::SockAddr&, dht::DoneCallbackSimple&&)
 |       void bootstrap(const SockAddr& addr, DoneCallbackSimple&& cb={});
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:206:10: note:   no known conversion for argument 1 from ‘std::vector<dht::SockAddr>’ to ‘const dht::SockAddr&’
 |  /usr/include/opendht/dhtrunner.h:212:10: note: candidate: void dht::DhtRunner::bootstrap(const std::vector<dht::NodeExport>&)
 |       void bootstrap(const std::vector<NodeExport>& nodes);
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:212:10: note:   no known conversion for argument 1 from ‘std::vector<dht::SockAddr>’ to ‘const std::vector<dht::NodeExport>&’
 |  /usr/include/opendht/dhtrunner.h:220:10: note: candidate: void dht::DhtRunner::bootstrap(const string&, const string&)
 |       void bootstrap(const std::string& host, const std::string& service);
 |            ^~~~~~~~~
 |  /usr/include/opendht/dhtrunner.h:220:10: note:   candidate expects 2 arguments, 1 provided
 |  make[4]: *** [Makefile:572: libringacc_la-ringaccount.lo] Error 1
 |  make[4]: Leaving directory '/build/ring/src/ring-project/daemon/src/ringdht'
 |  make[3]: *** [Makefile:612: all-recursive] Error 1
 |  make[3]: Leaving directory '/build/ring/src/ring-project/daemon/src/ringdht'
 |  make[2]: *** [Makefile:996: all-recursive] Error 1
 |  make[2]: Leaving directory '/build/ring/src/ring-project/daemon/src'
 |  make[1]: *** [Makefile:544: all-recursive] Error 1
 |  make[1]: Leaving directory '/build/ring/src/ring-project/daemon'
 |  make: *** [Makefile:475: all] Error 2
#3

Updated by lukeshu over 6 years ago

  • % Done changed from 0 to 50

I've done this for x86_64 (librerelease is currently uploading it). But I can't build on i686 because I'm getting key errors from other packages.

#4

Updated by lukeshu over 6 years ago

To link it somewhere here:

PR I filed against Ring: https://gerrit-ring.savoirfairelinux.com/#/c/8503

That is the .patch that is checked in to abslibre.git.

#5

Updated by ToffeeYogurtPots over 6 years ago

I'm on x86_64. Dring doesn't seem to be too happy.

[user@hostname ring]$ ./dring
./dring: symbol lookup error: /usr/lib/libring.so.0: undefined symbol: _ZN3dht9DhtRunner3putENS_8InfoHashESt10shared_ptrINS_5ValueEESt8functionIFvbRKSt6vectorIS2_INS_4NodeEESaIS8_EEEENSt6chrono10time_pointINSF_3_V212steady_clockENSF_8durationIlSt5ratioILl1ELl1000000000EEEEEEb

#6

Updated by bill-auger about 6 years ago

  • Status changed from open to fixed

Also available in: Atom PDF