@mostlyharmless
I'll take a look after $dayJob
Git Clone URL: | https://aur.archlinux.org/ceph.git (read-only, click to copy) |
---|---|
Package Base: | ceph |
Description: | Ceph Storage cluster manager daemon, the API gateway for cluster management |
Upstream URL: | https://ceph.com/ |
Licenses: | GPL-2.0-or-later OR LGPL-2.1-or-later OR LGPL-3.0-or-later |
Submitter: | foxxx0 |
Maintainer: | pbazaah |
Last Packager: | pbazaah |
Votes: | 7 |
Popularity: | 0.147730 |
First Submitted: | 2022-08-08 09:09 (UTC) |
Last Updated: | 2025-02-13 18:29 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 12 Next › Last »
@mostlyharmless
I'll take a look after $dayJob
I get a build failure because of a dependency on markupsafe, error is ImportError: cannot import name 'soft_unicode' from 'markupsafe' around 28% build. Turns out soft_unicode was deprecated in markupdafe 2.1.0, we are now at version 2.1.3. See https://bobbyhadz.com/blog/python-importerror-cannot-import-name-soft-unicode-from-markupsafe. Not really an AUR problem perhaps, but upstream? I do not want to break python by forcing markupsafe 2.0.1, nor do I want to remove ceph, as there are qemu dependencies.
@bidulock
Odd, previously makedepends('java-runtime' ...)
was sufficient, but I've not built v17.2.6 recently. I'll give it a go when I have time
I had to add jdk11-openjdk to makedepends to get 17.2.6-2 to build in a clean chroot.
@diggit
Oh interesting: https://github.com/ceph/ceph/pull/39826
I somehow missed this. That said, I know many ceph devs still use Make as the build tool.
I will definitely experiment with setting ninja as the build engine for v18 and beyond.
@pbazaah I agree, it's not trivial. Official build docs are using ninja https://docs.ceph.com/en/quincy/install/build-ceph/#id1 . That's why I was asking. I may give it a shot later.
@diggit
As you mentioned, it is unlikely that switching the fundamental build system is as easy as -B ninja
.
Moreover, ceph is more complex than the average cmake project, and I try to align with the upstream build as much as possible so-as to save myself a bunch of pain.
That said, feel free to fork https://github.com/bazaah/aur-ceph and play around. Hopefully it turns out to be a relatively simple change, and you can keep in sync with my tree.
Hi, would it be possible to modify PKGBUILD so it is build tool agnostic? I'd like to use ninja instead of make. cmake has abstraction for this (cmake --build), but there wili be probably some difference in arguments.
I'm looking for feedback on RFC: Split packages for Ceph
I'd prefer it under the issue itself, but if you don't have a Github account, post it here and I'll cross post it.
Thanks in advance!
v17.2.6-2 has been released. Notably including fixes for a lot of issues from python 3.11 and gcc 13.
Python has not been tested extensively this time, but all the unit tests pass.
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.