gazebosim / gazebosim/ionic_demo

Unable to build Docker image: Failed to detect successful installation of [ros-rolling-mecanum-drive-controller]

Open
#21 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
13
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## **Environment**
* **OS Version**: Ubuntu 22.04.4 LTS
* **Source or binary build?**: Source. **Branch Name**: `main`, **Commit**: `6a3c62763b08e186f3d15ed63a1ea6dda1878606`

## **Description** :bug:
* :green_circle: **Expected Behavior**: Docker builds successfully without error when running the following command:
```bash
docker build -t ionic_demo:jazzy .
```

* :red_circle: **Actual Behavior**: Docker builds and fails with the following error:

```bash
502.4 ERROR: the following rosdeps failed to install
502.4 apt: command [apt-get install -y ros-rolling-mecanum-drive-controller] failed
502.4 apt: Failed to detect successful installation of [ros-rolling-mecanum-drive-controller]
```

## **Steps to reproduce**
1. Download `ionic_demo` repository:
```bash
cd $HOME
```
```bash
git clone https://github.com/gazebosim/ionic_demo.git --depth 1 --single-branch --branch main
```

2. Build the Docker image using the root `Dockerfile`:

```bash
cd $HOME/ionic_demo
```

```bash
docker build -t ionic_demo:jazzy .
```

## **Output**
Attached below is a segment of the traceback when the above `docker build` command fails:

