Bug 2380690 - krazy2-2.97-0.37.20140114git35d9080f1870d.fc45 FTBFS: CMake Error at CMakeLists.txt:2 (cmake_minimum_required)
Summary: krazy2-2.97-0.37.20140114git35d9080f1870d.fc45 FTBFS: CMake Error at CMakeLis...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: krazy2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: KDE SIG
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org//pa...
Whiteboard:
Depends On:
Blocks: CMake4.0 F45FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-07-16 10:41 UTC by Cristian Le
Modified: 2026-02-18 09:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Le 2025-07-16 10:41:50 UTC
\
Dear package maintainer,

This is an automated bug created due to a FTBFS when rebuilding this package for the change proposal CMake 4.0.

The rebuild is being tracked in https://copr.fedorainfracloud.org/coprs/cmake-4.0.

See https://fedoraproject.org/wiki/Changes/CMake4.0 for more information on how to make the package compatible.

More specifically, depending on the state of the project:
- If it is actively maintained, please update the `cmake_minimum_required`, and instruct upstream to do so as well.
  To minimize future maintenance, please add a higher bound as well, preferrably with the highest CMake version being
  tested. You may use 4.0 as the higher bound as this is being tested in the tracked copr project.
- If the project is not maintained, you may add `CMAKE_POLICY_VERSION_MINIMUM=3.5` as a CMake variable or environment
  variable.

You can check the build locally following the instructions in the change proposal, or submit your build to the tracking
copr project.

Let me know if you encounter any issues, or need any other help.

Comment 1 Petr Pisar 2026-02-18 08:49:31 UTC
CMake 4 is now in Fedora 45 and the failure looks like this:

+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .
[...]
CMake Error at CMakeLists.txt:2 (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.
-- Configuring incomplete, errors occurred!

Comment 2 Cristian Le 2026-02-18 09:18:04 UTC
PR is available https://src.fedoraproject.org/rpms/krazy2/pull-request/1.

But note, upstream is non-existent and it was created during KDE4 cycle. I don't have confidence that this still works as intended. There have not been actual maintenance on it for 12 years and there are no tests run.

There are also other KDE4 libs that FTBFS and those are significantly more difficult to patch and neither I nor KDE-SIG have the bandwidth (or patience) to invewtigate it. If the KDE4 maintainers wish to do so, they should do so rather quickly if they care to not retire it.


Note You need to log in before you can comment on or make changes to this bug.