We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Building the aarch64 Docker image on Mac M1/M2 fails due to a missing package error for gfortran. ie. running this:
docker build -f Dockerfile.aarch64-unknown-linux-gnu -t ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main https://github.com/cross-rs/cross.git#main:docker
results in this error:
Unable to locate package gfortran-aarch64-linux-gnu
which then fails the image creation.
It seems like this was introduced in this commit: 6ab0e7c
I also reproduced this on an x86_64 Windows host when specifying --platform linux/arm64 during the build step.
--platform linux/arm64
No response
cross 0.2.5
Building with an older commit works:
docker build -f Dockerfile.aarch64-unknown-linux-gnu -t ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main https://github.com/cross-rs/cross.git#c87a52a60dbcde069714a8d2ed51570e7fc23cf9:docker
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Describe your issue
Building the aarch64 Docker image on Mac M1/M2 fails due to a missing package error for gfortran. ie. running this:
results in this error:
which then fails the image creation.
It seems like this was introduced in this commit: 6ab0e7c
I also reproduced this on an x86_64 Windows host when specifying
--platform linux/arm64
during the build step.What target(s) are you cross-compiling for?
No response
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
Additional information / notes
Building with an older commit works:
The text was updated successfully, but these errors were encountered: