[Bug 288706] openjdk17/18 failing to build with latest -CURRENT since bootstrap-openjdk17 needs libutil.so.9

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 07 Aug 2025 07:20:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288706

            Bug ID: 288706
           Summary: openjdk17/18 failing to build with latest -CURRENT
                    since bootstrap-openjdk17 needs libutil.so.9
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: beldin@beldin.org

Building openjdk17 and/or openjdk18 in poudriere is failing under very recent
15.0-CURRENT due to the library bump of libutil.so.9 to libutil.so.10.

Showing in build logs after installing bootstrap-openjdk17:

pkg-static: Missing shlib dependency: libutil.so.9

Investigation into the tarball of bootstrap-openjdk17 reveals the following
output from ldd -a lib/libsaproc.so:

libsaproc.so:
        libjava.so =>
/usr/ports/java/bootstrap-openjdk17/work/bootstrap-openjdk17/lib/libjava.so
(0x11b3cb1e000)
        libutil.so.9 => not found (0)
        libdl.so.1 => /usr/lib/libdl.so.1 (0x11b3cd7f000)
        libc++.so.1 => /lib/libc++.so.1 (0x11b3cf30000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x11b3d74b000)
        libm.so.5 => /lib/libm.so.5 (0x11b3e183000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x11b3e99c000)
        libc.so.7 => /lib/libc.so.7 (0x11b3f444000)

I'm assume the reference to libutil.so.9 is the one causing the eventual error.
This is the only object I could find in the tarball that references it.

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