Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62359 - [ring-daemon] 2:20190315-1 fails to start, undefined symbol in opendht 1:1.9.1-1

Attached to Project: Community Packages
Opened by Tim Ruffing (realorrandom) - Monday, 15 April 2019, 17:30 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Wednesday, 17 April 2019, 17:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Baptiste (zorun)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

% /usr/lib/ring/dring:
/usr/lib/ring/dring: symbol lookup error: /usr/lib/libring.so.0: undefined symbol: _ZN3dht6crypto16generateIdentityERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairISt10shared_ptrINS0_10PrivateKeyEESA_INS0_11CertificateEEEjb

% nm -D -C /usr/lib/libring.so.0 | grep generateId
U dht::crypto::generateIdentity(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::pair<std::shared_ptr<dht::crypto::PrivateKey>, std::shared_ptr<dht::crypto::Certificate> >, unsigned int)
U dht::crypto::generateIdentity(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::pair<std::shared_ptr<dht::crypto::PrivateKey>, std::shared_ptr<dht::crypto::Certificate> >, unsigned int, bool)

% nm -D -C /usr/lib/libopendht.so | grep generateId
00000000000dbf00 T dht::crypto::generateIdentity(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::pair<std::shared_ptr<dht::crypto::PrivateKey>, std::shared_ptr<dht::crypto::Certificate> > const&, unsigned int)
00000000000dbd40 T dht::crypto::generateIdentity(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::pair<std::shared_ptr<dht::crypto::PrivateKey>, std::shared_ptr<dht::crypto::Certificate> > const&, unsigned int, bool)

Note the added "const&"

ring-daemon 2:20190315-1
opendht 1:1.9.1-1


This task depends upon

Closed by  Bruno Pagani (ArchangeGabriel)
Wednesday, 17 April 2019, 17:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  20190412 stack.
Comment by Tim Ruffing (realorrandom) - Tuesday, 16 April 2019, 09:15 GMT
Here's a patch.
- I switched to sha512sums because those are provided by upstream: https://git.jami.net/savoirfairelinux/ring-daemon/commit/24c74f1506c74cfbdd96a630bc592fa1bcd296b6
- I needed to add an invocation of sed to patch a file (due to https://github.com/savoirfairelinux/opendht/commit/9b881d4e958c10d4eb557a842dff468d4358a7a7 which is included in opendht 1.9.0 and arch is at 1.9.1 already ).

Actually ring has been renamed to jami. This still needs to be done.

It's a mess. :D
Comment by Bruno Pagani (ArchangeGabriel) - Wednesday, 17 April 2019, 14:06 GMT
There is no patching required, just rebuilding/updating ring-* (into jami-* indeed). This is because they changed ABI without bumping it. I’m working on this.
Also note that the pjproject bump you added is not part of April release, so I will not include it.

EDIT: OK, read things too fast, we indeed require patching because our OpenDHT is newer than the -daemon component.

Loading...