Description
Not exactly sure where this ninja_gn_binaries.py
even comes from and why it's needed but it is failing sue to it.
Describe the bug
Compiling v8 v0.45.0
error: failed to run custom build command for v8 v0.45.0
Caused by:
process didn't exit successfully: /Users/<>/hash/engine/target/debug/build/v8-1afa013990c9e136/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
--- stderr
thread 'main' panicked at 'ninja_gn_binaries.py download failed: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /Users/<>/.cargo/registry/src/github.com-1ecc6299db9ec823/v8-0.45.0/build.rs:274:8
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
To reproduce
- Export short-squeeze simulation from hCore
- Fork hEngine to local IDE
- Change counter.rs -> counter.js and change dependencies.json to not reflect dependency on counter.rs
- follow instructions as described in https://github.com/hashintel/hash/tree/main/apps/engine#cli-arguments-and-options under the section "Run a simulation"
- Run according to instructions in hEngine README.md
cargo run --bin cli -- --project /<directory>/short-squeeze/ single-run --num-steps 5
Link to HASH Core
No response
Expected behavior
It's suppsoed to run just fine since it's just a copy of what's already in hCore
Rust compiler
1.65.0-nightly (d394408fb 2022-08-07)
Host
aarch64-apple-darwin
Target
nightly-aarch64-apple-darwin
Version
3.8.10
Additional context
Not using any Python here.