Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2025 12:46:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 286831] java/linux-oracle-jdk18 : can't install package because pkg create fails
Message-ID:  <bug-286831-8522-MqnQgVu9cH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286831-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-286831-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286831-8522-MqnQgVu9cH>