Conversation
Relay's arm64 build cannot start under QEMU user-mode emulation, which CI uses for linux/arm64. Since August every scheduled build failed at the install-php-extensions relay load check. Relay loads fine on native arm64. Install relay in its own step after imagick, so no later build step runs php with relay enabled, and skip the load check on aarch64 only.
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
Every PHP build in
Build, Test, and Push Docker imageshas failed since August (e.g. run 36811543849). The arm64 half of the multi-platform push fails at:The failing PHP version changes from run to run because fail-fast cancels the rest of the matrix.
Relay's arm64 build won't start under QEMU user-mode emulation, which CI uses for
linux/arm64. It fails with QEMU 10.2.3 and 7.0 and withrelay.maxmemory=0. On native arm64 it loads fine.Fix
relayout of the maininstall-php-extensionslist into its own step after imagick. While relay is enabled, any laterphpcall under QEMU crashes, and the imagick step runsphp.aarch64only, install relay withIPE_SKIP_CHECK=1. amd64 keeps the load check.Testing
php-structure-test.yamlRelay Support => enabled,Relay\Relayclass presentOnly 8.2 (both architectures) and 7.4 (native arm64) were built in full.
Follow-up idea
Building arm64 on native
ubuntu-24.04-armrunners would avoid QEMU entirely and cut build time a lot. That would mean a per-arch build plus a manifest-merge job, so it's out of scope here.