Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671880 - dev-util/cmake-3.10.3: Could NOT find LibUV: Found unsuitable version "", but required is at least "1.0.0"
Summary: dev-util/cmake-3.10.3: Could NOT find LibUV: Found unsuitable version "", but...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-25 15:43 UTC by Sergey 'L29Ah' Alirzaev
Modified: 2019-04-04 01:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,8.83 KB, text/plain)
2018-11-25 15:43 UTC, Sergey 'L29Ah' Alirzaev
Details
emerge --info (emerge.info,16.74 KB, text/plain)
2018-11-25 15:45 UTC, Sergey 'L29Ah' Alirzaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey 'L29Ah' Alirzaev 2018-11-25 15:43:44 UTC
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!
Comment 1 Sergey 'L29Ah' Alirzaev 2018-11-25 15:45:07 UTC
Created attachment 556244 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-11-25 16:37:15 UTC
Please post the output of

  emerge -Opv libuv

to this bug.
Comment 3 Sergey 'L29Ah' Alirzaev 2018-11-25 19:25:47 UTC
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
Comment 4 Sergey 'L29Ah' Alirzaev 2018-11-25 19:27:45 UTC
Upgraded libuv to 1.24.0, no effect.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-12-04 08:35:41 UTC
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)
Comment 6 Sergey 'L29Ah' Alirzaev 2018-12-04 13:02:29 UTC
(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)
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2019-01-20 11:42:59 UTC
-- 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.
Comment 8 Sergey 'L29Ah' Alirzaev 2019-01-20 17:58:08 UTC
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
Comment 9 Larry the Git Cow gentoo-dev 2019-04-03 12:02:54 UTC
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(-)
Comment 10 Sergey 'L29Ah' Alirzaev 2019-04-03 13:05:32 UTC
Gee, thanks, now it's impossible to build freeorion in gentoo.
Comment 11 Andreas Sturmlechner gentoo-dev 2019-04-03 13:08:51 UTC
freeorion does not build with dev-util/cmake-3.9.6?
Comment 12 Sergey 'L29Ah' Alirzaev 2019-04-04 01:40:55 UTC
(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.