[Pkg-cmake-team] Bug#867514: Bug#867514: python2.7/cmake: find_package called with invalid argument "2.7.13+"

Felix Geyer fgeyer at debian.org
Tue Jul 11 20:57:08 UTC 2017


Hi Adrian,

On 07.07.2017 01:11, Adrian Bunk wrote:
> -- Found PythonLibs: /usr/lib/mips-linux-gnu/libpython2.7.so (found suitable version "2.7.13+", minimum required is "2") 
> CMake Error at bindings/python/CMakeLists.txt:9 (FIND_PACKAGE):
>   find_package called with invalid argument "2.7.13+"

I've submitted a patch upstream.

Please note however that libsolv doesn't follow the recommended way to find the Python interpreter
+ libs:

> If calling both ``find_package(PythonInterp)`` and
> ``find_package(PythonLibs)``, call ``find_package(PythonInterp)`` first to> get the currently active Python version by default with a consistent version
> of PYTHON_LIBRARIES.
Felix



More information about the Pkg-cmake-team mailing list