Robotics StackExchange | Archived questions

Building ros kinetic on debian stretch from source fails

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 catkinmakeisolated 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 catkinmake. The important part is the "--install" parameter, both methods work when installing is disabled I'm not sure if this is a roscomm / 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?

Asked by didi2002 on 2016-12-05 10:36:15 UTC

Comments

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

Asked by didi2002 on 2016-12-05 11:35:56 UTC

Same problem, downgrading libgtest-dev to jessie works.

Asked by Humpelstilzchen on 2017-01-02 09:16:17 UTC

Answers