Hi,
Am 11.07.24 um 18:20 schrieb Leo Famulari:
As reported on the Document Foundation bug tracker, Boost >= 1.81 breaks
compilation of libetonyek:
Indeed. I remember talking to our boost maintainer when the boost 1.81
upgrade was imminent 1.5 years ago. You are late to the party ;)
I confirm the problem persists with Boost 1.83.0.
I can't.
There are bunch of duplicate symbol errors like this (full log attached):
------
[...]
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):(.bss+0xc): multiple definition of `boost::phoenix::placeholders::uarg4'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0xc): first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):(.bss+0xe): multiple definition of `boost::phoenix::placeholders::uarg3'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0xe): first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):(.bss+0x10): multiple definition of `boost::phoenix::placeholders::uarg2'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0x10): first defined here
ld: ./.libs/libetonyek_internal.a(libetonyek_internal_la-KEY1StringConverter.o):(.bss+0x12): multiple definition of `boost::phoenix::placeholders::uarg1'; ./.libs/libetonyek_internal.a(libetonyek_internal_la-IWORKFormula.o):(.bss+0x12): first defined here
collect2: error: ld returned 1 exit status
[...]
------
If that is the same one, that is fixed (in Debian, and probably other
distros a similar way) by
boost1.81 (1.81.0-2) unstable; urgency=medium
* [b340cb8] Fix autopkgtests. Use 1.81 version. (Closes: #1028390)
* [4835103] Avoid boost::phoenix::placeholders violations.
* [f09f5a5] Trim trailing whitespace.
* [f3a250a] Update standards version to 4.6.2, no changes needed.
-- Anton Gladky <gladk@xxxxxxxxxx> Fri, 13 Jan 2023 07:45:19 +0100
and that's why libetonyek in Debian has
libetonyek (0.1.10-5) unstable; urgency=medium
* add Build-Conflicts: libboost1.81-dev (= 1.81.0-1~exp1),
libboost1.81-dev (= 1.81.0-1)
* upload to unstable
-- Rene Engelhard <rene@xxxxxxxxxx> Sun, 15 Jan 2023 11:39:35 +0100
In a quick check that patch is still applied in boost1.83. See
https://salsa.debian.org/debian/boost/-/blob/master/debian/patches/116.patch
Since then (2023...) I had no problem building LibreOffice with
boost1.81 and boost1.83, neither has libetonyek (which our LibreOffice
uses from the system).
Regards,
Ren