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

Add an explicit dependency on cppzmq-dev #512

Merged
merged 3 commits into from
Aug 5, 2024
Merged

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Aug 2, 2024

🦟 Bug fix

Summary

In Jammy, the zmq C++ headers were included in libzmq-dev. However, in Noble, the headers are now in a separate package, cppzmq-dev, and that package is recommended by libzmq-dev. This shouldn't affect most users, but anywhere these dependencies are installed with --no-install-recommends will now break because it won't have cppzmq-dev installed. This patch just adds an explicit dependency to avoid the problem.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

In Jammy, the zmq C++ headers were included in libzmq-dev. However, in
Noble, the headers are now in a separate package, `cppzmq-dev`,
and that package is recommended by libzmq-dev. This shouldn't affect
most users, but anywhere these dependencies are installed with
`--no-install-recommends` will now break because it won't have
cppzmq-dev installed. This patch just adds an explicit dependency to
avoid the problem.

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey azeey requested a review from caguero as a code owner August 2, 2024 18:43
@github-actions github-actions bot added the 🏛️ ionic Gazebo Ionic label Aug 2, 2024
@iche033
Copy link
Contributor

iche033 commented Aug 2, 2024

I think this needs to be done in a separate packages-noble.apt file?

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@azeey
Copy link
Contributor Author

azeey commented Aug 2, 2024

I think this needs to be done in a separate packages-noble.apt file?

Done in 0135bfb. We should be replacing all the Jammy CI jobs with Noble, but we were having issues with running the code coverage tools in gazebosim/gz-fuel-tools#427

@azeey azeey added the beta Targeting beta release of upcoming collection label Aug 5, 2024
@azeey azeey merged commit 7845c09 into gazebosim:main Aug 5, 2024
9 checks passed
@azeey azeey deleted the add_cppzmq branch August 5, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection 🏛️ ionic Gazebo Ionic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants