maintainer-feedback requested: [Bug 286831] java/linux-oracle-jdk18 : can't install package because pkg create fails
Date: Fri, 16 May 2025 12:46:49 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody) <java@FreeBSD.org> 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