[Bug 298257] editors/libreoffice: crashes with SAL_USE_VCLPLUGIN=gen and enabled Skia

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Sep 2026 00:16:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298257

            Bug ID: 298257
           Summary: editors/libreoffice: crashes with
                    SAL_USE_VCLPLUGIN=gen and enabled Skia
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: office@FreeBSD.org
          Reporter: avos@freebsd.org
          Assignee: office@FreeBSD.org
             Flags: maintainer-feedback?(office@FreeBSD.org)
 Attachment #274480 text/plain
         mime type:

Created attachment 274480
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=274480&action=edit
Adjusted external/skia/Library_skia.mk patch

How to reproduce:
- install editors/libreoffice
- export SAL_USE_VCLPLUGIN=gen
- run libreoffice with the environment variable above
- Tools -> Options -> LibreOffice -> View -> select 'Use Skia for all
rendering'
- restart

Result:
ld-elf.so.1: /usr/local/lib/libreoffice/program/libvclplug_genlo.so: Undefined
symbol
"_ZN8skwindow17MakeRasterForXlibERKNS_14XlibWindowInfoENSt3__110unique_ptrIKNS_13DisplayParamsENS3_14default_deleteIS6_EEEE"

Another way to reproduce: build the port with LDFLAGS+=-Wl,--no-undefined

The missing symbol was under 'if LINUX' condition in
external/skia/Library_skia.mk; it already has a patch for other OS support, but
in another section.

Fixed patch is attached to the bug report.

-- 
You are receiving this mail because:
You are the assignee for the bug.