ros-infrastructure / ros_buildfarm

ROS buildfarm based on Docker
Apache License 2.0
81 stars 96 forks source link

ROS2 build: cannot create directory error #978

Open mbusy opened 1 year ago

mbusy commented 1 year ago

Hi, I'm currently release the pepper_meshes package for ROS2, and the CI fails while building the binaries:

CMake Error at CMakeLists.txt:28 (file):
  file DOWNLOAD error: cannot create directory
  '/opt/ros/foxy/share/pepper_meshes/tmp' - Specify file by full path name
  and verify that you have directory creation and file write privileges.

(here's the full log for more details)

When building the package, a temporary directory is created to download and unzip the meshes (see that part of the CMakeLists.txt). This process worked with all ROS1 distros, but doesn't see to fly with the ROS2 CI. Is that normal, and if so, do you have any idea on how to overcome that?