Sudden custom_msgs related error in ros2, build failed in CI.
- Environment: ubuntu 20.04
- ROS 2: foxy
- Repository: https://github.com/rsasaki0109/lidars...
I branched off a branch where CI was successful in April 2022 and submitted the following Pull Request, but CI failed.
Local build is successful.
The changes made in the commit do not seem to be related to the build error. https://github.com/rsasaki0109/lidars...
The following is the error content at the time of build.
stderr: graph_based_slam
CMake Error at /home/runner/ros2_ws/install/lidarslam_msgs/share/lidarslam_msgs/cmake/ament_cmake_export_targets-extras.cmake:18 (message):
Failed to find exported target names in
'/home/runner/ros2_ws/install/lidarslam_msgs/share/lidarslam_msgs/cmake/lidarslam_msgs__rosidl_generator_cExport.cmake'
Call Stack (most recent call first):
/home/runner/ros2_ws/install/lidarslam_msgs/share/lidarslam_msgs/cmake/lidarslam_msgsConfig.cmake:41 (include)
CMakeLists.txt:30 (find_package)
Failed <<< graph_based_slam [1.95s, exited with code 1]
https://github.com/rsasaki0109/lidars...
I used ros2 foxy as an example, but the same error occurred in ros2 humble.
https://github.com/rsasaki0109/lidars...
It looks like a custom message issue, but I'm not sure of the solution after searching the net.
https://github.com/rsasaki0109/lidars...
How can this problem be solved?