ci: pin newer QEMU binfmt to fix arm64 build segfault#5
Merged
Conversation
The arm64 cross-build under QEMU emulation on the amd64 runner segfaults
("qemu: uncaught target signal 11 (Segmentation fault)") while dpkg runs
libc-bin's post-install trigger during `apt-get install` (Dockerfile:116),
failing the build with dpkg exit 139.
This is a QEMU user-mode emulation bug, not a Dockerfile/code change: the same
Dockerfile built green on the prior main pushes (2026-05-29/30); only the
GitHub runner's bundled QEMU regressed. Pin a newer QEMU via tonistiigi/binfmt
so setup-qemu-action installs an emulator without the libc-bin segfault.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The arm64 cross-build under QEMU emulation on the amd64 GitHub runner segfaults during
apt-get install(Dockerfile:116):This is a QEMU user-mode emulation crash while
dpkgrunslibc-bin's post-install trigger — not a Dockerfile or code change. The same Dockerfile built green on the priormainpushes (2026-05-29/30); only the runner's bundled QEMU regressed.Fix
Pin a newer QEMU via
tonistiigi/binfmtin thesetup-qemu-actionstep, which installs an emulator without thelibc-binsegfault.Validation
This PR's own CI build exercises the arm64
apt-getlayer under the new QEMU — a green build here confirms the fix before it reachesmain/:release. (PR builds don't push:release; that happens on merge to main.)Note:
:latestalways resolves to a recent QEMU; pin to a specificqemu-vX.Y.Zif reproducibility is preferred over a moving tag.🤖 Generated with Claude Code