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

Do not export exec_depends in ament_auto_package #458

Open
wants to merge 1 commit into
base: rolling
Choose a base branch
from

Conversation

mathias-luedtke
Copy link

@mathias-luedtke mathias-luedtke commented Jun 2, 2023

The current behavior (implemented 9 year ago) treats exec_depends (former run_depends) as build_export_depends, which is not correct and in some cases can even break the build of dependent packages.
The combination of build_depend + exec_depend (but no build_export_depend) is a common pattern for executables (which do not need to export), whereas libraries (which need to export) often use the blanket depend.

Signed-off-by: Mathias Lüdtke <mathias.luedtke@pal-robotics.com>
@clalancette
Copy link
Contributor

The current behavior (implemented 9 year ago) treats exec_depends (former run_depends) as build_export_depends, which is not correct and in some cases can even break the build of dependent packages.

While I agree that this is somewhat suspicious, I'm also wary that changing this has the potential to break downstream packages that are currently depending on this. Can you give an example of how this breaks dependent packages?

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

2 participants