From eb4e5fe743643d171aa4ebcbb918f5dee67569ae Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 7 Oct 2026 17:43:38 +0200 Subject: [PATCH] libxslt: Update version from 1.1.34 to 1.1.45 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since libxml2 2.15.3 (soname libxml2.so.16) is installed, the system libxslt, built in 2021 against libxml2 2.9.12, still needs the old soname, now provided by libxml2_compat. Linking anything with `-lxslt -lxml2` therefore pulls in both libxml2 versions, and the linker warns: $ cat t.c #include #include int main(void) { xmlInitParser(); return xsltLibxsltVersion == 0; } $ gcc t.c -o t $(pkg-config --cflags libxml-2.0) -lxslt -lxml2 /usr/lib/gcc/x86_64-pc-linux-gnu/12.5.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libxml2.so.2, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/12.5.0/../../../../lib64/libxslt.so, may conflict with libxml2.so.16 Two copies of libxml2 in one process have separate global state (parser initialization, error handlers, dictionaries), so this is more than cosmetic. Rebuild libxslt against libxml2 2.15 and update it to the latest upstream release while at it; 1.1.45 requires libxml2 >= 2.15.1. libxslt.so.1, libexslt.so.0 and xsltproc now link libxml2.so.16 only, and the warning is gone. The tarball now also ships a CMakeLists.txt, which bee prefers over autotools, so bee_configure failed with: CMake Error: Unknown argument --without-python Set BEE_BUILDTYPE=autotools like libxml2.be0 does. Upstream changed some defaults since 1.1.34, and the recipe follows them: - The non-standard EXSLT crypto extensions are off (since 1.1.35), so exsltCryptoRegister is gone and libexslt no longer links libgcrypt. - The debugger hooks (xsltSetDebuggerCallbacks, xslHandleDebugger, ...) are only built with --with-debugger=yes. - Static libraries are no longer built (LT_INIT([disable-static])), which matches libxml2 2.15.3 not shipping libxml2.a either. No installed binary under /usr/{bin,sbin,lib,libexec} references any of the removed symbols. libxslt’s sonames are unchanged. Assisted-by: claude-opus-5.5 (Claude Code) --- libxslt.be0 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libxslt.be0 b/libxslt.be0 index a29d1bb06..a45eecd40 100755 --- a/libxslt.be0 +++ b/libxslt.be0 @@ -1,6 +1,8 @@ #!/usr/bin/env beesh -# BEE_VERSION libxslt-1.1.34-0 +# BEE_VERSION libxslt-1.1.45-0 + +BEE_BUILDTYPE=autotools ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -9,8 +11,8 @@ ## The source URL(s) define the location of the sources that will be ## downloaded. Version variables may be used to simplify reuse of this bee-file. -# http://xmlsoft.org/sources/libxslt-${PKGVERSION}.tar.gz -SRCURL[0]=https://beehive.molgen.mpg.de/db8765c8d076f1b6caafd9f2542a304a/libxslt-1.1.34.tar.gz +# https://download.gnome.org/sources/libxslt/1.1/libxslt-${PKGVERSION}.tar.xz +SRCURL[0]="https://beehive.molgen.mpg.de/84bb3f6ba7f5ee98af5dcd72e828c73e/libxslt-1.1.45.tar.xz" ############################################################################### ## Add URLs/pathes to patch files to the PATCHURL array.