Linux CI fails on Ubuntu 26.04: swiftly requires binutils-gold
Assessment
This issue has not been assessed yet.
Description
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.
- Dominant language
- No language data
- Stars
- 0
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from skiptools/actions
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100