[Bug 286831] java/linux-oracle-jdk18 : can't install package because pkg create fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 May 2025 12:46:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286831

            Bug ID: 286831
           Summary: java/linux-oracle-jdk18 : can't install package
                    because pkg create fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: titus@edc.ro
             Flags: maintainer-feedback?(java@FreeBSD.org)
          Assignee: java@FreeBSD.org

===>  Checking if linux-oracle-jdk18 is already installed
===>   Registering installation for linux-oracle-jdk18-8.291
pkg-static: Invalid value for config option SHLIB_PROVIDE_PATHS_NATIVE,
'jre/lib' is not an absolute path.
pkg-static: Invalid value for config option SHLIB_PROVIDE_PATHS_NATIVE, 'lib'
is not an absolute path.
pkg-static: Cannot parse configuration file!
*** Error code 1


this seems to be because Makefile sets LIB_DIRS and collides with Mk/* LIB_DIRS 
solution is to replace LIB_DIRS in Makefile with some other name

https://forums.freebsd.org/threads/problem-installing-java-linux-oracle-jdk18.97862/

these ports seem to be affected by this
./linux-oracle-jdk18/Makefile
./linux-oracle-serverjre10/Makefile
./linux-oracle-jre18/Makefile

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