Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #353017 > unrolled thread

Bug#1059040: libxml2: ABI change? (undefined references)

Started byRene Engelhard <rene@debian.org>
First post2023-12-19 20:30 +0100
Last post2024-02-15 11:10 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1059040: libxml2: ABI change? (undefined references) Rene Engelhard <rene@debian.org> - 2023-12-19 20:30 +0100
    Bug#1059040: libxml2: ABI change? (undefined references) Rene Engelhard <rene@debian.org> - 2023-12-19 20:40 +0100
    Bug#1059040: libxml2: ABI change? (undefined references) Rene Engelhard <rene@debian.org> - 2023-12-25 23:10 +0100
    Bug#1059040: marked as done (libxml2: ABI change? (undefined  references)) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-02-15 11:10 +0100

#353017 — Bug#1059040: libxml2: ABI change? (undefined references)

FromRene Engelhard <rene@debian.org>
Date2023-12-19 20:30 +0100
SubjectBug#1059040: libxml2: ABI change? (undefined references)
Message-ID<HMNWV-eHlO-3@gated-at.bofh.it>
Package: libxml2
Version: 2.12.3+dfsg-0exp1
Severity: serious

Dear Maintainer,

Hi,

LibreOffice builds (patch available), but doesn't yet build with 2.12.
But that is not the point of this issue.

While test building current 24.2 snapshot which will become 24.2 rc1
later this week I get

[build LNK] Executable/pdfverify
S=/home/rene/LibreOffice/git/libreoffice-24-2 && I=$S/instdir && W=$S/workdir &&  mkdir -p $W/Dep/LinkTarget/Executable/ && RESPONSEFILE=/tmp/gbuild.yEebjc && SYSTEM_BOOST="TRUE" LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/program"   $W/LinkTarget/Executable/concat-deps ${RESPONSEFILE} > $W/Dep/LinkTarget/Executable/pdfverify.d.tmp && rm -f ${RESPONSEFILE}
mv /home/rene/LibreOffice/git/libreoffice-24-2/workdir/Dep/LinkTarget/Executable/pdfverify.d.tmp /home/rene/LibreOffice/git/libreoffice-24-2/workdir/Dep/LinkTarget/Executable/pdfverify.d
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@LIBXML2_2.4.30'
/usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlNanoFTPCleanup@LIBXML2_2.4.30'
/usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPOpen@LIBXML2_2.4.30'
/usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPClose@LIBXML2_2.4.30'
/usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPRead@LIBXML2_2.4.30'
/usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlNanoFTPInit@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)

Regards,

Rene

[toc] | [next] | [standalone]


#353018

FromRene Engelhard <rene@debian.org>
Date2023-12-19 20:40 +0100
Message-ID<HMO6B-eHoP-5@gated-at.bofh.it>
In reply to#353017
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@LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlNanoFTPCleanup@LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPOpen@LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPClose@LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlIOFTPRead@LIBXML2_2.4.30'
> /usr/bin/ld: /lib/x86_64-linux-gnu/libxmlsec1.so.1: undefined reference to `xmlNanoFTPInit@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

[toc] | [prev] | [next] | [standalone]


#353326

FromRene Engelhard <rene@debian.org>
Date2023-12-25 23:10 +0100
Message-ID<HP1j3-g76G-5@gated-at.bofh.it>
In reply to#353017
Hi,

Am 25.12.23 um 22:33 schrieb Rene Engelhard:
> The tests are still failing and there is no patch anywhere yet, see

Sorry, link got lost: 
https://bugs.documentfoundation.org/show_bug.cgi?id=158423

> and c) you ignore the actual issue here at hand and that is that the new 
> libxml2 breaks the ABI, causing at least libxmlsec to be needed to be 
> rebuilt.

I didn't file it for the plain build issue. Nevertheless, if it broke so 
many projects you probably should do a full-fledged rebuild and send 
patches before uploading to unstable and putting this on all maintainers 
(or by making them get a FTBFS bug by Lucas once a rebuild happens at 
which time people won't remember the libxml2 update)

In any case, *this* bug is about the ABI change: removed 
symbols/versions other stuff relies on.

Long story short: libxml2 2.12 has still a long road to go with much 
work on your side until you can upload it to unstable.

Regards,

Rene

[toc] | [prev] | [next] | [standalone]


#356386 — Bug#1059040: marked as done (libxml2: ABI change? (undefined references))

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-02-15 11:10 +0100
SubjectBug#1059040: marked as done (libxml2: ABI change? (undefined references))
Message-ID<I7GQN-aikE-11@gated-at.bofh.it>
In reply to#353017

[Multipart message — attachments visible in raw view] — view raw

Your message dated Thu, 15 Feb 2024 10:06:30 +0000
with message-id <E1raYdS-009Jjt-Js@fasolo.debian.org>
and subject line Bug#1059040: fixed in libxml2 2.12.5+dfsg-0exp1
has caused the Debian Bug report #1059040,
regarding libxml2: ABI change? (undefined references)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1059040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059040
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web