Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
N/A
-
None
Description
Topics
- Zulip: https://mariadb.zulipchat.com/#narrow/channel/236699-Buildbot/topic/OpenSUSE.201600.20JRE.20missing.20symlinks/with/614469123
- CMAKE: https://gitlab.kitware.com/cmake/cmake/-/work_items/28015
- SUSE bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1273403
Background
OpenSUSE switched from update-alternatives to libalternatives for openjdk
leaving the alternatives symbolic links out of picture for cmake to find.
-- Found Java: /usr/bin/java (found suitable version "21.0.11", minimum required is "1.6") |
-- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) |
Even though openjdk-devel is installed in the build environment.
Resolution
Until CMake / OpenSUSE arrive at a conclusion, manually re-create the symbolic links in the container environment.