Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412925 - dev-util/cmake-2.8.8 version bump
Summary: dev-util/cmake-2.8.8 version bump
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: http://www.kitware.com/news/home/brow...
Whiteboard:
Keywords:
: 414441 (view as bug list)
Depends on:
Blocks: 414037
  Show dependency tree
 
Reported: 2012-04-21 15:10 UTC by Rolf Eike Beer
Modified: 2012-05-03 04:49 UTC (History)
3 users (show)

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


Attachments
cmake-2.8.8-more-no_host_paths.patch (cmake-2.8.3-more-no_host_paths.patch,3.05 KB, patch)
2012-04-22 14:50 UTC, Chris Reffett (RETIRED)
Details | Diff
replacement patch for cmake-2.8.4-FindPythonLibs.patch (cmake-2.8.8-FindPythonLibs.patch,1.40 KB, patch)
2012-04-23 16:40 UTC, Rolf Eike Beer
Details | Diff
cmake-2.8.8-python.patch (cmake-2.8.8-python.patch,838 bytes, patch)
2012-04-28 06:14 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2012-04-21 15:10:38 UTC
Builds fine for me on hppa with the following patches removed:

cmake-2.8.4-FindPythonLibs.patch
(see #405181)
cmake-2.8.3-more-no_host_paths.patch
(does not apply)
cmake-2.8.4-FindBoost.patch
cmake-2.8.7-FindOpenMP.patch
(both applied upstream)


Reproducible: Always
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2012-04-22 14:34:32 UTC
(In reply to comment #0)
> Builds fine for me on hppa with the following patches removed:
> 
> cmake-2.8.4-FindPythonLibs.patch
> (see #405181)

Removal of this patch is wrong as long it is not decided.

> cmake-2.8.3-more-no_host_paths.patch
> (does not apply)

Needs a replacement for 2.8.8.

> cmake-2.8.4-FindBoost.patch
> cmake-2.8.7-FindOpenMP.patch

Confirmed.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2012-04-22 14:48:25 UTC
> > cmake-2.8.3-more-no_host_paths.patch
> > (does not apply)
> 
> Needs a replacement for 2.8.8.

=dev-util/cmake-2.8.8 is now masked in kde overlay. The mentioned patch is not done yet.
Comment 3 Chris Reffett (RETIRED) gentoo-dev Security 2012-04-22 14:50:12 UTC
Created attachment 309779 [details, diff]
cmake-2.8.8-more-no_host_paths.patch

And here's the patch, updated for 2.8.8, I will commit this to the overlay shortly.
Comment 4 Rolf Eike Beer archtester 2012-04-22 15:17:51 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Builds fine for me on hppa with the following patches removed:
> > 
> > cmake-2.8.4-FindPythonLibs.patch
> > (see #405181)
> 
> Removal of this patch is wrong as long it is not decided.

I dropped it because it would not apply anyway because the FindPython* modules have been much improved upstream. And because the patch is wrong anyway ;P
Comment 5 Rolf Eike Beer archtester 2012-04-23 16:40:30 UTC
Created attachment 309861 [details, diff]
replacement patch for cmake-2.8.4-FindPythonLibs.patch

This untested patch should be a replacement for the FindPythonLibs modification that should both work and be correct in regard to 405181. Please verify if that works for you as expected, then I'll push something like that upstream.
Comment 6 Chris Reffett (RETIRED) gentoo-dev Security 2012-04-27 14:01:24 UTC
As a note: one of the tests is failing really disastrously: something comments out the prefix for test 62, Qt4Deploy, and that test runs an rm -rf on the dir it's installing things to, which in the absence of the prefix is /usr/local. In other words, it breaks out of the sandbox and also manages to run rm -rf /usr/local/*. I restricted tests a few days ago, but wanted to make a note of that here.
Comment 7 Arfrever Frehtes Taifersar Arahesis 2012-04-28 06:02:35 UTC
cmake 2.8.8 contains some changes in FindPythonInterp.cmake and FindPythonLibs.cmake. I will work on updated patch for these files.
Comment 8 Arfrever Frehtes Taifersar Arahesis 2012-04-28 06:14:16 UTC
Created attachment 310327 [details, diff]
cmake-2.8.8-python.patch

This patch should work. It replaces cmake-2.8.4-FindPythonLibs.patch for cmake 2.8.8.
Comment 9 Rolf Eike Beer archtester 2012-04-28 10:42:43 UTC
The FindPythonLibs part is wrong as described in bug 405181 (short version: try find_package(PythonLibs 3) with your patch).

The FindPythonInterp patch is completely wrong. If the developer did not specify a version to find then the module will already look at "python" as the executable first. If the developer did specify a major version (find_package(PythonInterp 3) then it should look at "python3" first, then trying it's known python versions and returning the highest one. If the developer did specify a more detailed version (e.g. 3.2) then it will return the highest version of that major (i.e. 3.3, then 3.2). So in my eyes it behaves sensible in all cases already, but your patch breaks all cases where the developer did not just want "any python".
Comment 10 Arfrever Frehtes Taifersar Arahesis 2012-04-28 15:01:52 UTC
(In reply to comment #9)

I suggest to move discussion about Python patches to bug #405181.
Comment 11 Johannes Huber (RETIRED) gentoo-dev 2012-05-02 21:06:18 UTC
Thank you all. 

+  02 May 2012; Johannes Huber <johu@gentoo.org> +cmake-2.8.8-r1.ebuild,
+  +files/cmake-2.8.8-FindPkgConfig.patch,
+  +files/cmake-2.8.8-more-no_host_paths.patch, +files/cmake-2.8.8-tests.patch:
+  Version bump by me and Chris Reffett <geekboy72@gmail.com> wrt bug #412925.
+  Adds patch for FindPkgConfig to respect PKG_CONFIG environment variable by
+  DaboD <daiderek@gmail.com> bug #414037.

(In reply to comment #10)
> (In reply to comment #9)
> 
> I suggest to move discussion about Python patches to bug #405181.

Indeed the discussion of the python patches should discussed in bug #405181.
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-05-03 04:49:11 UTC
*** Bug 414441 has been marked as a duplicate of this bug. ***