Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559022 - kde-apps/libkdcraw-4.14.3-r1 build fails with CMake Error in FindPkgConfig.cmake:112
Summary: kde-apps/libkdcraw-4.14.3-r1 build fails with CMake Error in FindPkgConfig.cm...
Status: RESOLVED DUPLICATE of bug 558236
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 11:20 UTC by Pinky
Modified: 2015-08-28 11:32 UTC (History)
0 users

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


Attachments
Set minimal CMake version (libkdcraw_cmake_min_version.patch,417 bytes, patch)
2015-08-28 11:22 UTC, Pinky
Details | Diff
emerge --info (emerge.info,7.30 KB, application/x-info)
2015-08-28 11:23 UTC, Pinky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pinky 2015-08-28 11:20:43 UTC
There is no minimal CMAKE version specified in CMakeFile.txt, but is required by FindPkg macko

fail:
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:112 (elseif):
  given arguments:

    "VERSION_LESS" "3.1"

  Unknown arguments specified


Reproducible: Always
Comment 1 Pinky 2015-08-28 11:22:28 UTC
Created attachment 410508 [details, diff]
Set minimal CMake version

I does not check the actual required minimal CMake version, the number is just the one which solves the bug on my system.
Comment 2 Pinky 2015-08-28 11:23:09 UTC
Created attachment 410510 [details]
emerge --info
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-08-28 11:32:36 UTC
This is a bug in dev-util/cmake. Upgrade cmake to either version 3.2.3-r1 or 3.3.1-r1 to get rid of this bug.

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