On Sat, Aug 17, 2024 at 2:06 PM Rene Engelhard <r...@debian.org> wrote:
>
> Hi,
>
> Am 17.08.24 um 05:58 schrieb Aron Xu:
> > After some research, I prefer making a t64-like transition for libxml2
> > for the following reasons:
> >   - Upstream is not prepared to bump the SONAME to something like
> > libxml3. Given the long history of this function library, determining
> > which APIs should be public and which should be private is
> > challenging.
> > [...]
> > I've prepared a preliminary debdiff and tested locally. What do you think?
> -       dh_makeshlibs -plibxml2 -V 'libxml2 (>= 2.9.11)' -- -c4
> +       dh_makeshlibs -plibxml2n -V 'libxml2 (>= 2.9.11)' -- -c4
>
> Look wrong to me, should be libxml2 in the version, too.
>
>
> --- libxml2-2.13.3+dfsg/debian/libxml2n.symbols 1970-01-01 08:00:00.000000000 
> +0800
> +++ libxml2-2.13.3+dfsg/debian/libxml2n.symbols 2024-08-16 22:13:37.000000000 
> +0800
> @@ -0,0 +1,146 @@
> +libxml2.so.2 libxml2 #MINVER#
> [...]
>
> here, too.
>
>
> Otherwise stuff built against the NEW ABI still gets dependencies 
> fullfillable by old ones.
>

OK for the above two.

>
> For the same reason
>
> +Provides: libxml2 (= ${binary:Version})
>
> is bad, that is the other way round and stuff using the old ABI will happily 
> install with libxml2n.
>
> (That Provides: was there in t64 where the ABI didn't change, aka all 64bit + 
> i386)
>

This was stealed from ${t64:Provides} and I agree should be dropped here.

>
> And I *think* you need Breaks/Conflicts in addition to Replaces at the new 
> libxml2n.
>

There is a Breaks, one line above Replaces, "libxml2 (<< ${source:Version}),".

So I'm attaching an updated debdiff, with an additional fix to
lintian-overrides.

Regards,
Aron

Attachment: libxml2_2.13.3+dfsg-0exp1.debdiff
Description: Binary data

Reply via email to