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

Fix build issues when rosbag2_storage is binary installed #585

Merged
merged 3 commits into from
Jan 29, 2021

Conversation

pjreed
Copy link
Contributor

@pjreed pjreed commented Dec 10, 2020

Several packages were failing to build from source when rosbag2_storage
was installed from a binary package because the path to the binary
install was being added to CMake's include path before the workspace
path. This tweaks the dependencies and include orders to ensure the
source workspace path is preferred.

Fixes #583

Distro A, OPSEC #4584

Signed-off-by: P. J. Reed preed@swri.org

pjreed and others added 3 commits December 10, 2020 09:33
Several packages were failing to build from source when rosbag2_storage
was installed from a binary package because the path to the binary
install was being added to CMake's include path before the workspace
path.  This tweaks the dependencies and include orders to ensure the
source workspace path is preferred.

Fixes ros2#583

Distro A, OPSEC #4584

Signed-off-by: P. J. Reed <preed@swri.org>
Copy link
Collaborator

@emersonknapp emersonknapp left a comment

Choose a reason for hiding this comment

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

This doesn't seem to change any ordering, as you describe it - it just makes the dependencies explicit for these targets. This seems at worst harmless.

@pjreed pjreed marked this pull request as ready for review January 28, 2021 21:45
@pjreed pjreed requested a review from a team as a code owner January 28, 2021 21:45
@pjreed pjreed requested review from thomas-moulard and zmichaels11 and removed request for a team January 28, 2021 21:45
@emersonknapp
Copy link
Collaborator

Gist: https://gist.githubusercontent.com/emersonknapp/c78911c644a268d15405ea377138d831/raw/cc8049975ebc06535e58adfd6911b3161642b4e5/ros2.repos
BUILD args: --packages-up-to rosbag2_compression rosbag2_cpp rosbag2_py rosbag2_storage_default_plugins rosbag2_transport
TEST args: --packages-select rosbag2_compression rosbag2_cpp rosbag2_py rosbag2_storage_default_plugins rosbag2_transport
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/7553

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@emersonknapp emersonknapp merged commit 9890ee2 into ros2:master Jan 29, 2021
emersonknapp pushed a commit that referenced this pull request Feb 2, 2021
Several packages were failing to build from source when rosbag2_storage
was installed from a binary package because the path to the binary
install was being added to CMake's include path before the workspace
path.  This tweaks the dependencies and include orders to ensure the
source workspace path is preferred.

Fixes #583

Distro A, OPSEC #4584

Signed-off-by: P. J. Reed <preed@swri.org>
emersonknapp pushed a commit that referenced this pull request Feb 17, 2021
Several packages were failing to build from source when rosbag2_storage
was installed from a binary package because the path to the binary
install was being added to CMake's include path before the workspace
path.  This tweaks the dependencies and include orders to ensure the
source workspace path is preferred.

Fixes #583

Distro A, OPSEC #4584

Signed-off-by: P. J. Reed <preed@swri.org>
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.

Can't build master branch against rolling release
3 participants