Build Moveit without Jazzy Packages#233
Conversation
49d4a7a to
6c925de
Compare
|
I'm getting an error in CI I don't get when running @EzraBrooks, is there an easy way to clear the cache and get a clean build? |
|
Yes, I believe the GHA cache type in Docker Buildx will create and restore cache for the current branch and also restore cache from the base branch, so you might need to delete both this branch's cache and main to get a clean build. If you track down the thing that's being erroneously cached, definitely file a bug, because a correctly-implemented Dockerfile should be idempotent.. |
|
@Bckempa Clearing some of the cache and re-building got the
The following patch to RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
--mount=type=cache,target=/var/lib/apt,sharing=locked \
sudo apt-get install libssl-dev build-essential devscripts debian-keyring fakeroot debhelper cmake libboost-dev libsasl2-dev libicu-dev libzstd-dev doxygen -y
-RUN wget https://github.com/mongodb/mongo-cxx-driver/releases/download/r3.6.7/mongo-cxx-driver-r3.6.7.tar.gz
-RUN tar -xzf mongo-cxx-driver-r3.6.7.tar.gz
-RUN cd mongo-cxx-driver-r3.6.7/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local && sudo cmake --build . --target EP_mnmlstc_core && cmake --build . && sudo cmake --build . --target install
+RUN wget https://github.com/mongodb/mongo-cxx-driver/releases/download/r3.7.2/mongo-cxx-driver-r3.7.2.tar.gz
+RUN tar -xzf mongo-cxx-driver-r3.7.2.tar.gz
+RUN cd mongo-cxx-driver-r3.7.2/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local && sudo cmake --build . --target EP_mnmlstc_core && cmake --build . && sudo cmake --build . --target install |
|
@ivanperez-keera I'm only cleaning up the Moveit install in this PR, tracking |
|
Ugh, the logs don't show if it installed the |
|
Ok, when I run the |
|
@Bckempa Is this log more informative or not quite? https://github.com/space-ros/docker/actions/runs/14567922377/attempts/3?pr=233 |
Still not quite - I was looking for the list of the packages
I had the idea that it might be a different between how |
|
Ok, spurious CI failure now (apt install not working) but it tries to install the correct package list this time. |
|
Ok, it is finally working. Current build did not install any |
There was a problem hiding this comment.
The Moveit2 image is not building at the moment due to a problem in the demos in ompl:
https://github.com/space-ros/docker/actions/runs/14583334310/job/40952108248?pr=233#step:6:14079
This commit 8d30817 works around that issue.
The `google_benchmark_vendor`, `urdfdom`, and `urdfdom_headers` packages are built in the Space ROS base but not detected by `rosdep` which then tries to apt install `ros-jazzy-google-benchmark-vendor`, `ros-jazzy-urdfdom`, and `ros-jazzy-urdfdom-headers` which would pull in many other `ros-jazzy` packages unnecessarily.
This commit moves the arguments to the skip-keys flag to rosdep, which simplifies the dockerfile and makes it easier to maintain.
The `bash` shell was being discarded after sourcing the underlay leading to unexpected behavior by `rosdep`
This commit disables OMPL's demos, due to a build error that results in a header file not being found. ``` <PATH_TO_OMPL>/demos/DubinsAirplane.cpp:48:10: fatal error: ompl/tools/debug/Profiler.h: No such file or directory 48 | #include <ompl/tools/debug/Profiler.h> ```
bac7bcf to
1b85263
Compare
Fixes incorrect dependency resolution causing
rosdepto install a second ROS distro on the system.This is only a patch to make it easier to get #229 resolved and CI back to green. Longer term solutions to the underlying issues are tracked in #230, #231, and #232. Development notes posted to issue #228.