Bug 1213217

Summary: ceph: fails to build against fmt 10.0
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ana Guerrero <ana.guerrero>
Component: OtherAssignee: Tim Serong <tserong>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: brunopitrus, jengelh
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1217820    
Attachments: ceph ftbs with fmt 10

Description Ana Guerrero 2023-07-11 15:09:09 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.
Comment 1 Tim Serong 2023-09-07 05:28:18 UTC
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.
Comment 2 Tim Serong 2023-09-07 07:19:51 UTC
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.
Comment 3 Ana Guerrero 2023-12-15 15:20:42 UTC
This is fixed now.