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

Only rebuild selected packages (including actionlib) #1

Merged
merged 6 commits into from
Mar 2, 2023

Conversation

Tobias-Fischer
Copy link

No description provided.

@defunctzombie
Copy link
Owner

@Tobias-Fischer so what we should do is use this PR (or one like it that we make) here locally within this fork to iterate on getting the build to work?

@Tobias-Fischer
Copy link
Author

Please merge it in to your fork - then you can continue to iterate in your fork.

vinca_linux_64.yaml Outdated Show resolved Hide resolved
vinca_win.yaml Outdated Show resolved Hide resolved
vinca_osx_arm64.yaml Outdated Show resolved Hide resolved
vinca_osx.yaml Outdated Show resolved Hide resolved
vinca_linux_aarch64.yaml Outdated Show resolved Hide resolved
@achim-k
Copy link
Collaborator

achim-k commented Feb 28, 2023

@Tobias-Fischer it fails now with the following dependency error which is normally resolved by running rosdep install.... It seems that there is no rosdep install step in the CI. Is this intended?

CMake Error at CMakeLists.txt:22 (find_package):
  By not providing "Findwebsocketpp.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "websocketpp", but CMake did not find one.

@Tobias-Fischer
Copy link
Author

The mapping was missing - should work now.

@achim-k
Copy link
Collaborator

achim-k commented Feb 28, 2023

One step further, but now we have the same issues as the humble build with the environment variables not being passed through (RoboStack/ros-humble#49 (comment))

CMake Error at CMakeLists.txt:166 (message):
  ROS_VERSION environment variable must be 1 or 2

@Tobias-Fischer
Copy link
Author

I'm really not sure what's going on. Previously I saw I was patching ROS_VERSION out (https://github.com/RoboStack/ros-humble/blob/11771ff55f8ea1469aa11e145fcdcc6c5ad3d22e/patch/ros-humble-lanelet2.patch#L8) which is not very nice I have to admit.

It would be good to fix the underlying issue, but @wolfv and myself have few cycles those days for debugging. The fastest way to get your PR merged in would probably be again the ugly patch, and opening an issue to fix the underlying issue later on. What do you think @achim-k?

@achim-k
Copy link
Collaborator

achim-k commented Mar 1, 2023

It would be good to fix the underlying issue, but @wolfv and myself have few cycles those days for debugging. The fastest way to get your PR merged in would probably be again the ugly patch, and opening an issue to fix the underlying issue later on. What do you think @achim-k?

I have opened RoboStack/ros-humble#52 to track the underlying issue.
Adding a patch would mean that every new release potentially invalidates that patch, right? I would somewhat prefer fixing the underlying issue in that case (even if it's just setting the necessary environment variables manually)

@Tobias-Fischer
Copy link
Author

Thanks for opening the issue!

Correct, a new release potentially invalidates the patch. However, we are pretty good in dealing with that - we have literally hundreds of patches for RobosStack's ros-noetic ..

I totally agree that fixing the underlying issue is preferable. The weird thing is that in RoboStack/ros-humble#49 the environment variables are manually set (https://github.com/RoboStack/ros-humble/pull/49/files#diff-069a2e75bc939d92ad32a50dada65893abaf603c1a586b97183ec1ca476bba23R6-R8) but it somehow does not propagate for the cross-compilation platforms. If you have debugging cycles, it would be amazing if you could look into it.

@Tobias-Fischer
Copy link
Author

Can you please merge this @achim-k ?

@achim-k achim-k merged commit d329a8c into defunctzombie:add-foxglove-bridge Mar 2, 2023
@Tobias-Fischer Tobias-Fischer deleted the patch-2 branch March 2, 2023 21:31
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

Successfully merging this pull request may close these issues.

3 participants