```bash
502.4 ERROR: the following rosdeps failed to install
502.4 apt: command [apt-get install -y ros-rolling-mecanum-drive-controller] failed
502.4 apt: Failed to detect successful installation of [ros-rolling-mecanum-drive-controller]
502.4 executing command [apt-get install -y ros-rolling-angles]
502.4 executing command [apt-get install -y ros-rolling-ament-cmake-vendor-package]
502.4 executing command [apt-get install -y nlohmann-json3-dev]
502.4 executing command [apt-get install -y ros-rolling-ompl]
502.4 executing command [apt-get install -y binutils-dev]
502.4 executing command [apt-get install -y libgflags-dev]
502.4 executing command [apt-get install -y libxi-dev]
502.4 executing command [apt-get install -y libxmu-dev]
502.4 executing command [apt-get install -y xvfb]
502.4 executing command [apt-get install -y libwebsocketpp-dev]
502.4 executing command [apt-get install -y ros-rolling-bondcpp]
502.4 executing command [apt-get install -y ros-rolling-diagnostic-updater]
502.4 executing command [apt-get install -y ros-rolling-behaviortree-cpp]
502.4 executing command [apt-get install -y ros-rolling-xacro]
502.4 executing command [apt-get install -y libgraphicsmagick++1-dev]
502.4 executing command [apt-get install -y graphicsmagick-libmagick-dev-compat]
502.4 executing command [apt-get install -y python3-fastapi]
502.4 executing command [apt-get install -y python3-flask-socketio]
502.4 executing command [apt-get install -y python3-pydantic]
502.4 executing command [apt-get install -y python3-pyproj]
502.4 executing command [apt-get install -y python3-requests]
502.4 executing command [apt-get install -y python3-uvicorn]
502.4 executing command [apt-get install -y python3-fiona]
502.4 executing command [apt-get install -y python3-rtree]
502.4 executing command [apt-get install -y python3-shapely]
502.4 executing command [apt-get install -y sqlite3]
502.4 executing command [apt-get install -y python3-jinja2]
502.4 executing command [apt-get install -y python3-jsonschema]
502.4 executing command [apt-get install -y freeglut3-dev]
502.4 executing command [apt-get install -y libfreeimage-dev]
502.4 executing command [apt-get install -y libglew-dev]
502.4 executing command [apt-get install -y libceres-dev]
502.4 executing command [apt-get install -y ros-rolling-tf-transformations]
502.4 executing command [apt-get install -y ros-rolling-backward-ros]
502.4 executing command [apt-get install -y ros-rolling-diff-drive-controller]
502.4 executing command [apt-get install -y ros-rolling-joint-state-broadcaster]
502.4 executing command [apt-get install -y libgoogle-glog-dev]
502.4 executing command [apt-get install -y ros-rolling-moveit]
502.4 executing command [apt-get install -y ros-rolling-teleop-twist-keyboard]
502.4 executing command [apt-get install -y libopencv-dev]
502.4 executing command [apt-get install -y ros-rolling-joint-state-publisher]
502.4 executing command [apt-get install -y lcov]
502.4 executing command [apt-get install -y ros-rolling-image-transport-plugins]
502.4 executing command [apt-get install -y ros-rolling-rqt-image-view]
502.4 executing command [apt-get install -y ros-rolling-rqt-plot]
502.4 executing command [apt-get install -y ros-rolling-rqt-topic]
502.4 executing command [apt-get install -y ros-rolling-rviz-imu-plugin]
502.4 executing command [apt-get install -y ros-rolling-rviz2]
502.4 executing command [apt-get install -y ros-rolling-image-transport]
502.4 executing command [apt-get install -y ros-rolling-hardware-interface]
502.4 executing command [apt-get install -y ros-rolling-controller-manager]
502.4 executing command [apt-get install -y ros-rolling-geographic-msgs]
502.4 executing command [apt-get install -y ros-rolling-joint-state-publisher-gui]
502.4 executing command [apt-get install -y ros-rolling-control-msgs]
502.4 executing command [apt-get install -y ros-rolling-ackermann-steering-controller]
502.4 executing command [apt-get install -y ros-rolling-effort-controllers]
502.4 executing command [apt-get install -y ros-rolling-imu-sensor-broadcaster]
502.4 executing command [apt-get install -y ros-rolling-joint-trajectory-controller]
502.4 executing command [apt-get install -y ros-rolling-mecanum-drive-controller]
502.4 executing command [apt-get install -y ros-rolling-ros2controlcli]
502.4 executing command [apt-get install -y ros-rolling-tricycle-controller]
502.4 executing command [apt-get install -y ros-rolling-velocity-controllers]
502.4 executing command [apt-get install -y ros-rolling-rviz-common]
502.4 executing command [apt-get install -y ros-rolling-rviz-default-plugins]
502.4 executing command [apt-get install -y ros-rolling-rviz-ogre-vendor]
502.4 executing command [apt-get install -y ros-rolling-rviz-rendering]
502.4 executing command [apt-get install -y libomp-dev]
502.4 executing command [apt-get install -y libxsimd-dev]
502.4 executing command [apt-get install -y libxtensor-dev]
502.4 executing command [apt-get install -y glslang-dev]
502.4 executing command [apt-get install -y glslc]
502.4 executing command [apt-get install -y libboost-date-time-dev]
502.4 executing command [apt-get install -y libfreetype-dev]
502.4 executing command [apt-get install -y libpoco-dev]
502.4 executing command [apt-get install -y libshaderc-dev]
502.4 executing command [apt-get install -y libx11-xcb-dev]
502.4 executing command [apt-get install -y libxaw7-dev]
502.4 executing command [apt-get install -y libxcb-randr0-dev]
502.4 executing command [apt-get install -y libxrandr-dev]
502.4 executing command [apt-get install -y libgl1-mesa-dev]
502.4 executing command [apt-get install -y rapidjson-dev]
502.4 executing command [apt-get install -y libsdl2-dev]
502.4 executing command [apt-get install -y libtbb-dev]
502.4 executing command [apt-get install -y libzzip-dev]
502.4 executing command [apt-get install -y ros-rolling-vision-msgs]
502.4 executing command [apt-get install -y ros-rolling-test-msgs]
502.4 executing command [apt-get install -y libbenchmark-dev]
502.4 executing command [apt-get install -y ros-rolling-moveit-ros-move-group]
502.4 executing command [apt-get install -y ros-rolling-moveit-servo]
502.4 executing command [apt-get install -y ros-rolling-cv-bridge]
502.4 executing command [apt-get install -y ros-rolling-robot-localization]
502.4 executing command [apt-get install -y libboost-system-dev]
502.4 executing command [apt-get install -y libboost-regex-dev]
502.4 executing command [apt-get install -y ros-rolling-bond]
502.4 executing command [apt-get install -y ros-rolling-resource-retriever]
502.4 executing command [apt-get install -y python3-icecream]
502.4 executing command [apt-get install -y ros-rolling-actuator-msgs]
502.4 executing command [apt-get install -y ros-rolling-gps-msgs]
502.4 executing command [apt-get install -y qml-module-qtlocation]
502.4 executing command [apt-get install -y qml-module-qtpositioning]
502.4 executing command [apt-get install -y qml-module-qtquick-extras]
502.4 executing command [apt-get install -y ros-rolling-laser-geometry]
502.4 executing command [apt-get install -y ros-rolling-map-msgs]
502.4 executing command [apt-get install -y python3-paho-mqtt]
502.4 executing command [apt-get install -y libboost-all-dev]
------
Dockerfile:31
--------------------
30 | RUN rosdep update
31 | >>> RUN apt-get update \
32 | >>> && rosdep install --from-paths src --ignore-src -r --rosdistro rolling -y \
33 | >>> && apt-get clean \
34 | >>> && rm -rf /var/lib/apt/lists/*
35 | RUN . /opt/ros/rolling/setup.sh \
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && rosdep install --from-paths src --ignore-src -r --rosdistro rolling -y && apt-get clean && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 1
```

## **Remarks** :speech_balloon:

Based on my own debugging thus far, it seems a dependency defined in root file, `ionic_demo.repos`, is requesting for `ros-rolling-mecanum-drive-controller` to be installed via rosdep.

However, a quick search for the aforementioned dependency reveals that the actual package name is `clearpath_mecanum_drive_controller`. The repository information is linked [here]([clearpath_mecanum_drive_controller](https://index.ros.org/p/clearpath_mecanum_drive_controller)).

Therefore, a solution to this thread issue would be to identify which dependency defined in `ionic_demo.repos` is requesting for `clearpath_mecanum_drive_controller` dependency and either remove it (if it is not needed) or rectify with the correct package name above.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.