Skip to content
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

cross-build failing - image not found #944

Closed
joepio opened this issue Aug 21, 2024 · 1 comment
Closed

cross-build failing - image not found #944

joepio opened this issue Aug 21, 2024 · 1 comment
Labels
ci Github actions / e2e tests / build / etc

Comments

@joepio
Copy link
Member

joepio commented Aug 21, 2024

Since today I have this issue:

failed: context canceled
Error: async earthfile2llb for +cross-build: /var/folders/4j/nbs48t1s7l52fvv4vfnrrymw0000gp/T/earthly-git2974415865/Earthfile:126:8 with docker run: pull: resolve image config for ghcr.io/cross-rs/armv7-unknown-linux-musleabihf:0.2.5: no match for platform in manifest: not found
in		github.com/earthly/lib/rust+CROSS (Earthfile:74:2) --args= --output= --target=armv7-unknown-linux-musleabihf --version=
called from	github.com/atomicdata-dev/atomic-data-rust:develop+cross-build --TARGET=armv7-unknown-linux-musleabihf

First I saw a warning for not being signed in on ghcr, thought - maybe it can't find the images because it is rate limited or something.. Then I made a token (not giving it any permissions, as I couldn't find any relevant ones) and signed in. The warning went away, but I still get this error, so it may be completely unrelated.

@joepio joepio added the ci Github actions / e2e tests / build / etc label Aug 21, 2024
@joepio
Copy link
Member Author

joepio commented Aug 21, 2024

When I ran

docker pull ghcr.io/cross-rs/armv7-unknown-linux-musleabihf

I got

no matching manifest for linux/arm64/v8 in the manifest list entries

Which appears to be a known issue with 0.2.5. It's fixed on github (over a year ago) but cross hasn't been updated in over a year... Which is kind of concerning.

Anyways - this is just an issue for local cross builds on my mac, not on linux, so this is not pressing.

@joepio joepio closed this as completed Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Github actions / e2e tests / build / etc
Projects
None yet
Development

No branches or pull requests

1 participant