With cmake-utils.eclass revision=1.112 I can't build net-misc/freerdp-9999.1:0 Build fail with: CMake Error at winpr/CMakeLists.txt:20 (project): The CMAKE_C_COMPILER: x86_64-pc-linux-gnu-gcc is not a full path and was not found in the PATH. Some info about: https://bugs.gentoo.org/show_bug.cgi?id=503216#c27 dev-util/cmake-3.0.2 Reproducible: Always
Despite what the error says, I have seen more than one comment stating that CMake 3 now requires an absolute path. That might have something to do with why the "type -P" stuff was there. I'm not sure why this error doesn't appear on every package though. Alexis, over to you.
freerdp calls: include(CMakeDetermineSystem) in its CMakeLists.txt; according to what I've read this is not for usage outside of cmake and removing this line makes freerdp work with latest cmake-utils.eclass
(In reply to Alexis Ballier from comment #2) upstream https://github.com/FreeRDP/FreeRDP/issues/2181
(In reply to Alexis Ballier from comment #2) > freerdp calls: include(CMakeDetermineSystem) in its CMakeLists.txt; > according to what I've read this is not for usage outside of cmake and > removing this line makes freerdp work with latest cmake-utils.eclass Thanks. With this change I can build freerdp. diff -Naur freerdp-9999.1/CMakeLists.txt freerdp-9999.2/CMakeLists.txt --- freerdp-9999.1/CMakeLists.txt 2014-11-07 20:09:28.506125117 +0300 +++ freerdp-9999.2/CMakeLists.txt 2014-11-07 20:11:33.648124922 +0300 @@ -44,7 +44,6 @@ include(CheckIncludeFiles) include(CheckLibraryExists) include(CheckStructHasMember) -include(CMakeDetermineSystem) include(FindPkgConfig) include(TestBigEndian)
https://github.com/FreeRDP/FreeRDP/issues/2181#issuecomment-62534262
same probem als in version 1.1.0_beta1_p20130710-r2
fixed in upstream, see https://github.com/FreeRDP/FreeRDP/commit/a668a644889bd58405b92c72a91c308c2bad8022
+ 12 Nov 2014; Justin Lecher <jlec@gentoo.org> + freerdp-1.1.0_beta1_p20130710-r2.ebuild, + +files/freerdp-1.1.0_beta1_p20130710-cmake.patch, metadata.xml: + Fix usage of internal cmake modules, #527700 +