Bugzilla – Bug 1213217
ceph: fails to build against fmt 10.0
Last modified: 2023-12-15 15:20:42 UTC
Created attachment 868147 [details] ceph ftbs with fmt 10 fmt 10.0 has been submitted for inclusion into Factory. During the staging process we have observed ceph failing to build, I'm attaching the full log.
I'm sorry I couldn't take https://build.opensuse.org/request/show/1109353. This should do the trick though (we need the spec file to still be usable on distros older than Factory): --- ceph.spec (revision 9b10603f9c1887f7435572fae3925290) +++ ceph.spec (working copy) @@ -202,7 +202,7 @@ BuildRequires: cryptsetup-devel BuildRequires: libcurl-devel BuildRequires: libcap-ng-devel -BuildRequires: fmt-devel >= 5.2.1 +BuildRequires: ((fmt-devel >= 5.2.1 with fmt-devel < 10) or fmt-9-devel) BuildRequires: pkgconfig(libudev) BuildRequires: libnl3-devel BuildRequires: liboath-devel I'll get that into our downstream ceph fork and then submit to Factory.
Downstream PR: https://github.com/SUSE/ceph/pull/510 Tested with `osc build --alternative-project devel:libraries:c_c++` to get the latest fmt and fmt-9 packages.
This is fixed now.