Hi,

On Wed, May 29, 2024 at 12:16 AM gregor herrmann <gre...@debian.org> wrote:
>
> On Mon, 27 May 2024 22:33:45 +0200, gregor herrmann wrote:
>
> > … on amd64 and some other architectures; on others the testsuite now
> > fails in t/13dtd.t with SIGSEGV or SIGBUS etc.:
> > https://buildd.debian.org/status/package.php?p=libxml-libxml-perl
>
> Additionally the upload triggers a gazillion of autopkgtest failures
> in reverse dependencies:
>
>     Issues preventing migration:
>     ∙ ∙ autopkgtest for libatteanx-endpoint-perl/0.002-6: amd64: Regression 
> or new test ♻ (reference ♻), arm64: Regression or new test ♻ (reference ♻), 
> i386: Regression or new test ♻ (reference ♻), riscv64: Pass
[...]
>
> They all seem to fail with:
>
> Warning: program compiled against libxml 212 using older 209
>
> and this comes from libxml:
>
> https://sources.debian.org/src/libxml2/2.12.7+dfsg-2/parserInternals.c/?hl=79#L79
>
>     if ((myversion / 100) < (version / 100)) {
>         xmlGenericError(xmlGenericErrorContext,
>                 "Warning: program compiled against libxml %d using older 
> %d\n",
>                 (version / 100), (myversion / 100));
>     }
>
>
> Not sure if this is should be fixed in libxml2 or if we should add an
> artifical dependency on a newer libxml2 (to avoid testing against the
> version in testing). The former sounds more logic to me.
>

Although it looks trivial to remove the warning from libxml2, I'm
reluctant since this piece of code existed for a very long time, a
random check shows that version 2.2.3 (in 2000) has the logic:
https://gitlab.gnome.org/GNOME/libxml2/-/blob/04698d9e1c56467007fcbb9472e5db67cf5938f5/parserInternals.c#L66

Cheers,
Aron

Reply via email to