-
Notifications
You must be signed in to change notification settings - Fork 16
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
ubi fails to install cross when running on an aarch64-unknown-linux-gnu host #38
Comments
I don't think this is a bug. But it looks like you're using my |
Thanks for the quick response! There's a way to just move an issue to the
right repository, less clutter.
…On Mon, Jan 20, 2025, 7:32 PM Dave Rolsky ***@***.***> wrote:
I don't think this is a bug. ubi is doing the right thing here, since
there's no cross release for that platform. Having ubi do compilation is
*way* out of scope for this tool.
But it looks like you're using my actions-rust-cross action. I think
there *is* a bug there. It shouldn't be trying to use cross on that
platform at all! Your target matches the host platform, so it should just
use cargo. It'd be great if you could file an issue there. I think it's a
simple fix, though I'm not sure if I can *test* it since I don't think I
can use the ARM runners without paying.
—
Reply to this email directly, view it on GitHub
<#38>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2LH6GXTTWLETJRTKBOXD2LWWT3AVCNFSM6AAAAABVRPALX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBTGUYDEMBRGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Indeed! I'm not sure I ever used this. Anyway, I think this is a fairly easy fix. |
Also, as an aside, looking at your workflow file, you shouldn't use |
I don't have access to an ARM runner. If you could try running your workflow with |
Question - what about musl compilation on aarch64? Am I missing something and cross is not required or ? |
If your target includes "musl" and |
I've moved both of my aarch64 targets (musl and gnu) back to running on an ARM host, and using that version of the action. Running now: https://github.com/imazen/imageflow/actions/runs/12879935043 |
Cool, it looks like that worked. I would note that your workflow could be a bit simpler. You can execute this action for all of your targets. It will take care of installing rust and running So the only thing you need to do differently is install NASM or not based on the target. |
This should be fixed in v1.0.1. |
Thank you so much!
…On Mon, Jan 20, 2025, 9:30 PM Dave Rolsky ***@***.***> wrote:
This should be fixed in v1.0.1.
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2LH56TFFZLSMV34VJJ6D2LXEORAVCNFSM6AAAAABVRQQ7UCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBTGYZTGNBWGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I use github's linux arm runners ('aarch64-unknown-linux-gnu) for speed, but ubi can't find the right cross binary.
[ubi][ERROR] could not find a release asset for this OS (linux) and architecture (aarch64) from cross-x86_64-apple-darwin.tar.gz, cross-x86_64-pc-windows-msvc.tar.gz, cross-x86_64-unknown-linux-gnu.tar.gz, cross-x86_64-unknown-linux-musl.tar.gz
https://github.com/imazen/imageflow/actions/runs/12878799067/job/35905294927
I'm guessing this is due to cross-rs/cross#1612
Is there a way to have a from-source compilation, or is using aarch64 hosts just out?
The text was updated successfully, but these errors were encountered: