[Bug 287398] java/openjdk21: pkg check -da complains about "libreoffice is missing a required shared library: libjawt.so"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Jun 2025 17:18:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287398

            Bug ID: 287398
           Summary: java/openjdk21: pkg check -da complains about
                    "libreoffice is missing a required shared library:
                    libjawt.so"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org

Scenario:
- FreeBSD stable/14 ca. Feb. 1
- ports latest
- using DEFAULT_VERSIONS+=java=21 in /etc/make.conf
- editors/libreoffice is installed
- running: "pkg check -da"

Result:
- The command finishes with "libreoffice is missing a required shared library:
libjawt.so"

Expected result:
- There should be no such error message.

Notes:
- I was uing an older version of openjdk before (via /etc/make.conf), with
which this did not happen. If I remember correctly, it was openjdk17.
- The libreoffice file where ldd does not find libjawt.so is
/usr/local/lib/libreoffice/program/libofficebean.so.

-- Martin

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