Bug 1213217 - ceph: fails to build against fmt 10.0
Summary: ceph: fails to build against fmt 10.0
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Tim Serong
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1217820
  Show dependency treegraph
 
Reported: 2023-07-11 15:09 UTC by Ana Guerrero
Modified: 2023-12-15 15:20 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
ceph ftbs with fmt 10 (326.18 KB, text/plain)
2023-07-11 15:09 UTC, Ana Guerrero
Details

Note You need to log in before you can comment on or make changes to this bug.
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.