An attempt to build devel/cmake-core on FreeBSD 14 fails with -- Could NOT find LibUV: Found unsuitable version "1.18.0", but required is at least "1.28.0" (found /usr/local/lib/libuv.so) CMake Error at Source/Modules/CMakeBuildUtilities.cmake:333 (message): CMAKE_USE_SYSTEM_LIBUV is ON but a libuv is not found! Call Stack (most recent call first): CMakeLists.txt:416 (include) -- Configuring incomplete, errors occurred! --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- ===> Script "configure" failed unexpectedly. Please report the problem to kde@FreeBSD.org [maintainer] and attach the "/big/ports/usr/ports/devel/cmake-core/work/cmake-3.26.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Unfortunately, there is no /big/ports/usr/ports/devel/cmake-core/work/cmake-3.26.1/config.log file, so I am attaching a script(1) session of a build attempt.
Created attachment 243801 [details] cmake-core.log script(1) recording of the build attempt
Created attachment 243802 [details] cmake_bootstrap.log work/cmake-3.26.1/Bootstrap.cmk/cmake_bootstrap.log
Created attachment 243803 [details] CMakeOutput.log work/cmake-3.26.1/CMakeFiles/CMakeOutput.log
Created attachment 243804 [details] CMakeError.log work/cmake-3.26.1/CMakeFiles/CMakeError.log
I had libuv installed before, a fresh reinstallation of libuv-1.46.0 did not help.
You might have some leftover bits of an ancient libuv installation. FindLibUV.cmake first checks for ${LibUV_INCLUDE_DIR}/uv-version.h and then for ${LibUV_INCLUDE_DIR}/uv/version.h. The former is the older format. I suspect you at least still have a /usr/local/include/uv-version.h which is confusing the version check. This file should be removed.
This was it! Thank you very much!