From 4e733bdcca0d9aeaee0a187aa06a1fd9e5377711 Mon Sep 17 00:00:00 2001 From: surtic86 Date: Thu, 19 Nov 2026 07:17:51 +0100 Subject: [PATCH] Reset the QEMU emulators before the image build The amd64 build of 2.4.3 crashed in install-php-extensions with "QEMU internal SIGSEGV". The emulators are registered on the runner host for all jobs, and binfmt skips one that is already registered, so the pinned QEMU 9.2.2 did not take effect. reset: true uninstalls the registered emulators first. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/docker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 8edc913..fd37d73 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -69,10 +69,13 @@ jobs: # crashes running x86_64 programs on an arm64 host (QEMU issue 2168, "QEMU internal # SIGSEGV {code=MAPERR, addr=0x20}") and 10.2 segfaults on this runner too; 9.2.2 was # checked on the runner's host: node, composer and install-php-extensions all run. + # reset: the emulators are registered on the host for all jobs, and binfmt skips one that + # is already registered, so without it an older QEMU from another job stays in use. - name: Set up QEMU uses: docker/setup-qemu-action@v4 with: image: tonistiigi/binfmt:qemu-v9.2.2 + reset: true - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4