Re: [xml] Release of libxml2 2.9.11



> I fail to build libxslt 1.1.34 against it. The "configure" script of
> libxslt has this line:

libxml2 now behaves more correctly by rejecting invalid arguments like `print`. This is fixed in libxslt master so it no longer passes it the extra print argument.

In the meanwhile, you can use pkg-config to have libxslt find libxml2 – it is a better solution than config-tools any way.

See https://github.com/NixOS/nixpkgs/pull/122851#issuecomment-840711103 for more details.

On Thu, May 13 2021 at 21:27:37 +0200, Stefan Behnel <stefan_ml behnel de> wrote:
Salut Daniel,

Daniel Veillard via xml schrieb am 13.05.21 um 15:54:
Pffff, I am way way behind, but now that CVE-2021-3541 is out I just pushed that long awaited release. libxml2 2.9.11 is tagged in git and a signed
 tarball is available at the usual place:

     ftp://xmlsoft.org/libxml2/

I fail to build libxslt 1.1.34 against it. The "configure" script of
libxslt has this line:

"""
if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1
"""

which, I guess, is incorrect and shouldn't have the "print". However, it seems that in previous versions of libxml2, the xml2-config script printed the libs and then failed, whereas in 2.9.11/12 it does *not* print the libs
any more and fails immediately. This breaks the "configure" script of
libxslt, which then reports that it could not find libxml2 anywhere.

I guess the work-around is to set "LIBXML_LIBS" externally to the result of "xml2-config --libs" until there is a fix in libxslt. But maybe libxml2
could just go back to being nice towards the faults of libxslt?

Stefan
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
https://mail.gnome.org/mailman/listinfo/xml




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