Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500442 - dev-util/cmake detects the wrong version of libboost_python outside of portage
Summary: dev-util/cmake detects the wrong version of libboost_python outside of portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: Inclusion, PATCH
Depends on:
Blocks:
 
Reported: 2014-02-05 23:21 UTC by Christoph Junghans (RETIRED)
Modified: 2014-05-06 12:22 UTC (History)
0 users

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


Attachments
patch against gx86 version (FindBoost.cmake.patch,835 bytes, patch)
2014-02-05 23:21 UTC, Christoph Junghans (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Junghans (RETIRED) gentoo-dev 2014-02-05 23:21:35 UTC
Created attachment 369664 [details, diff]
patch against gx86 version

Outside of portage, in the case the default python interpreter is python3, but python2 is requested by find_package(PythonInterp 2), cmake will detect the wrong libboost_python, namely libboost_python-3.X.so.

This issue is gentoo specific as we name libboost_python in a non-standard way.

The attached patch improves the situation a bit, as one can assume that PYTHON_EXECUTABLE is set to the right interpreter by cmake.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2014-02-25 19:24:46 UTC
Thanks, this is now in the KDE overlay for testing.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2014-05-06 12:22:57 UTC
Thanks for reporting. This is fixed in cvs now. Please sync.

+
+  06 May 2014; Johannes Huber <johu@gentoo.org> +cmake-2.8.12.2-r1.ebuild,
+  +files/cmake-2.8.12.2-FindBoost-python.patch:
+  Revision bump adds patch to find the correct version libboost_python outside
+  of portage by Christoph Junghans <ottxor@gentoo.org>, bug #500442.
+