-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
map_server: update to yaml-cpp 0.8.0 #4267
Conversation
yaml-cpp 0.8.0 requires explicit linking against yaml-cpp::yaml-cpp. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
@981213, your PR has failed to build. Please check CI outputs and resolve issues. |
The CI failed to build because it doesn't have the latest yaml_cpp_vendor package. |
@981213 should this PR wait then until that lands? |
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.
Please follow up, I don't think this is an appropriate PR since we have the vendor. If the vendor needs to be updated, then update that and it'll be reflected here after a sync. Why are these changes needed here instead - that breaks the vendorization?
@@ -11,6 +11,7 @@ find_package(rclcpp_components REQUIRED) | |||
find_package(nav_msgs REQUIRED) | |||
find_package(nav2_msgs REQUIRED) | |||
find_package(yaml_cpp_vendor REQUIRED) | |||
find_package(yaml-cpp REQUIRED) |
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.
This should not be necessary, this is the role of the vendor package.
@@ -118,7 +119,8 @@ target_include_directories(${map_io_library_name} SYSTEM PRIVATE | |||
${GRAPHICSMAGICKCPP_INCLUDE_DIRS}) | |||
|
|||
target_link_libraries(${map_io_library_name} | |||
${GRAPHICSMAGICKCPP_LIBRARIES}) | |||
${GRAPHICSMAGICKCPP_LIBRARIES} | |||
yaml-cpp::yaml-cpp) |
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.
Ditto and below
yaml_cpp_vendor 9.0.0 has been released into rolling, and that's how I noticed this problem. This is caused by the _vendor package update and independent of OS.
This PR is created according to The solution provided upstream is to change all these downstream. |
I agree that this change is a bit strange. Let me ask in that yaml-cpp update PR. |
Build has a number of complaints along the lines of
|
Oh, yaml_cpp_vendor 9.0 isn't available as binary package for jammy:
This PR should be blocked until the switching to noble then. |
OK! I'll tag it that way with the 24.04 PR, thanks for the help and proactivity! |
Note to self that this is also a problem with Robot Localization to fix |
It's already fixed there actually: cra-ros-pkg/robot_localization@1ef1a57 |
I ran into the same issue and sunk 2 hours to fix it in a similar way,if only I found this PR beforehand 😅 Anyway, I think this should now be ready to be merged |
CI tells me this shouldn't happen until the 24.04 migration |
Ah I tried it with the rolling docker images and there it was needed to work. I guess CI is not using latest rolling yet |
@981213 thanks for the contribution here - @tonynajjar is working on the full 24.04 migration which this commit was added to in #4298. So, I'm closing this as that PR supersedes with some other necessary changes. I want to thank you for your help here and responses! It is greatly appreciated - it all takes a village :-) |
yaml-cpp 0.8.0 requires explicit linking against yaml-cpp::yaml-cpp.
This fixes building breakage on rolling due to ros2/yaml_cpp_vendor#48
Basic Info
Description of contribution in a few bullet points
Description of documentation updates required from your changes
None.
Future work that may be required in bullet points
None.
For Maintainers: