Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many packages not found by find_ros1_package() during build #418

Open
lucasw opened this issue Sep 26, 2023 · 0 comments
Open

Many packages not found by find_ros1_package() during build #418

lucasw opened this issue Sep 26, 2023 · 0 comments

Comments

@lucasw
Copy link

lucasw commented Sep 26, 2023

Bug report

Building ros1_bridge is erroring out with find_ros1_package() failed to find 'opencv_apps' using pkg_check_modules()

  • Operating System:

Ubuntu 23.04

  • Installation type:

From source

  • Version or commit hash:

3d5328d

  • DDS implementation:

Whatever default is for building iron from source

  • Client library (if applicable):

N/A

Steps to reproduce issue

Building ros1 one from source like this:

https://github.com/lucasw/ros_from_src/blob/debianize/ubuntu_2204/README.md (though it's slightly different on 23.04 vs. 22.04)

Building ros2 iron from source as in lucasw/ros_from_src#29, using https://docs.ros.org/en/iron/Installation/Alternatives/Ubuntu-Development-Setup.html as a starting point but not adding any apt package repositories:

cd ros2_iron
colcon build --symlink-install

Building ros1_bridge in an overlaying workspace overlay like this following the instructions https://docs.ros.org/en/iron/How-To-Guides/Using-ros1_bridge-Jammy-upstream.html#build-ros1-bridge:

source ~/install_base_catkin_ws/install/setup.bash
source ~/ros/ros2_iron/install/local_setup.bash
MAKEFLAGS="-j 4" colcon build --symlink-install --executor sequential --event-handlers console_cohesion+ --cmake-args -DCMAKE_VERBOSE_MAKEFILE=ON

It looks like some paths are scanned for ros1 packages, then that list is iterated through in a later step but not finding it,

Expected behavior

Actual behavior

Additional information

Currently using https://github.com/lucasw/ros1_bridge/tree/skip_not_found as a workaround, which results in it skipping these:

 apriltag_ros
 base_local_planner
 costmap_2d 
 find_object_2d 
 frei0r_image 
 fuse_models 
 image_view2 
 jsk_rviz_plugins 
 jsk_topic_tools 
 laser_assembler 
 navfn 
 nodelet_rosbag 
 opencv_apps 
 polled_camera 
 robot_localization 
 rviz

I'll try out some examples/demos to see if the parts that didn't get skipped are working.

Some of those may have modifications to build in 23.04, the vcs yaml in ros_from_src shows which branches are in use.

The one exception is opencv_apps, which is the debian installed ros-opencv-apps 2.0.2-8build1.
I'll try overlaying that in the catkin_ws to see if that helps -> nope no change, it still isn't found.

rospack find has no trouble finding any of them.

@lucasw lucasw changed the title Many packages not found Many packages not found by find_ros1_package() during build Sep 26, 2023
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

No branches or pull requests

1 participant