Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Ubuntu 24.04 - rosdep fails on libcurl4-dev

オープン
#782 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, shell, ubuntu

調査の方向性

示されている rosdep および colcon コマンドを使用して、arm64 上の ros:jazzy-ros-core-noble Docker イメージで失敗を再現します。Ubuntu Noble に対して libcurl4-dev 依存関係がどのように解決されるかを調査します。rosdep install とその後の micro-ROS agent のビルドが手動介入なしで完了するか、Noble の回避策が文書化されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Issue

When building micro_ros_setup for ROS 2 Jazzy on Ubuntu 24.04 Noble (e.g. using the ros:jazzy-ros-core-noble Docker image), I ran into a dependency resolution issue caused by a change in how Ubuntu 24.04 handles libcurl4-dev.

Since this may affect other users, I wanted to document the problem and the workaround to help others save time.

  • Hardware description: Custom Docker container - ros:jazzy-ros-core-noble on arm64
  • Installation type: micro_ros_setup
  • Version or commit hash: jazzy - latest (June 2025)
Steps to reproduce the issue
  1. Use ros:jazzy-ros-core-noble as base image in Dockerfile
  2. Build micro_ros_setup following docs:
RUN . /opt/ros/jazzy/setup.sh && \
    mkdir uros_ws && cd uros_ws && \
    git clone -b jazzy https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup && \
    rosdep update && rosdep install --from-paths src --ignore-src -y

See rosdep fail:

E: Unable to locate package libcurl4-openssl-dev
ERROR: the following rosdeps failed to install
  apt: command [apt-get install -y libcurl4-openssl-dev] failed
Expected behavior

rosdep install resolves dependencies on Noble and build proceeds.

Actual behavior

Fails because in Noble libcurl4-dev is virtual; user must manually install libcurl4-openssl-dev first.

Additional information
Workaround

RUN apt-get update && apt-get install -y --no-install-recommends libcurl4-openssl-dev
Then the build completes as expected:

RUN . /opt/ros/jazzy/setup.sh && \
    mkdir uros_ws && cd uros_ws && \
    git clone -b jazzy https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup && \
    rosdep update && rosdep install --from-paths src --ignore-src -y && \
    colcon build && \
    . install/local_setup.sh && \
    ros2 run micro_ros_setup create_agent_ws.sh && \
    ros2 run micro_ros_setup build_agent.sh

Possible solution - add os-specific dependency entry for Ubuntu 24.04, or note in docs.

主要言語
Shell
スター
514
フォーク
184
平均マージ
22時間 26分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

micro-ROS/micro_ros_setup のほかの issue

micro-ROS/micro_ros_setup の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。