Skip to content

posedetection_msgs: build with cv_bridge 4.1.1 of rolling (libopencv-dev), and CI of lyrical / rolling with the repository of the build farm - #37

Merged
k-okada merged 3 commits into
jsk-ros-pkg:masterfrom
k-okada:ci-testing-repo
Dec 5, 2026
Merged

k-okada merged 3 commits into
jsk-ros-pkg:masterfrom
k-okada:ci-testing-repo

Conversation

@k-okada

@k-okada k-okada commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

The build farm fails to build posedetection_msgs for rolling on resolute (Rbin_uR64__posedetection_msgs__ubuntu_resolute_amd64__binary #9, Rbin_unv8_uRv8__posedetection_msgs__ubuntu_resolute_arm64__binary #7), while the CI of this repository passes:

-- Found cv_bridge: 4.1.1 (/opt/ros/rolling/share/cv_bridge/cmake)
CMake Error at /opt/ros/rolling/share/cv_bridge/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package):
  ...
  Could not find a package configuration file provided by "OpenCV" with any
  of the following names:

    OpenCVConfig.cmake
    opencv-config.cmake

cv_bridge 4.1.1 (ros-perception/vision_opencv#563) has libopencv-dev as build_depend only, but its CMake config still calls find_package(OpenCV) for the packages using it, so libopencv-dev is not installed for them. The build farm builds with its own repository (building, http://repo.ros2.org/ubuntu/building), which already has cv_bridge 4.1.1, while industrial_ci uses the main one by default (and testing still has 4.1.0).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

No active review issues are reported for the change aligning lyrical and rolling CI with the build farm’s testing repository.

No open issues 🎉

What changed in this PR

Aligns ROS 2 CI with the build farm’s testing repository to help expose dependency regressions such as the reported cv_bridge build failure.

Changes:

  • Uses the testing repository for lyrical and rolling; keeps other distributions on main.
  • Documents why these distributions use testing.
File Description
.github/​workflows/​ros2.yaml Selects ROS_REPO by distribution and explains the testing-repository choice.

Review effort: Balanced

…building)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
@k-okada k-okada changed the title posedetection_msgs: build with cv_bridge 4.1.1 of rolling (libopencv-dev), and CI of lyrical / rolling with the testing repository posedetection_msgs: build with cv_bridge 4.1.1 of rolling (libopencv-dev), and CI of lyrical / rolling with the repository of the build farm Dec 5, 2026
k-okada and others added 2 commits December 5, 2026 22:27
…lling

cv_bridge 4.1.1 finds OpenCV in its CMake config for the packages using it,
but has libopencv-dev as build_depend only, so the build farm does not
install it for posedetection_msgs (ros-perception/vision_opencv#702).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
rosidl_auto_generate_interfaces() passes all the build_depend of
package.xml to rosidl_generate_interfaces(), which fails for libopencv-dev
as it is not a CMake package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xo6jRt2Rcht9sQS6ms6A4p
@k-okada
k-okada merged commit 66276f9 into jsk-ros-pkg:master Dec 5, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants