eclipse/adore

CMake Error when running "make build_all"

XueYanYu opened this issue · 3 comments

Hello, I met an error when building ADORe. When building with "make build_all", a CMake Error occured and the building was stopped. I built on ubuntu 22.04, and repeated the command or reinstall didn't solve this problem. The output is as follows.

docker cp $(docker create --rm plotlablib:6f2f656):/tmp/plotlablib/plotlablib/build "/home/yk/adore/plotlablib/plotlablib"
Successfully copied 4.04MB to /home/yk/adore/plotlablib/plotlablib
rm -rf "/home/yk/adore/adore_if_carla/adore_if_carla/build"
rm -rf "/home/yk/adore/adore_if_carla/adore_if_carla/launch"
cd "/home/yk/adore/adore_if_carla" && \
    docker compose build \
                         --build-arg CARLA_REPO=carlasim/carla \
                         --build-arg CARLA_TAG=0.9.13 \
                         --build-arg PLOTLABLIB_TAG=6f2f656 \
                         --build-arg ADORE_IF_ROS_MSG_TAG=bed4d89
[+] Building 0.5s (29/46)                                                       
 => [adore_if_carla internal] load .dockerignore                           0.0s
 => => transferring context: 55B                                           0.0s
 => [adore_if_carla internal] load build definition from Dockerfile.adore  0.0s
 => => transferring dockerfile: 3.21kB                                     0.0s
 => [carla-ros-bridge internal] load .dockerignore                         0.0s
 => => transferring context: 55B                                           0.0s
 => [carla-ros-bridge internal] load build definition from Dockerfile.ros  0.0s
 => => transferring dockerfile: 1.40kB                                     0.0s
 => [adore_if_carla internal] load metadata for docker.io/library/ros:noe  0.3s
 => [adore_if_carla internal] load metadata for docker.io/library/cppzmq:  0.0s
 => [adore_if_carla internal] load metadata for docker.io/library/plotlab  0.0s
 => [carla-ros-bridge internal] load metadata for docker.io/carlasim/carl  0.0s
 => [adore_if_carla internal] load metadata for docker.io/library/libzmq:  0.0s
 => [adore_if_carla internal] load metadata for docker.io/library/adore_i  0.0s
 => CANCELED [carla-ros-bridge internal] load metadata for docker.io/libr  0.4s
 => CACHED [adore_if_carla cppzmq 1/1] FROM docker.io/library/cppzmq:late  0.0s
 => CACHED [adore_if_carla plotlablib 1/1] FROM docker.io/library/plotlab  0.0s
 => [adore_if_carla adore_if_carla_builder  1/29] FROM docker.io/library/  0.0s
 => CACHED [adore_if_carla libzmq 1/1] FROM docker.io/library/libzmq:late  0.0s
 => [adore_if_carla carlasim_carla 1/1] FROM docker.io/carlasim/carla:0.9  0.0s
 => [adore_if_carla internal] load build context                           0.0s
 => => transferring context: 76.27kB                                       0.0s
 => [adore_if_carla adore_if_ros_msg 1/1] FROM docker.io/library/adore_if  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  2/29] RUN mkdir -p /tm  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  3/29] RUN mkdir -p bui  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  4/29] WORKDIR /tmp/ado  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  5/29] RUN mkdir -p /tm  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  6/29] COPY launchfiles  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  7/29] COPY --from=carl  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  8/29] COPY files/requi  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder  9/29] RUN apt-get upda  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder 10/29] COPY --from=ador  0.0s
 => CACHED [adore_if_carla adore_if_carla_builder 11/29] WORKDIR /tmp/ado  0.0s
 => ERROR [adore_if_carla adore_if_carla_builder 12/29] RUN cmake --insta  0.1s
------
 > [adore_if_carla adore_if_carla_builder 12/29] RUN cmake --install . --prefix /tmp/adore_if_carla/build/install:
#0 0.072 CMake Error: Error processing file: /tmp/adore_if_ros_msg/build/cmake_install.cmake
------
failed to solve: process "/bin/sh -c cmake --install . --prefix /tmp/${PROJECT}/build/install" did not complete successfully: exit code: 1
make[1]: *** [Makefile:42: _build] Error 17
make: *** [Makefile:43: build_all] Error 2
tlobig commented

Dear @XueYanYu thank you for bringing this to our attention. I can confirm that the build_all target is currently broken. We hope to be able to work on this issue within a week.

@XueYanYu The build_all target does as it suggests. Several modules within adore are experimental and subsequently will have build or runtime errors. It is recomended to use make cli which will build core adore modules or make build to explicitly build the core modules.

Incidentally I have resolved this build issue in the following PR: #63
However, adore_if_carla is still an experimental module.

For more information you can review the documentation @ https://akoerner1.github.io/adore/ which will be published in another PR.