I get build error. I just ran Manjaro update and this package ceph-libs
is a dependency for snappy
for some reason and it fails to install.
...
-- Performing Test HAVE_STDLIB_MAP_SPLICING - Success
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR
-- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success
-- Ceph/.git directory not found, parsing /var/tmp/pamac-build-mkac/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-mkac/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/pamac-build-mkac/ceph/src/ceph-16.2.7/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
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.