Bug 509821 - Can not compile with recent CMake (4.1.1)
Summary: Can not compile with recent CMake (4.1.1)
Status: RESOLVED FIXED
Alias: None
Product: calligraplan
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.3.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dag Andersen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-23 10:56 UTC by simonschaefer
Modified: 2025-09-24 05:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simonschaefer 2025-09-23 10:56:18 UTC
SUMMARY

can not compile with a current arch since cmake support for versions below 3.5 is now removed:

CMake Error at CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


STEPS TO REPRODUCE
1. get a recent CMake version (for example a recent arch linux with stock cmake)
2. try to build caligraplan 3.3.0

OBSERVED RESULT
Makefile creation not successful

EXPECTED RESULT
Compiled calligraplan

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 2 simonschaefer 2025-09-24 05:59:16 UTC
Then how about a new version like 3.3.1 that includes the fix? As far as i could figure out the latest available release is 3.3.0