-
Notifications
You must be signed in to change notification settings - Fork 34
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
rcl_logging_interface is only valid path with build environment. #122
Conversation
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
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.
either @clalancette or @ahcorde can you take a look?
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.
Thanks for the quick response @fujitatomoya I think that would do it for #121
Could it be cherry-picked to jazzy once it's merged? Thanks!
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.
IIUC because rcl_logging_spdlog
uses target_link_libraries(... PUBLIC)
with a target from rcl_logging_interface it needs to export the dependency on rcl_logging_interface
. The package.xml looks ok, but the call to ament_export_dependencies(rcl_logging_interface)
line was removed in #102
If adding ament_export_dependencies(rcl_logging_interface)
does not resolve #121 then there's likely a bug in the CMake scraping done by drake-ros/bazel_ros2_rules.
I think i was misunderstanding, I am not 100% sure but I think @sloretz 's comment #122 (review) is correct. |
Yes, this would work as well and it's even more correct. I have also confirmed that I had no scrapping issues in that case since the |
Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
@sloretz @gergondet-woven could you review one more time? |
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.
LGTM 👍
Pulls: #122 |
@Mergifyio backport jazzy iron humble |
✅ Backports have been created
|
* logging impls need to export dependency for 'rcl_logging_interface'. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 0724aeb)
* logging impls need to export dependency for 'rcl_logging_interface'. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 0724aeb) # Conflicts: # rcl_logging_noop/CMakeLists.txt # rcl_logging_spdlog/CMakeLists.txt
* logging impls need to export dependency for 'rcl_logging_interface'. Signed-off-by: Tomoya Fujita <Tomoya.Fujita@sony.com> (cherry picked from commit 0724aeb) # Conflicts: # rcl_logging_noop/CMakeLists.txt # rcl_logging_spdlog/CMakeLists.txt
closes #121