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

Set project VERSION in moveit_common, fix sonames #532

Merged
merged 2 commits into from
Jul 7, 2021

Conversation

henningkayser
Copy link
Member

Fixes dependency issues in build farm due to invalid sonames (https://build.ros2.org/job/Gbin_uF64__moveit_ros_planning__ubuntu_focal_amd64__binary/2/console).

The issue is that ${PROJECT_NAME}_VERSION is not set automatically with colcon, it needs to be set explicitly using ament_package_xml(). Since the sonames are configured in all packages by setting the VERSION property, the actual file name ends up ending with a .. With this fix the sonames are set to the corresponding package versions for all libraries. In the future we should consider setting up explicit ABI versions.

@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

Merging #532 (bc75872) into main (6a76ef4) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #532      +/-   ##
==========================================
- Coverage   46.67%   46.65%   -0.01%     
==========================================
  Files         183      183              
  Lines       19654    19654              
==========================================
- Hits         9171     9168       -3     
- Misses      10483    10486       +3     
Impacted Files Coverage Δ
...dl_kinematics_plugin/src/kdl_kinematics_plugin.cpp 74.72% <0.00%> (-1.13%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a76ef4...bc75872. Read the comment docs.

@jspricke
Copy link
Contributor

jspricke commented Jul 1, 2021

Looks like this is not enough. Steps to reproduce:

cd moveit2/moveit_ros/occupancy_map_monitor
bloom-generate rosdebian --os-name ubuntu --os-version focal --ros-distro galactic
git deborig HEAD
debuild
ls obj-x86_64-linux-gnu/libmoveit_ros_occupancy_map_monitor.so.

Though with colcon it builds a libmoveit_ros_occupancy_map_monitor.so.2.2.0

Edit:
even easier:

cd moveit2/moveit_ros/occupancy_map_monitor
mkdir build
cd build
cmake ..
make
ls libmoveit_ros_occupancy_map_monitor.so.

@davetcoleman
Copy link
Member

Shouldn't this change be applied to all MoveIt2 packages?

@jspricke
Copy link
Contributor

jspricke commented Jul 1, 2021

Shouldn't this change be applied to all MoveIt2 packages?

No, Henning is changing the macro (and I missed that I had an old version installed, so retesting right now)

@henningkayser
Copy link
Member Author

Shouldn't this change be applied to all MoveIt2 packages?

The moveit_package macro is actually applied to all MoveIt packages, so yes, but it's already done ;)

@JafarAbdi JafarAbdi merged commit a9849cf into moveit:main Jul 7, 2021
christianlandgraf pushed a commit to christianlandgraf/moveit2 that referenced this pull request Aug 12, 2021
tylerjw pushed a commit to tylerjw/moveit2 that referenced this pull request Aug 27, 2021
MikeWrock pushed a commit to MikeWrock/moveit2 that referenced this pull request Aug 15, 2022
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.

None yet

4 participants