question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

compilation does not work

See original GitHub issue

What happened?

when starting the yarn installation, a compilation error occurs at the stage: Compiling ironfish_rust v0.1.0 (/root/ironfish/ironfish-rust) Building [=======================> ] 170/172: ironfish_rust

rustup version: 1.24.3, rustc version: 1.58.1, nodejs version: 16.14.2, yarn version: 1.22.18

Снимок экрана от 2022-04-12 12-57-04 Снимок экрана от 2022-04-12 12-57-02

Version

No response

Debug output

error: could not compile `ironfish_rust`

Caused by:
  process didn't exit successfully: `rustc --crate-name ironfish_rust --edition=2018 /root/ironfish/ironfish-rust/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="native"' -C metadata=9d445b8afc0c5c2f -C extra-filename=-9d445b8afc0c5c2f --out-dir /root/ironfish/ironfish-rust-nodejs/target/release/deps -L dependency=/root/ironfish/ironfish-rust-nodejs/target/release/deps --extern bellman=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libbellman-efa15fed484d3e25.rmeta --extern blake2b_simd=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libblake2b_simd-fbdde115b15f01ec.rmeta --extern blake2s_simd=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libblake2s_simd-b7e9fbf2ece5901d.rmeta --extern blake3=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libblake3-19500af229e23af3.rmeta --extern byteorder=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libbyteorder-7ae8727335a54567.rmeta --extern ff=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libff-1d5f38a6a76f8769.rmeta --extern lazy_static=/root/ironfish/ironfish-rust-nodejs/target/release/deps/liblazy_static-5d57db6815621f76.rmeta --extern pairing=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libpairing-9fc16772c1a3179f.rmeta --extern rand=/root/ironfish/ironfish-rust-nodejs/target/release/deps/librand-1a803b9720b01009.rmeta --extern crypto=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libcrypto-9da53b491617d75a.rmeta --extern shrinkwraprs=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libshrinkwraprs-3447476addbe6f26.so --extern bip39=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libbip39-22e944a6d4f63580.rmeta --extern zcash_primitives=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libzcash_primitives-e1bf2c166f10df9d.rmeta --extern zcash_proofs=/root/ironfish/ironfish-rust-nodejs/target/release/deps/libzcash_proofs-caad026493329871.rlib -L native=/root/ironfish/ironfish-rust-nodejs/target/release/build/blake3-13fa67d08a830a66/out -L native=/root/ironfish/ironfish-rust-nodejs/target/release/build/blake3-13fa67d08a830a66/out -L native=/root/ironfish/ironfish-rust-nodejs/target/release/build/rust-crypto-wasm-17212d7c4f565730/out` (signal: 9, SIGKILL: kill)
Internal Error: Command failed: cargo build --release
    at checkExecSyncError (node:child_process:828:11)
    at Object.execSync (node:child_process:902:15)
    at BuildCommand.<anonymous> (/root/ironfish/node_modules/@napi-rs/cli/scripts/index.js:12819:26)
    at Generator.next (<anonymous>)
    at /root/ironfish/node_modules/@napi-rs/cli/scripts/index.js:1678:71
    at new Promise (<anonymous>)
    at __awaiter$1 (/root/ironfish/node_modules/@napi-rs/cli/scripts/index.js:1674:12)
    at BuildCommand.execute (/root/ironfish/node_modules/@napi-rs/cli/scripts/index.js:12741:16)
    at BuildCommand.validateAndExecute (/root/ironfish/node_modules/@napi-rs/cli/scripts/index.js:204:37)
    at /root/ironfish/node_modules/@napi-rs/cli/scripts/index.js:1261:53
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Relevant log output

No response

Graffiti

VECNAVEC

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jasonlarkincommented, May 28, 2022

went into ironfish-rust, did cargo clean, pulled latest, still same issue with yarn install


git log
commit 4bc3765015cb4bcfbb9732def5ae36ff8dc9db23 (HEAD -> master, origin/master, origin/HEAD)
Merge: 49dd58e a2816b9
Author: Derek Guenther <derek@ironfish.network>
Date:   Wed May 18 15:29:47 2022 -0400

1reaction
wd021commented, May 26, 2022

try cargo clean. is this still the case on latest version?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Linux compilation does not work, results in error: No such file ...
Linux compilation does not work, results in error: No such file or directory - Visual Studio Feedback.
Read more >
Compilation error - Wikipedia
Compilation error refers to a state when a compiler fails to compile a piece of computer program source code, either due to errors...
Read more >
Compilation does not work - TeX - LaTeX Stack Exchange
Texmaker can't compile your documents if the paths to the LaTeX related commands are wrong. To that end, you can download the TeX...
Read more >
I can not compile the code - Forums - IBM Support
Tell me how to compile code in RDi, for example on RPG? The code is open in the editor. I choose Compile (G)...
Read more >
C++ programming not compiling <iostream> - Stack Overflow
I rarely work on small projects that are built from a single source file. Normally when I use gcc/g++ I (use a make...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found