Building ros kinetic on debian stretch from source fails

asked 2016-12-05 09:36:15 -0500

didi2002 gravatar image

updated 2016-12-05 10:33:05 -0500

I have setup using clean debian stretch and a ros kinetic from source. Until a couple of days ago, everything worked just fine, but when running this:

rosinstall_generator ros_comm --deps --rosdistro kinetic --wet-only --tar > test.rosinstall
wstool init -j4 src test.rosinstall
catkin init
catkin config --install --install-space /opt/ros/kinetic
catkin build

I now get the following error:

Starting >>> catkin
No handlers could be found for logger "trollius"
Errors << catkin:install /home/user/ros_catkin_ws/logs/catkin/build.install.000.log
CMake Error at gtest/cmake_install.cmake:42 (file):
  file INSTALL cannot find
  "/home/user/ros_catkin_ws/build/catkin/gtest/libgtest.so".
Call Stack (most recent call first):
  cmake_install.cmake:154 (include)

make: *** [install] Error 1

Using catkin_make_isolated instead, I get

WARNING: Target "gtest" has EXCLUDE_FROM_ALL set and will not be built by default but an install rule has been provided for it.

For every single package processed by catkin_make. The important part is the "--install" parameter, both methods work when installing is disabled I'm not sure if this is a ros_comm / catkin / gtest related error or something wrong with my setup. Does anyone have an idea a) where to file an appropriate bug? b) how I messed up my setup?

edit retag flag offensive close merge delete

Comments

Removing the googletest + libgtest-dev package from my system fixes the build but breaks other projects

didi2002 gravatar image didi2002  ( 2016-12-05 10:35:56 -0500 )edit

Same problem, downgrading libgtest-dev to jessie works.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2017-01-02 08:16:17 -0500 )edit