Linux CI fails on Ubuntu 26.04: swiftly requires binutils-gold
評価
この issue はまだ評価されていません。
説明
The ubuntu-latest jobs in CI now fail in the skip android sdk install --verbose step, e.g. https://github.com/skiptools/actions/actions/runs/47178783636/job/144511909171 (all three ubuntu jobs in that run fail the same way).
ubuntu-latest recently moved from Ubuntu 24.04 to 26.04. On 26.04 the gold linker is a separate binutils-gold package that the runner image doesn't preinstall. When skip android sdk install runs swiftly install --assume-yes 6.4.3, swiftly downloads the toolchain and then exits with an error:
Error:
There are some dependencies that should be installed before using this toolchain.
You can run the following script as the system administrator (e.g. root) to prepare
your system:
apt-get -y install binutils-gold
skip then reports:
[✗] Install Host Toolchain (15.29s)
[✗] Install Swift Android SDK 6.4.3 failed with 2 errors
This isn't specific to this repo's CI. Any workflow that uses setup-skip on Ubuntu 26.04 and either sets swift-version, enables install-swift-android-sdk, or runs skip android sdk install afterwards will hit the same error.
On Ubuntu 22.04 and 24.04, binutils provides binutils-gold, so the problem only shows up on 26.04.
- 主要言語
- 言語のデータがありません
- スター
- 0
- フォーク
- 7
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
skiptools/actions のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100