View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014830CMakeCMakepublic2014-03-24 16:362014-10-06 10:33
ReporterPeter Linnell 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformLinux OSopenSUSE 12.3 or newerOS Version
Product Version 
Target VersionFixed in Version 
Summary0014830: FindPythonLibs regression in CMake 3.0
DescriptionScribus which has used CMake for a long time now, shows an issue with detecting Python libraries, which seems to be a regression. Commit: http://cmake.org/gitweb?p=cmake.git;a=blobdiff;f=Modules/FindPythonLibs.cmake;h=8356ed94d43d9ac1442a0d7a01954a71f221a2a0;hp=bffa9fb4fe90aee5787956645f1f212eb05edb4f;hb=afd4f7f0428f48c6a01eb828dd07e057048edc49;hpb=81aaad0c7357b50770284b7d87d04cedf8bc4eae [^]

Seems to have the commit which has changed.
Steps To Reproducehttps://build.opensuse.org/package/live_build_log/KDE:Unstable:Extra/scribus-unstable/openSUSE_Factory/x86_64 [^] Shows the build failure on openSUSE's build service.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0035493)
Brad King (manager)
2014-03-24 16:44

Simpler link to commit linked in description:

 FindPython*: simplify version selection
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=afd4f7f0 [^]
(0035494)
Rolf Eike Beer (developer)
2014-03-24 16:58

#<< PYTHON
SET(PythonLibs_FIND_VERSION 2)
FIND_PACKAGE(PythonLibs REQUIRED)

If you fiddle with the version selection then set all required variables. Otherwise let CMake do it:

find_package(PythonLibs 2 REQUIRED)
(0035528)
Brad King (manager)
2014-03-26 10:48

Re 0014830:0035494: Yes, setting PythonLibs_FIND_VERSION manually is stepping on implementation details of the find_package command and is not supported. Passing the version request argument to find_package is the correct way to specify the version.
(0036957)
Robert Maynard (manager)
2014-10-06 10:33

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2014-03-24 16:36 Peter Linnell New Issue
2014-03-24 16:42 Brad King Assigned To => Rolf Eike Beer
2014-03-24 16:42 Brad King Status new => assigned
2014-03-24 16:43 Brad King Summary Regression in CMake 3.0 => FindPythonLibs regression in CMake 3.0
2014-03-24 16:44 Brad King Note Added: 0035493
2014-03-24 16:58 Rolf Eike Beer Note Added: 0035494
2014-03-26 10:48 Brad King Note Added: 0035528
2014-03-26 10:48 Brad King Assigned To Rolf Eike Beer =>
2014-03-26 10:48 Brad King Status assigned => resolved
2014-03-26 10:48 Brad King Resolution open => no change required
2014-10-06 10:33 Robert Maynard Note Added: 0036957
2014-10-06 10:33 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team