[xml/sgml-pkgs] Bug#1059040: libxml2: ABI change? (undefined references)

Rene Engelhard rene at debian.org
Tue Dec 19 19:29:35 GMT 2023


Am Tue, Dec 19, 2023 at 08:03:56PM +0100 schrieb Rene Engelhard:
> LibreOffice builds (patch available), but doesn't yet build with 2.12.

"... but doesn't yet succeed the tests with 2.12"

> S=/home/rene/LibreOffice/git/libreoffice-24-2 && I=$S/instdir && W=$S/workdir &&  /usr/bin/ccache x86_64-linux-gnu-g++ -pthread  -flto=jobserver -fuse-linker-plugin -O2  -Wl,-z,origin '-Wl,-rpath,$ORIGIN/../Library' -Wl,-rpath-link,$I/program  -Wl,-z,defs -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc  -Wl,--hash-style=gnu  -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary -L$I/sdk/lib  -L$I/program  -L$I/program  -L$W/LinkTarget/Library -ffat-lto-objects -Wl,-z,relro    $W/CxxObject/xmlsecurity/workben/pdfverify.o       -Wl,--start-group    -Wl,--end-group -Wl,--no-as-needed -luno_cppu -luno_cppuhelpergcc3 -luno_sal -lxmlsecurity -lmergedlo  -o $W/LinkTarget/Executable/pdfverify
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPMatch at LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlNanoFTPCleanup at LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPOpen at LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPClose at LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPRead at LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlNanoFTPInit at LIBXML2_2.4.30'
> collect2: error: ld returned 1 exit status
> make[3]: *** [/home/rene/LibreOffice/git/libreoffice-24-2/solenv/gbuild/LinkTarget.mk:853: /home/rene/LibreOffice/git/libreoffice-24-2/workdir/LinkTarget/Executable/pdfverify] Error 1
> 
> Do we have removed symbols/removed versions here? (libxmlsec.so.1 was
> not rebuilt)

After a rebuild of libxmlsec1 this link succeeds...

Regards,

Rene



More information about the debian-xml-sgml-pkgs mailing list