You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- stderr
thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/v8-0.47.1/build.rs:406:10
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
The problem seems to be that the build implicitly requires either python or curl, but README.md does not list them in the required dependencies:
Running ubuntu-22.04, I tried to build clarinet on linux using the instructions in
README.md
. It failed trying to build v8:error: failed to run custom build command for
v8 v0.47.1
Caused by:
process didn't exit successfully:
/home/x/src/clarinet/target/debug/build/v8-e3ada70f212e5cbd/build-script-build
(exit status: 101)--- stdout
cargo:rerun-if-changed=.gn
cargo:rerun-if-changed=BUILD.gn
cargo:rerun-if-changed=src/binding.cc
cargo:rerun-if-env-changed=CCACHE
cargo:rerun-if-env-changed=CLANG_BASE_PATH
cargo:rerun-if-env-changed=DENO_TRYBUILD
cargo:rerun-if-env-changed=DOCS_RS
cargo:rerun-if-env-changed=GENERATE_COMPDB
cargo:rerun-if-env-changed=GN
cargo:rerun-if-env-changed=GN_ARGS
cargo:rerun-if-env-changed=HOST
cargo:rerun-if-env-changed=NINJA
cargo:rerun-if-env-changed=OUT_DIR
cargo:rerun-if-env-changed=RUSTY_V8_ARCHIVE
cargo:rerun-if-env-changed=RUSTY_V8_MIRROR
cargo:rerun-if-env-changed=SCCACHE
cargo:rerun-if-env-changed=V8_FORCE_DEBUG
cargo:rerun-if-env-changed=V8_FROM_SOURCE
cargo:rustc-link-lib=static=rusty_v8
download lockfile: "/home/x/src/clarinet/target/debug/build/lib_download.fslock"
static lib URL: https://github.com/denoland/rusty_v8/releases/download/v0.47.1/librusty_v8_release_x86_64-unknown-linux-gnu.a
cargo:rustc-link-search=/home/x/src/clarinet/target/debug/gn_out/obj
Downloading https://github.com/denoland/rusty_v8/releases/download/v0.47.1/librusty_v8_release_x86_64-unknown-linux-gnu.a
Python downloader failed, trying with curl.
--- stderr
thread 'main' panicked at 'called
Result::unwrap()
on anErr
value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/x/.cargo/registry/src/github.com-1ecc6299db9ec823/v8-0.47.1/build.rs:406:10note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceThe problem seems to be that the build implicitly requires either
python
orcurl
, butREADME.md
does not list them in the required dependencies:sudo apt install build-essential pkg-config libssl-dev
The text was updated successfully, but these errors were encountered: