[Pkg-samba-maint] Bug#1013259: samba-libs: Possible policy violation (now with unnecessary soname bump libndr.so.2 => libndr.so.3)
Michael Tokarev
mjt at tls.msk.ru
Tue Nov 1 10:21:55 GMT 2022
01.11.2022 13:14, Ralph Boehme wrote:
> On 11/1/22 09:15, Michael Tokarev via samba-technical wrote:
>> Control: tag -1 + upstream
>>
>> Original context was at http://bugs.debian.org/1013259 , but whole
>> thing *now* has is about completely unnecessary soname bump of libndr
>> in 4.17 due to debugging refinements.
>
> to me this looks like a packaging bug.
It indeed is, I fixed it already.
The question remains though: why the .3 bump happened in the first
place, due to a change just in a debug helper routine, which was
trivial to avoid (like I've shown in the patches just posted to
the list).
The problem here is that there are just too many interdependencies
between various libraries, and to me anyway, it is important to
keep sonames when possible (and easy to do like in this case!).
For example: libndr.so NEEDED libgenrand-samba4.so which is
an internal samba library. So you can't easily provide *two*
libndr.so.2 and libndr.so.3 on the system, unless you *also*
install two different sets of internal libs. So on any soname
bump, a real recompile of all users is needed. That's the
reason to be more careful when doing soname bumps..
Thanks,
/mjt
More information about the Pkg-samba-maint
mailing list