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

ament_python_install_package: exclude libraries from install #413

Closed
wants to merge 1 commit into from

Conversation

DasRoteSkelett
Copy link

hen rosidl_python is run to generate messages, the lib__rosidl_generator_py.so (in case of linux) is installed into PYTHON_INSTALL_DIR and lib. This is a regression from foxy to humble. In the past, only .py files were copied, now we copy over the complete directory, which happens to also have the above library in it.

Since I do not know better, I exclude libraries from being copied.

See: ros2/rosidl_python#186

Signed-off-by: Matthias Schoepfer m.schoepfer@rethinkrobotics.com

hen rosidl_python is run to generate messages, the
lib<msgname>__rosidl_generator_py.so (in case of linux) is installed
into PYTHON_INSTALL_DIR and lib. This is a regression from foxy to humble.
In the past, only .py files were copied, now we copy over the complete
directory, which happens to also have the above library in it.

Since I do not know better, I exclude libraries from being copied.

Signed-off-by: Matthias Schoepfer <m.schoepfer@rethinkrobotics.com>
@clalancette clalancette changed the base branch from master to rolling December 1, 2022 18:07
@DasRoteSkelett
Copy link
Author

Any opinion? Any Reaction?

@brta-jc
Copy link

brta-jc commented Nov 1, 2023

Bump...Any updates? Nearly a year since this was submitted and it is still an active issue.
We have 200+ packages that would need editing, so we're running on this fork. We can't sync to upstream ROS as the ros industrial CI fails due to this.

@ghost
Copy link

ghost commented Nov 1, 2023

Maybe @clalancette can comment on this. For me, this is not that much of a blocker, since this patch is sadly just one of many that we carry around.

@clalancette
Copy link
Contributor

I just merged in ros2/rosidl_python#195, which is the better fix for this issue. With that, I'm going to close this PR out, since it shouldn't be necessary anymore.

@clalancette clalancette closed this Nov 9, 2023
@ghost
Copy link

ghost commented Nov 9, 2023

I agree, thanks

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.

4 participants