-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 24.04: Build using Docker/QEMU fails for Build-Target Linux/ARM64 #11561
Comments
This issue might be related to #11557 |
Agreed, I suspect they're related. We're having the same issue with |
Hi @jo-tools |
I fail to understand why this falls into the partner repo category. The failing jobs are running on x86_64 Ubuntu 24.04, just inside container. Which means there is qemu involved in the process, but the primary image is the one provided by GitHub and not partners.
|
They're broken in GHA: actions/runner-images#11561 actions/partner-runner-images#46 Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Seconding this. The issues are cross-platform builds running on an amd64 host but with arm64 builds inside the emulated container. |
@vidyasagarnimmagaddi I respectfully disagree. It's about jobs that are running on Others are reporting issues with Docker/buildx, and in this issue I've provided just another reproducible example. A job with these steps/commands works just fine on an own Ubuntu 24 VM. So to me it seems likely that the setup of GitHub's Ubuntu 24.04 x86_64 runners are somehow "screwed" when it comes to Docker/QEMU. Workarounds:
Please reconsider to reopen this issue - I think it's well worth investigating. |
@vidyasagarnimmagaddi That quoted feedback supports the request of reopening this issue. You should really investigate why Docker/buildx (or Docker/QEMU) are having issues on GitHub Runners (ubuntu-latest, or ubuntu-24.04). This will likely affect many workflows. @hemanthmanga fyi, as you've closed #11557 (BuildX + Rust issues) for the same reason. |
Description
A Workflow builds the LibreSSL Libs for Linux/ARM64.
The build of the Library is run inside a Docker Container with Image
arm64v8/gcc:8.1
This works as expected:
runs-on: ubuntu-22.04
This fails:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
Platforms affected
Runner images affected
Image version and build link
Is it regression?
Yes, Workflow runs successfully on GitHub Actions Runner Image: ubuntu-22.04 Version: 20250202.1.0
Expected behavior
Building a Library inside a Docker Container with Image
arm64v8/gcc:8.1
works on-
runs-on: ubuntu-24.04
-
runs-on: ubuntu-latest
Such as it always worked on
-
runs-on: ubuntu-22.04
Actual behavior
Run the below Workflow and it will
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
with:Repro steps
Run this workflow:
Note: The commented lines have been to try not using
docker/setup-qemu-action@v3
, but instead installing QEMU manually.That works on an own Ubuntu 24.04 machine to successfully build LibreSSL for Linux/ARM64, but it doesn't work on GitHub Runner 24.04 - same error message.
The text was updated successfully, but these errors were encountered: