Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 559662

Summary: kde-apps/kfmclient-15.08.0: build fails due to CMake Error at FindPkgConfig.cmake:112
Product: Gentoo Linux Reporter: Evgeny Bobkin <evgen.ibqn>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Evgeny Bobkin 2015-09-05 13:27:40 UTC
With
# cmake --version
cmake version 3.2.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).


I can not pass configure phase:
...

-- Found Threads: TRUE                                                                                                                                                                                  [525/57147]
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:112 (elseif):
  given arguments:

    "VERSION_LESS" "3.1"

  Unknown arguments specified
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:501 (_pkgconfig_parse_options)
  /usr/share/cmake/Modules/FindOpenSSL.cmake:43 (pkg_check_modules)
  /usr/share/apps/cmake/modules/Qt4ConfigDependentSettings.cmake:224 (FIND_PACKAGE)
  /usr/share/apps/cmake/modules/FindQt4.cmake:1207 (INCLUDE)
  /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:392 (find_package)
  /usr/share/cmake/Modules/FindKDE4.cmake:108 (find_package)
  CMakeLists.txt:10 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.2)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-apps/kfmclient-15.08.0/work/kfmclient-15.08.0_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/kde-apps/kfmclient-15.08.0/work/kfmclient-15.08.0_build/CMakeFiles/CMakeError.log".
 * ERROR: kde-apps/kfmclient-15.08.0::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4053:  Called kde4-meta_src_configure
 *   environment, line 3095:  Called kde4-base_src_configure
 *   environment, line 2816:  Called cmake-utils_src_configure
 *   environment, line 1076:  Called _execute_optionally 'src_configure'
 *   environment, line  524:  Called enable_cmake-utils_src_configure
 *   environment, line 1408:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=kde-apps/kfmclient-15.08.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/kfmclient-15.08.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/kde-apps:kfmclient-15.08.0:20150905-130944.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/kde-apps/kfmclient-15.08.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/kfmclient-15.08.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/kfmclient-15.08.0/work/kfmclient-15.08.0_build'
 * S: '/var/tmp/portage/kde-apps/kfmclient-15.08.0/work/kfmclient-15.08.0'


Reproducible: Always
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-09-05 14:54:54 UTC
Please update your cmake to a newer version.

*** This bug has been marked as a duplicate of bug 558236 ***