On Wed, 29 May 2024 14:16:47 +0800, Aron Xu wrote: > > They all seem to fail with: > > Warning: program compiled against libxml 212 using older 209 > > > > and this comes from libxml: > > > > 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
Maybe an alternative is to add Breaks: libxml-libxml-perl (<< 2.0207+dfsg+really+2.0134-2~) to libxml2? Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- BOFH excuse #351: PEBKAC (Problem Exists Between Keyboard And Chair)