Hi,

On Sat, 10 Aug 2024 16:57:09 +0200 Chris Hofstaedtler <z...@debian.org> wrote:

> Source: ceph
> Version: 18.2.4+ds-4
> Tags: ftbfs
> Severity: serious
>
> ceph currently FTBFS on mips64el but has built there before.
>
> buildd log:
> https://buildd.debian.org/status/fetch.php?pkg=ceph&arch=mips64el&ver=18.2.4%2Bds-4&stamp=1723159346&raw=0
>
> Relevant lines, hopefully:
>
> -- Found Java: /usr/lib/jvm/default-java/bin/java (found version "21.0.4") found components: Development > CMake Error at /usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
> Could NOT find JNI (missing: JVM)
> Call Stack (most recent call first):
> /usr/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) > /usr/share/cmake-3.30/Modules/FindJNI.cmake:589 (find_package_handle_standard_args)
> src/java/CMakeLists.txt:2 (find_package)

I have done some research on this and it is caused by an OpenJDK 18+ packaging change that moved libjvm.so from $JAVA_HOME/lib/server/ to $JAVA_HOME/lib/zero/ for Zero VM builds.

I have created an upstream fix which contains some more details: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9725

After a fixed version of cmake is released by the upstream, ceph can simply be rebuilt to get mips64el builds working again.

--
Regards,

WANG "xen0n" Xuerui

Reply via email to