Libetonyek build failure with Boost >=1.81

Michael Weghorn m.weghorn at posteo.de
Fri Jul 12 05:28:18 UTC 2024


On 2024-07-11 18:20, Leo Famulari wrote:
> As reported on the Document Foundation bug tracker, Boost >= 1.81 breaks
> compilation of libetonyek:
> 
> https://bugs.documentfoundation.org/show_bug.cgi?id=152569
> 
> I confirm the problem persists with Boost 1.83.0.
> 
> 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
> [...]
> ------
> 
> Is it possible to build Libreoffice without libetonyek? Or does this
> prevent compilation of Libreoffice as well?

If your distro still somehow manages to provide libetonyek, you might 
try to build with autogen option `--with-system-libetonyek` as a workaround.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240712/c9393fd9/attachment.sig>


More information about the LibreOffice mailing list