-
Notifications
You must be signed in to change notification settings - Fork 44
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 python3-dev build_depend to lttngpy. #146
Conversation
This is needed because the CMakeLists.txt file for this package does: find_package(Python3 REQUIRED COMPONENTS Interpreter Development) Otherwise, it may fail to build on certain platforms on the buildfarm (like RHEL-9). Signed-off-by: Chris Lalancette <[email protected]>
Seems reasonable to me. However, I'm seeing 7 instances of
in
|
Hm, that is a really good point. I wonder why |
Maybe there are indirect dependencies, and potentially other packages (not |
Well, But it does look like another dependency pulls in I'm also trying to figure out whether it should be |
Oh boy, this is a bit of a rabbit-hole. It is indeed the case that this package is missing a dependency, which is why it is failing to build on the buildfarm. It is also the case that several other packages are missing dependencies, but it ends up not mattering for frustrating reasons. First, the CMake documentation for However, in all cases but this package, it ends up not mattering, because they get the dependency indirectly. It turns out that the rosidl pipeline specifies a dependency on Because of the above, the packages that depend on pybind11 really should have a dependency on Thus, my suggestion is that this PR is correct, and that we should do a similar PR for @christophebedard @sloretz Can you double-check my work here, and see if everything I laid out above makes sense? If so, I'll go ahead and make all of these PRs tomorrow so we can try to get them in to do another round of Rolling releases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow! Thanks for the investigation. That all makes sense.
Pulls: #146 |
This is needed because the CMakeLists.txt file for this package does:
find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
Otherwise, it may fail to build on certain platforms on the buildfarm (like RHEL-9).
I believe this will fix the failing build in https://build.ros2.org/view/Rbin_rhel_el964/job/Rbin_rhel_el964__lttngpy__rhel_9_x86_64__binary/