Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558430 - libkcddb-15.08.0:4, libkcompactdisc-15.08.0, audiocd-kio-15.08.0 fails to build with cmake 3.2.2: "No cmake_minimum_required command is present."
Summary: libkcddb-15.08.0:4, libkcompactdisc-15.08.0, audiocd-kio-15.08.0 fails to bui...
Status: RESOLVED DUPLICATE of bug 558236
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-22 15:59 UTC by J.Borme
Modified: 2015-08-22 16:02 UTC (History)
1 user (show)

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


Attachments
output of emerge --info (emergeinfo.txt,5.62 KB, text/plain)
2015-08-22 16:01 UTC, J.Borme
Details
Build log (libkcddb-libkcompactdisc-audiocd-kio-15.08.0-build-output.txt,25.17 KB, text/plain)
2015-08-22 16:02 UTC, J.Borme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J.Borme 2015-08-22 15:59:48 UTC
The three mentioned packages fail to build with cmake 3.2.2 (stable) as they are missing a parameter in their CMakeLists.txt. Downgrading to cmake 3.0.2 is possible to build. 

Adding one line in the CMakeLists.txt as the error log is asking should solve the issue. At least it did the trick in other software showing the same problem, as illustrated at https://github.com/ryanmelt/qtbindings/issues/111

>  /usr/share/cmake/Modules/FindKDE4.cmake:108 (find_package)
>  CMakeLists.txt:5 (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!
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-08-22 16:00:58 UTC

*** This bug has been marked as a duplicate of bug 558236 ***
Comment 2 J.Borme 2015-08-22 16:01:32 UTC
Created attachment 409880 [details]
output of emerge --info
Comment 3 J.Borme 2015-08-22 16:02:43 UTC
Created attachment 409882 [details]
Build log