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

[email protected]
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-java (Nobody)
<[email protected]> for maintainer-feedback:
Bug 286831: java/linux-oracle-jdk18 : can't install package because pkg create
fails
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286831



--- Description ---
===>  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.9
7862/

these ports seem to be affected by this
./linux-oracle-jdk18/Makefile
./linux-oracle-serverjre10/Makefile
./linux-oracle-jre18/Makefile
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.