when i build on riscv platform ,error occurred : error: failed to run custom build command for ring v0.16.20
#78265
Unanswered
KhantiInNaraka
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when i build on riscv platform , as the follow steps:
cd packages/next-swc
cargo clean
cargo test or pnpm build-native
error occurred :
error: failed to run custom build command for
ring v0.16.20Caused by:
process didn't exit successfully:
/home/fedora/zlx/deps/next.js/target/debug/build/ring-4ad234a4b84c9d9e/build-script-build(exit status: 101)--- stderr
thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ring-0.16.20/build.rs:358:10:
called
Option::unwrap()on aNonevaluenote: run with
RUST_BACKTRACE=1environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...
Internal Error: Command failed: cargo build --features plugin,image-extended -p next-swc-napi
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at checkExecSyncError (node:child_process:891:11)
at Object.execSync (node:child_process:963:15)
at BuildCommand. (/root/.local/share/pnpm/global/5/.pnpm/@napi-rs[email protected]/node_modules/@napi-rs/cli/scripts/index.js:11529:30)
at Generator.next ()
at /root/.local/share/pnpm/global/5/.pnpm/@napi-rs[email protected]/node_modules/@napi-rs/cli/scripts/index.js:3526:69
at new Promise ()
at __awaiter$1 (/root/.local/share/pnpm/global/5/.pnpm/@napi-rs[email protected]/node_modules/@napi-rs/cli/scripts/index.js:3522:10)
at BuildCommand.execute (/root/.local/share/pnpm/global/5/.pnpm/@napi-rs[email protected]/node_modules/@napi-rs/cli/scripts/index.js:11299:16)
ELIFECYCLE Command failed with exit code 1.
Beta Was this translation helpful? Give feedback.
All reactions