[Pkg-samba-maint] Bug#1021371: gnome-control-center doesn't start, saying libsamdb-common.so.0 requires version `LDB_2.2.4'

Michael Tokarev mjt at tls.msk.ru
Fri Oct 7 16:19:34 BST 2022


07.10.2022 18:08, Michael Tokarev wrote:
...
>> Removing the symver LDB_2.2.4 from libldb.so.2 was an ABI break, so libldb2
>> should have versioned Breaks against dependent packages that use the old
>> symver. It looks as though only the samba and maybe sssd source packages
>> will be affected by this.
> 
> I talked about this with upstream samba. It is their decision to break old
> stuff like this, by dropping intermediate library versions without actually
> changing any functions/symbols. I don't know why this is done like that,
> from my PoV it is plain wrong.

With debian bullseye version of samba things are even more interesting.
This is because ldb-2.2.4 has never ever been released to begin with.
It was a bugfix within 4.13 series of samba - backported to 4.13 samba
long after 4.13 has been end-of-lined.  The actual symbols in ldb are
present in 4.16 (ldb 2.5.x), but not 2.2.4 version.

And actually it brings a new question.  When we upgrade a library in a
stable debian release, and this upgrade brings new symbol version, but
already existing version of this library in testing does not have this
version.. what do do?  Should we omit the version bump in the stable
series?

/mjt



More information about the Pkg-samba-maint mailing list