@Achilleus just need to set your default java version higher, changed mine from 8 to 14 and it built fine.
sudo archlinux-java set <version>
Git Clone URL: | https://aur.archlinux.org/ceph.git (read-only, click to copy) |
---|---|
Package Base: | ceph |
Description: | Ceph Storage client library to the RADOS distributed object store |
Upstream URL: | https://ceph.com/ |
Licenses: | GPL-2.0-or-later OR LGPL-2.1-or-later OR LGPL-3.0-or-later |
Provides: | librados.so, libradosstriper.so |
Submitter: | foxxx0 |
Maintainer: | pbazaah |
Last Packager: | pbazaah |
Votes: | 7 |
Popularity: | 0.039304 |
First Submitted: | 2022-08-08 09:09 (UTC) |
Last Updated: | 2025-02-18 14:41 (UTC) |
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 Next › Last »
@Achilleus just need to set your default java version higher, changed mine from 8 to 14 and it built fine.
sudo archlinux-java set <version>
@Achilleus same issue, but I'm getting "(found version "1.8.0.345")"
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.
@Achilleus
It built successfully in a clean chroot, so it's something on your end.
@mmtung
See https://aur.archlinux.org/packages/ceph-bin
@petronny
Thanks for checking my work!
I confirm that current PKGBUILD builds well. https://github.com/arch4edu/cactus/actions/runs/3188168399
@mmtung Yes and read the history comments. Or you can directly download from the link above.
Compiling the source takes hours even on a decently fast Linux box. Have you thought about providing a bin package? Thank you.
I'll take a look after work today. I thought managed to nail down all the depends issues
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 "10.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)
@a4orce84
It takes about 1:30h for a -j12 on a decent build server. I'm currently running the build that will eventually make it way to https://aur.archlinux.org/packages/ceph-bin which may be of interest to you, if you don't want build the whole package.
How long should it take to build this package? I got an update for it, and my laptop has been running for 30 min+ so far.
Any ideas? Thanks!
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.