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

Build failed on riscv64gc-unknown-linux-gnu arch #1967

Closed
LiveMediaTools opened this issue Feb 26, 2024 · 2 comments
Closed

Build failed on riscv64gc-unknown-linux-gnu arch #1967

LiveMediaTools opened this issue Feb 26, 2024 · 2 comments

Comments

@LiveMediaTools
Copy link

My build is on github action:

https://github.com/harlancc/xiu/actions/runs/8047131550/job/21975774198

@LiveMediaTools LiveMediaTools changed the title Build failed on riscv64gc-unknown-linux-gnu arc Build failed on riscv64gc-unknown-linux-gnu arch Feb 26, 2024
@mjovanc
Copy link

mjovanc commented Mar 13, 2024

I have similar issue using. Compiles great on arm64 m3 chip, but not on GitHub Actions using "ubuntu-latest". I get:

warning: ring@0.17.8: error: UnknownOperatingSystem

error: failed to run custom build command for `ring v0.17.8`

Screenshot 2024-03-13 at 12 53 50

@briansmith
Copy link
Owner

@LiveMediaTools's build log contains:

panicked at /cargo/registry/src/index.crates.io-6f17d22bba15001f/ring-0.16.20/build.rs:358:10:

The solution is to upgrade your dependencies to ones that are using ring 0.17.x.

@mjovanc It sounds like your issue is different from this one.

I'm going to close this since the issue was due to trying to use ring 0.16 on a target for which we added support in 0.17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants