Skip to content

Use qemu-user for ARM smoke tests on Ubuntu 26.04 - #43

Merged
mosajjal merged 1 commit into
masterfrom
fix-qemu-ubuntu-2604
Nov 23, 2026
Merged

mosajjal merged 1 commit into
masterfrom
fix-qemu-ubuntu-2604

Conversation

@mosajjal

Copy link
Copy Markdown
Owner

GitHub's ubuntu-latest runners now use Ubuntu 26.04, which no longer has a qemu-user-static package, so installing it fails before any build can start.

Ubuntu 26.04's qemu-user package ships a statically linked qemu-arm (the binary just lacks the -static suffix). CI now installs that package. The build script still prefers qemu-arm-static and falls back to qemu-arm only if it is statically linked, because the binary is mounted into the build container. Local setups with a dynamically linked qemu-arm behave as before.

🤖 Generated with Claude Code

ubuntu-latest now resolves to 26.04, which has no qemu-user-static
package, so every build job failed at the apt install step. Its
qemu-user ships a statically linked qemu-arm instead, without the
-static suffix.

Install qemu-user in CI and let build.sh fall back to qemu-arm when
it is static, since the binary is bind-mounted into the image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mosajjal
mosajjal merged commit b436b4c into master Nov 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant