4.4.0: CMake Error: The warning category "all" is not known.

Hi!

After updating CMake in pkgsrc to 4.4.0, dynamips started failing with an error I don’t understand:

-- Looking for clock_gettime in rt
CMake Error: The warning category "all" is not known.
CMake Error at /opt/pkg/share/cmake-4.4/Modules/CheckLibraryExists.cmake:154 (try_compile):
  Failed to configure test project build system.
Call Stack (most recent call first):
  cmake/dependencies.cmake:113 (check_library_exists)
  CMakeLists.txt:32 (include)

pkgsrc is one version (0.2.23) behind the latest (0.2.24) but it fails the same way in 0.2.24

Can someone please explain the problem and suggest a solution?

Thanks,
Thomas

This is a bug. Please open an issue on the tracker.

Thanks for the feedback - I’ve just done that:

https://gitlab.kitware.com/cmake/cmake/-/work_items/27961