Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Mar 2022 22:58:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   [Bug 262008] editors/libreoffice failed to build
Message-ID:  <bug-262008-25061-jlYcIkey5K@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262008-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262008-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262008

Florian Walpen <dev@submerge.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |office@FreeBSD.org
 Attachment #232274|                            |maintainer-approval?(office
              Flags|                            |@FreeBSD.org)

--- Comment #46 from Florian Walpen <dev@submerge.ch> ---
Created attachment 232274
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232274&action=
=3Dedit
Fix build with PDFIUM and LTO enabled.

This supposedly fixes the build failure with PDFIUM and LTO enabled:

When libvcllo.so is linked together with libpdfiumlo.so, it also needs
libopenjp2.so from graphics/openjpeg, since pdfium depends on that.
Building with LTO exposes this as an error, complaining about undefined
references to openjpeg library functions.

This patch adds the missing linker flag "-lopenjp2".

Tested on 13.0-RELEASE-p7, successfully opened some documents.

What puzzles me is that the LTO package seems to use more disk space than t=
he
one without LTO. But I don't have time to investigate now.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262008-25061-jlYcIkey5K>