Created attachment 556242 [details] build.log -- Could NOT find LibUV: Found unsuitable version "", but required is at least "1.0.0" (found /usr/lib/libuv.so) CMake Error at CMakeLists.txt:531 (message): CMAKE_USE_SYSTEM_LIBUV is ON but a libuv is not found!
Created attachment 556244 [details] emerge --info
Please post the output of emerge -Opv libuv to this bug.
These are the packages that would be merged, in order: [ebuild U ] dev-libs/libuv-1.24.0:0/1::gentoo [1.23.2:0/1::gentoo] USE="-static-libs" ABI_X86="(64) -32 (-x32)" 1174 KiB Total: 1 package (1 upgrade), Size of downloads: 1174 KiB
Upgraded libuv to 1.24.0, no effect.
Does the following command give some output? If yes, please post it here: qfile -Cv /usr/lib/libuv.so (the "qfile" command belongs to app-portage/portage-utils package)
(In reply to Lars Wendler (Polynomial-C) from comment #5) > Does the following command give some output? If yes, please post it here: > > qfile -Cv /usr/lib/libuv.so > > (the "qfile" command belongs to app-portage/portage-utils package) dev-libs/libuv-1.24.0 (/usr/lib64/libuv.so)
-- Could NOT find LibUV: Found unsuitable version "", but required is at least "1.0.0" (found /usr/lib/libuv.so) CMake Error at CMakeLists.txt:531 (message): CMAKE_USE_SYSTEM_LIBUV is ON but a libuv is not found! Call Stack (most recent call first): CMakeLists.txt:662 (CMAKE_BUILD_UTILITIES) -- Configuring incomplete, errors occurred! See also "/home/jer/portage/dev-util/cmake-3.10.3/work/cmake-3.10.3_build/CMakeFiles/CMakeOutput.log". See also "/home/jer/portage/dev-util/cmake-3.10.3/work/cmake-3.10.3_build/CMakeFiles/CMakeError.log". These files show nothing useful. In 3.11.4 this seems to have been changed: -- Found LibUV: /usr/lib/libuv.so (found suitable version "1.24.1", minimum required is "1.10.0") by additionally checking for /usr/include/uv/version.h. So >=3.11.4 fixes this.
Too bad the newer cmake comes with this regression, making it unable to build a lot of boost-dependent stuff: https://bugs.gentoo.org/660980
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c5e278874c9a6d0daa3166a5046f8d4384f7b2 commit b7c5e278874c9a6d0daa3166a5046f8d4384f7b2 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-04-03 10:11:21 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-04-03 12:02:32 +0000 dev-util/cmake: Drop 3.10.3 Closes: https://bugs.gentoo.org/671880 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-util/cmake/Manifest | 1 - dev-util/cmake/cmake-3.10.3.ebuild | 212 ------------------------------------- 2 files changed, 213 deletions(-)
Gee, thanks, now it's impossible to build freeorion in gentoo.
freeorion does not build with dev-util/cmake-3.9.6?
(In reply to Andreas Sturmlechner from comment #11) > freeorion does not build with dev-util/cmake-3.9.6? Okay, it works. I thought the earlier cmake versions have the libuv problem as well.