nisse@lysator.liu.se (Niels Möller) writes:
Andreas Metzler ametzler@bebt.de writes:
PS: On top of this the Debian nettle *packaging* currently is broken with respect to unsynced soname bumps of libhogweed/libnettle runtime packages, which is a different issue, probably a bug.
I think it's a bug. Independent of the current issues with GnuTLS, I think it's reasonable to occasionally make ABI-incompatible changes to libhogweed, without breaking the libnettle ABI at the same time. (The opposite is also possible, but less likely to happen). In which case only one of the sonames would be bumped. There's currently no testing of libhogweed from nettle-X linking at runtime with a libnettle.so built from nettle-(X+1) or nettle-(X-1). Seems a bit tricky to set up.
This made me realize that also references to NETTLE_INTERNAL symbols from libhogweed.so would be a problem. In my closest shared build,
objdump -R libhogweed.so |grep NETTLE_INTERNAL
returns empty, but we ought to have a testcase to verify that we don't regress. Any such reference would imply that libhogweed must link to an exactly matching version of libnettle.se
Regards, /Niels