[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1041302: svt-av1: breaks ABI without SONAME bump



Hi Dylan

On 2023-07-24 13:07:15 +0200, Dylan Aïssi wrote:
> On Mon, 17 Jul 2023 08:51:00 +0200 Sebastian Ramacher
> <sramacher@debian.org> wrote:
> > Version 1.6.0 removed compressed_ten_bit_format from the middle of
> > EbSvtAv1EncConfiguration, hence changing the memory layout of that
> > struct. This means that the ABI changed requiring a SONAME bump.
> 
> I reported this issue upstream.
> 
> But , now the question is: what is the best way to deal with that on our side?
> Should I artificially bump the soname? If so, what soname can I use?
> How do we handle these cases in Debian usually?

Usually we handle these cases by renaming the binary package by
attaching a Debian specific suffix such as deb1 or d1 without changing
the SONAME. As the file name of the shared library does not change,
don't forget the proper Breaks+Replaces. For an example, see luabind.

The solution is not ideal due to potential issues during upgrades, but
if upstream fixes the SONAME before the release of trixie, we shouldn'T
have a problem.

Cheers
-- 
Sebastian Ramacher


Reply to: