This is the error I got:
-- Ceph/.git directory not found, parsing /var/tmp/pamac-build-deputt/ceph/src/ceph-16.2.7/src/.git_version for CEPH_GIT_VER and CEPH_GIT_NICE_VER CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Java (missing: Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVADOC_EXECUTABLE Development) (found version "18.0.2") Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindJava.cmake:314 (find_package_handle_standard_args) src/java/CMakeLists.txt:1 (find_package)
-- Configuring incomplete, errors occurred! See also "/var/tmp/pamac-build-deputt/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/pamac-build-deputt/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). Aborting...
Also from CMakeError.log:
Determining if the function pthread_set_name_np exists failed with the following output: ...
Determining if the function pthread_get_name_np exists failed with the following output: ...
Determining if the function getprogname exists failed with the following output: ...
Performing C SOURCE FILE Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC failed with the following output: ...
Pinned Comments
pbazaah commented on 2022-10-05 13:03 (UTC) (edited on 2022-10-05 13:03 (UTC) by pbazaah)
For future commenters:
TLDR:
https://aur.archlinux.org/pkgbase/ceph | From source build (slow)
https://aur.archlinux.org/pkgbase/ceph-bin | Pre-built binaries (fast)
Unlike the original community version, this repo builds ceph from source. Ceph is a large, complicated project so this takes several hours on a good build server.
To get a similar experience to how community/ceph worked (pre-built binaries) use ceph-bin instead.