How to solve 'Failed to process package 'cpp_common'' error when installing ROS on Raspbian?

asked 2019-11-05 12:35:02 -0600

Py_J gravatar image

Hi all,

I am following these instructions to install ROS Kinetic on Raspbian Buster on a Raspberry Pi 4:

http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi

When building the catkin workspace I run into the following error:

<== Failed to process package 'cpp_common': 
  Command '['/opt/ros/kinetic/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/pi/ros_catkin_ws/build_isolated/cpp_common && /opt/ros/kinetic/env.sh make -j4 -l4

Command failed, exiting.

On the instructions, it warns of a potential Boost error which I previously got and resolved. It also mentions a possible "internal compiler error" that can be fixed by adjusting swap space, which I played around with and had no success. In hindsight, it seems like this is not the problem anyway.

Does anybody have any ideas how I might solve this?

Thanks :)

edit retag flag offensive close merge delete