Summary: | dev-ros:cv_bridge-1.12.8 - CMake E rror:Unable to find the requested Boost libraries. Boost version: 1.65.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Robot Operating System team <ros> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo-bugs, kensington, vmatare+gbug |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=660980 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | CMakeOutput.log |
Description
Juergen Rose
2018-05-16 05:00:34 UTC
root@lynxold:/root(15)# emerge -pqv '=dev-ros/cv_bridge-1.12.8::gentoo' [ebuild U ] dev-ros/cv_bridge-1.12.8 [1.12.7] USE="{-test}" PYTHON_TARGETS="python2_7" The same issue happens with cv_bridge-1.13.0. cv_bridge/CMakeLists.txt contains this: > if(PYTHONLIBS_VERSION_STRING VERSION_LESS 3) > find_package(Boost REQUIRED python) > else() > find_package(Boost REQUIRED python3) > endif() However, according to FindBoost.cmake, something like the following should be used instead: > find_package(Boost OPTIONAL_COMPONENTS python27 python34 python35 python36 python37) It fails now with: ... -- catkin 0.7.14 -- Found PythonLibs: /usr/lib/libpython2.7.so (found version "2.7.16") CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:839 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /usr/share/cmake/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:9 (find_package) CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2044 (message): Unable to find the requested Boost libraries. Boost version: 1.70.0 Boost include path: /usr/include Could not find the following Boost libraries: boost_python No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. should have been fixed by : commit d574fac9e5441907ef43d34d395bb86794bae1bb Author: Alexis Ballier <aballier@gentoo.org> Date: Wed Aug 28 16:19:12 2019 +0200 dev-ros/cv_bridge: fix boost python detection Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Alexis Ballier <aballier@gentoo.org> |