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

Unable to build from source after PR #4393 #4499

Closed
chrisl8 opened this issue Jun 26, 2024 · 2 comments
Closed

Unable to build from source after PR #4393 #4499

chrisl8 opened this issue Jun 26, 2024 · 2 comments

Comments

@chrisl8
Copy link

chrisl8 commented Jun 26, 2024

Bug report

Required Info:

  • Operating System:
    • Ubuntu 24.04 LTS
  • ROS2 Version:
    • ROS 2 Jazzy from Source
  • Version or commit hash:
  • DDS implementation:

Steps to reproduce issue

Starting with commit 6026754 (#4393) (and all commits after that) I am no longer able to build from source due to receiving this error during build:

Starting >>> nav2_common
Starting >>> nav_2d_msgs
Starting >>> nav2_minimal_tb4_description
Starting >>> slam_toolbox
Starting >>> nav2_minimal_tb3_sim
Starting >>> rplidar_ros
Finished <<< nav2_minimal_tb4_description [0.18s]
Starting >>> nav2_minimal_tb4_sim
Finished <<< nav2_minimal_tb3_sim [0.19s]
Finished <<< nav2_minimal_tb4_sim [0.17s]
Finished <<< rplidar_ros [0.35s]
Finished <<< nav2_common [0.57s]
Starting >>> nav2_msgs
Starting >>> nav2_voxel_grid
Finished <<< nav2_voxel_grid [0.22s]
Finished <<< nav_2d_msgs [0.98s]
Starting >>> dwb_msgs
Finished <<< slam_toolbox [1.42s]
Starting >>> arlobot_ros
Finished <<< dwb_msgs [1.06s]
Finished <<< arlobot_ros [1.22s]
Finished <<< nav2_msgs [2.87s]
Starting >>> nav2_util
Starting >>> nav2_simple_commander
--- stderr: nav2_util
CMake Error at src/CMakeLists.txt:17 (target_link_libraries):
  Target "nav2_util_core" links to:

    bondcpp::bondcpp

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



CMake Generate step failed.  Build files cannot be regenerated correctly.
gmake: *** [Makefile:520: cmake_check_build_system] Error 1
---
Failed   <<< nav2_util [1.04s, exited with code 2]
Aborted  <<< nav2_simple_commander [1.10s]

Summary: 11 packages finished [6.59s]
  1 package failed: nav2_util
  1 package aborted: nav2_simple_commander
  1 package had stderr output: nav2_util
  35 packages not processed

bondcpp package is installed and simply reverting to commit 23a4815 allows the code to build.

Edit:

I see something in the #4393 conversation (#4393 (review)) about "once bond changes turn over"? Maybe there is something out of sync and I'm trying this too soon? I had assumed if it was committed it would build. 😅

@DeccanLin
Copy link

Refer to #4480 (comment)

@chrisl8 chrisl8 closed this as completed Jun 27, 2024
@SteveMacenski
Copy link
Member

My favorite kind of ticket, the one the community answers while I have dinner!

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

No branches or pull requests

3 participants