Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519522 - dev-util/cmake-2.8.12.2-r1 fails to find python 3.4
Summary: dev-util/cmake-2.8.12.2-r1 fails to find python 3.4
Status: RESOLVED FIXED
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: fixed in 3.0.0
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-08-09 19:13 UTC by Jonas Jelten
Modified: 2014-08-21 19:43 UTC (History)
1 user (show)

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


Attachments
patch that fixes the issue (cmake-py3.4.patch,1.17 KB, patch)
2014-08-09 19:18 UTC, Jonas Jelten
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Jelten 2014-08-09 19:13:31 UTC
the most recent unmasked cmake in the portage tree is unable to find python >= 3.3.

This was fixed upstream in
https://github.com/Kitware/CMake/commit/ab6201ab647c13fee44c44822b8502e9848faaaf

The first tag where this commit is included, is v3.0.0, which is currently masked.


Possible solution suggestions:
0. Apply a quick and dirty patch that adds python 3.4 to the FindPythonLibs.cmake file, and release that with cmake-2.8.12.2-r2.
1. Unmask cmake-3.0.0, but is probably was masked for a reason.
Comment 1 Jonas Jelten 2014-08-09 19:18:17 UTC
Created attachment 382594 [details, diff]
patch that fixes the issue

upstream commit that adds python 3.4 to the search paths.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2014-08-21 19:43:40 UTC
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes.

+
+  21 Aug 2014; Johannes Huber <johu@gentoo.org> +cmake-2.8.12.2-r2.ebuild,
+  +files/cmake-2.8.12.2-fbsd.patch, +files/cmake-2.8.12.2-python34.patch:
+  Revision bump adds two upstreams patches. Fix build on fbsd spotted by Yuta
+  SATOH <nigoro@gentoo.gr.jp>, bug #492758. Fix finding Python 3.4 spotted by
+  Jonas Jelten <jonas.jelten@gmail.com>, bug #519522.
+