Linux CI fails on Ubuntu 26.04: swiftly requires binutils-gold
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 0
- Fork
- 7
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di skiptools/actions
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100