[MacPorts] #72350: json-c @0.18.0: Compatibility with CMake < 3.5 has been removed from CMake.
MacPorts
noreply at macports.org
Tue Apr 15 19:37:31 UTC 2025
#72350: json-c @0.18.0: Compatibility with CMake < 3.5 has been removed from CMake.
-----------------------+----------------------
Reporter: rmottola | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: json-c |
-----------------------+----------------------
Changes (by mascguy):
* cc: szhorvat (added)
* status: new => assigned
* owner: (none) => mascguy
Comment:
Replying to [comment:3 rmottola]:
> @ryandesign you were right, I have also cmake-devel, that is always
confusing. I deactivated cmake-devel, activated cmake 3.24.4 built with
success, then switched again to cmake-devel.
>
> Not a solution, but works and proofs hat newer versions than 3.5 are
supported. Maybe cmake 4 is wrongly detected as earlier, with a wrong
major/minor test or it is completely incompatible with cmake 4. I have
seen the upstream PR and it only changes the minimum version. Let's see
what they respond.
I'm presently working through possible breakages like this, for CMake 4.
And we may be able to solve it via the CMake portgroups. (No guarantees,
but I believe it's possible.)
In the interim, switch to the non-devel CMake port.
For anyone interested... we won't update to version 4, until all of these
details have been worked out. I also plan to post something to the mailing
list at some point soon, with more detail.
Stay tuned...
--
Ticket URL: <https://trac.macports.org/ticket/72350#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list