[PATCH 2/2] ndr: revert libndr.so.3 soname bump

Michael Tokarev mjt at tls.msk.ru
Wed Nov 2 08:12:36 UTC 2022


02.11.2022 11:00, Andreas Schneider via samba-technical wrote:
..
>> @@ -654,7 +654,7 @@ bld.SAMBA_LIBRARY('ndr',
>>       public_deps='samba-errors talloc samba-util util_str_hex',
>>       public_headers='gen_ndr/misc.h gen_ndr/ndr_misc.h ndr/libndr.h:ndr.h',
>>       header_path= [('*gen_ndr*', 'gen_ndr')],
>> -    vnum='3.0.0',
>> +    vnum='2.0.1',
>>       abi_directory='ABI',
>>       abi_match='!ndr_table_* ndr_* GUID_* _ndr_pull_error*
>> _ndr_push_error*', )
> 
> Please fix packaging and rebuild packages depending on this library.
> 
> libndr is not a stable API! We never claimed that and there is not guarantee
> that the API/ABI will stay the same in future!

I'd *love* to "fix packaging". But I've no way to do this now, and
this is exactly an attempt to do that.

If libndr isn't public, other software should not be using it I guess.
But it does.

It's a bit difficult to explain, there are quite some Debian specifics
involved which are different on Redhat.  But think about this context:
providing a more recent samba packages to older Redhat releases (this
is the context we're talking about right now). Other packages in there
should be rebuilt. I for one can't provide backports of sssd or
evolution-mapi or whatnot just because of a no-op, absolutely unwarranted
soname bump...

Hwell...

/mjt



More information about the samba-technical mailing list