Thanks for all your hard work.
That does explain what was going on as I was building in a chroot on an automated build server.
You are absolutely fantastic.
Git Clone URL: | https://aur.archlinux.org/ceph.git (read-only, click to copy) |
---|---|
Package Base: | ceph |
Description: | Ceph Storage cluster base utilities and configuration |
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.052305 |
First Submitted: | 2022-08-08 09:09 (UTC) |
Last Updated: | 2025-02-18 14:41 (UTC) |
Thanks for all your hard work.
That does explain what was going on as I was building in a chroot on an automated build server.
You are absolutely fantastic.
Rebuild hit a snag in snappy
(which is required for the ceph compressor libs), bug report opened here: https://gitlab.archlinux.org/archlinux/packaging/packages/snappy/-/issues/2, unfortunately there not much I can do until this is fixed.
@insanemal I figured it out the build was missing a makedep on nasm
. I have a rebuild going now for that and few other minor things. Hopefully I can push a -3 this weekend
I'm not going to override CMake checks of CPU features.
That said, I find it weird that you can't build it with AVX2, makes me think I'm missing something, I will go look at this features history when I do the next pkgrel -- maybe the ifdef is misleading.
... however I have a busy April ahead of me career wise so when this happens exactly is unclear
I just checked. Even with avx2 available on the server doing the build ISA isn't automatically enabled which is weird as it should be enabled.
EDIT: Just checked and I def have avx2 on the build server.
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid tsc_known_freq pni pclmulqdq vmx ssse3 fma cx16 pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat vnmi umip md_clear flush_l1d arch_capabilities /EDIT
It's also not actually required for ISA. SSE3 and CLMUL are the minimum requirements.
I got ISA to build by adding an appropriate flag in the configure stage.
Can we get this added please?
The trick is to convince CMake that you have AVX2/SIMD (for arm) instruction sets available: https://github.com/ceph/ceph/blob/v19.2.1/src/erasure-code/CMakeLists.txt#L25
My current build server does not have avx2, so ISA is not built.
I find it somewhat amusing that Ceph defaults to an EC provider that not all CPUs support -- I wonder when that changed... it was jerasure for a long time.
Also, thanks for the rapid fix of the ceph-volume issue!
Any chance you and enable the ISA erasure plugin?
Or is there a trick to getting it to enable during build?
Thanks in advance
v19.2.1-2 released, with fixes for https://tracker.ceph.com/issues/68032 + https://tracker.ceph.com/issues/67517
I ran into the same thing yesterday (not the first time I've missed ceph-volume issues), I've backported a fix: https://git.st8l.com/luxolus/aur.ceph/commit/079099ed5cb61765c9a3e48ab234762373395b2d
I should have a -2 pkgrel out later today with the fix (and a fix for ipv6 networks)
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.