Problem with catkin_make in noetic

asked 2021-07-08 15:48:10 -0500

RoboTBiLL gravatar image

Hello there! Inside the catkin_ws when I run the command catkin_make I got the following error.

CMake Error at /opt/ros/noetic/share/catkin/cmake/catkin_install_python.cmake:48 (file):   file failed to open for writing (Permission denied):

    /home/robot/catkin_ws/build/xarm_ros/xarm_gazebo/catkin_generated/installspace/libpthread.so Call Stack (most recent call first):   xarm_ros/xarm_gazebo/CMakeLists.txt:221 (catkin_install_python)

This is the full text from terminal

    robot@RoBoTBoY:~/catkin_ws$ catkin_make
Base path: /home/robot/catkin_ws
Source space: /home/robot/catkin_ws/src
Build space: /home/robot/catkin_ws/build
Devel space: /home/robot/catkin_ws/devel
Install space: /home/robot/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/robot/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/robot/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/robot/catkin_ws/devel;/opt/ros/noetic
-- This workspace overlays: /home/robot/catkin_ws/devel;/opt/ros/noetic
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") 
-- Using PYTHON_EXECUTABLE: /usr/bin/python3
-- Using Debian Python package layout
-- Using empy: /usr/lib/python3/dist-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/robot/catkin_ws/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/googletest': gtests will be built
-- Found gmock sources under '/usr/src/googletest': gmock will be built
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") 
-- Using Python nosetests: /usr/bin/nosetests3
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 15 packages in topological order:
-- ~~  - examples
-- ~~  - xarm_bringup
-- ~~  - xarm_description
-- ~~  - xarm5_moveit_config
-- ~~  - xarm6_gripper_moveit_config
-- ~~  - xarm6_moveit_config
-- ~~  - xarm7_moveit_config
-- ~~  - xarm_msgs
-- ~~  - robosys_path_following
-- ~~  - xarm_api
-- ~~  - xarm_controller
-- ~~  - xarm_device
-- ~~  - xarm_gazebo
-- ~~  - xarm_gripper
-- ~~  - xarm_planner
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'examples'
-- ==> add_subdirectory(xarm_ros/examples)
-- +++ processing catkin package: 'xarm_bringup'
-- ==> add_subdirectory(xarm_ros/xarm_bringup)
-- +++ processing catkin package: 'xarm_description'
-- ==> add_subdirectory(xarm_ros/xarm_description)
-- +++ processing catkin package: 'xarm5_moveit_config'
-- ==> add_subdirectory(xarm_ros/xarm5_moveit_config)
-- +++ processing catkin package: 'xarm6_gripper_moveit_config'
-- ==> add_subdirectory(xarm_ros/xarm6_gripper_moveit_config)
-- +++ processing catkin package: 'xarm6_moveit_config'
-- ==> add_subdirectory(xarm_ros/xarm6_moveit_config)
-- +++ processing catkin package: 'xarm7_moveit_config'
-- ==> add_subdirectory(xarm_ros/xarm7_moveit_config)
-- +++ processing catkin package: 'xarm_msgs'
-- ==> add_subdirectory(xarm_ros/xarm_msgs)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- xarm_msgs: 2 messages, 11 services
-- +++ processing catkin package: 'robosys_path_following'
-- ==> add_subdirectory(robosys_path_following)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Warning at /home/robot/catkin_ws/build/robosys_path_following/cmake/robosys_path_following-genmsg.cmake:3 (message):
  Invoking generate_messages() without having added any message or service
  file before.

  You should either add add_message_files() and/or add_service_files() calls
  or remove the invocation of generate_messages().
Call Stack (most recent call first):
  /opt/ros/noetic/share/genmsg/cmake/genmsg-extras.cmake:307 (include)
  robosys_path_following/CMakeLists.txt:12 (generate_messages)


-- robosys_path_following: 0 messages, 0 services
-- +++ processing catkin package: 'xarm_api'
-- ==> add_subdirectory(xarm_ros/xarm_api)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'xarm_controller'
-- ==> add_subdirectory(xarm_ros/xarm_controller)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- +++ processing catkin package: 'xarm_device'
-- ==> add_subdirectory(xarm_ros/xarm_device)
-- +++ processing catkin package: 'xarm_gazebo'
-- ==> add_subdirectory(xarm_ros/xarm_gazebo)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Found DART: /usr/include (Required is at least version "6.6") found components: dart 
-- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3 ...
(more)
edit retag flag offensive close merge delete