Ohh, I get what you said, sorry, not sure why my system tries to get llhttp at 
9.1.3, while the package URL says latest 9.1.2:

https://archlinux.org/packages/extra/x86_64/llhttp/

That's why you included the URL.

Ohh well, I got it now.  I got confused with your reply, sorry about that.

--
Javier


On 2025-06-15 08:35 PM, Javier wrote:
On 2025-06-15 02:31 AM, Antonio Rojas wrote:
   opendht is not marked out of date, and the only issues is about C bindings, 
however opendht currently has a dependency problem, Arch moved to llhttp 9.3.0, 
however opendht was linked against llhttp 9.2:

No, it didn't https://archlinux.org/packages/extra/x86_64/llhttp/

I don't understand your reply:

% ldd /usr/lib/libopendht.so
         linux-vdso.so.1 (0x00007f6f26e60000)
         libfmt.so.11 => /usr/lib/libfmt.so.11 (0x00007f6f26df6000)
         libllhttp.so.9.2 => /usr/lib/libllhttp.so.9.2 (0x00007f6f26de4000)

% readelf -d /usr/lib/libopendht.so

Dynamic section at offset 0x279360 contains 37 entries:
   Tag        Type                         Name/Value
  0x0000000000000001 (NEEDED)             Shared library: [libfmt.so.11]
  0x0000000000000001 (NEEDED)             Shared library: [libllhttp.so.9.2]

% pacman -Qi opendht
Name            : opendht
Version         : 1:3.2.0-2
Description     : C++17 Distributed Hash Table (DHT) implementation
Architecture    : x86_64
URL             : https://github.com/savoirfairelinux/opendht
...
Depends On      : ...  llhttp  ...

opendht clearly depends on llhttp 9.2, and current one is 9.3.  So just "no it 
doesn't" doesn't tell me much, and pointing to the llhttp package URL doesn't help 
either.

since both libgit2 and bat new versions on Arch depend on llhttp 9.3 already 
except for opendht,

That's not true

$ readelf -d /usr/lib/libgit2.so

Dynamic section at offset 0x146510 contains 32 entries:
   Tag        Type                         Name/Value
  0x0000000000000001 (NEEDED)             Shared library: [libssl.so.3]
  0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.3]
  0x0000000000000001 (NEEDED)             Shared library: [libllhttp.so.9.2]
[...]



Not sure if you are up to date, but if I allow libgit2 to upgrade to 1:1.9.1-1, 
then:

% ldd /usr/lib/libgit2.so
         linux-vdso.so.1 (0x00007fdf93423000)
         libssl.so.3 => /usr/lib/libssl.so.3 (0x00007fdf931ac000)
         libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x00007fdf92c00000)
         libllhttp.so.9.3 => not found

% readelf -d /usr/lib/libgit2.so

Dynamic section at offset 0x144510 contains 32 entries:
   Tag        Type                         Name/Value
  0x0000000000000001 (NEEDED)             Shared library: [libssl.so.3]
  0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.3]
  0x0000000000000001 (NEEDED)             Shared library: [libllhttp.so.9.3]

Of course if I revert to 1:1.9.0-2, then the dependency is on llhttp 9.2, but 
I'm talking about current versions of packages.  So what I say stands true, and 
I honestly don't know what versions you're talking about.  Current versions not 
allowing opendht to work:

llhttp  9.3.0-1.1
libgit2 1:1.9.1-1
bat     0.25.0-4

Again, opendht is out of date, and latest package build depends on an older 
llhttp version which doesn't correspond to the up to date one, and to get all 
things working the only thing to do is to prevent upgrading all three, llhttp 
libgit2 and bat.



--
Javier

Reply via email to