Bug 2380490
| Summary: | cantata: FTBFS with change proposal CMake 4.0 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cristian Le <fedora> |
| Component: | cantata | Assignee: | Gerald Cox <gbcox> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gbcox, i, rdieter |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-08-08 22:18:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2376114 | ||
|
Description
Cristian Le
2025-07-16 10:26:44 UTC
Resolved for 2372324. Do you mean to have this bug depend on https://bugzilla.redhat.com/show_bug.cgi?id=2372324 ? I don't see how the dependency is the other way around. Anyway, let me know if you managed to build with 4.0 and it all works well. Rex hasn't been responding to requests so I'm currently working on getting access to maintain cantata. I've built what will be the updated package, which will be at 3.3.1, currently the 2.5.0 release is about 4 years old. I've updated the 3.3.1 package and it built fine for F43 with cmake4 changes, however it is currently failing when I tried another build. Here is the copr if you want to take a look: https://copr.fedorainfracloud.org/coprs/gbcox/dogfood/build/9280410/ I'll go ahead and change the assignee to me. Latest rawhide copr build ok for cmake4: https://copr.fedorainfracloud.org/coprs/gbcox/dogfood/build/9280890/ Thanks, I take it that upstream has fixed any incompatibilities themselves. One question though, what's up with the `%if 0%{?fedora} >= 43` and calling `cmake` manually? The macros are still present before that.
(In reply to Cristian Le from comment #5) > Thanks, I take it that upstream has fixed any incompatibilities themselves. > One question though, what's up with the `%if 0%{?fedora} >= 43` and calling > `cmake` manually? The macros are still present before that. I was trying to do a conditional path for Fedora ≥ 43 since the %cmake macros are deprecated with CMake 4.0. The macros are only present in the %else block to support Fedora ≤ 42 builds. If it looks like they’re outside the conditional, I can double-check the structure or reformat for clarity. Was that what you were referring to? If I've done it wrong, please LMK. Also, yes for 3.3.1 things have been modified upstream. `%cmake` macros are not deprecated. `%cmake3` macros are. Sorry if I made it confusing in the change proposal. Could you double-check that I did not write it the other way around there? Thanks — I misunderstood and thought raw cmake was preferred for CMake 4.0. I’ll switch back to using %cmake, %cmake_build, and %cmake_install for Fedora ≥ 43 to stay consistent with packaging guidelines. |