rusty_v8 icon indicating copy to clipboard operation
rusty_v8 copied to clipboard

Help needed: Build rusty_v8 for musl environments

Open codekeyz opened this issue 4 months ago • 1 comments

Step #0 - "Build":   lockfile: "/app/hello/third_party/hah/target/release/build/v8.fslock"
Step #0 - "Build":   cargo:rustc-env=RUSTY_V8_SRC_BINDING_PATH=/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-130.0.7/gen/src_binding_release_x86_64-alpine-linux-musl.rs
Step #0 - "Build":   static lib URL: https://github.com/denoland/rusty_v8/releases/download/v130.0.7/librusty_v8_release_x86_64-alpine-linux-musl.a.gz
Step #0 - "Build":   cargo:rustc-link-search=/app/hello/third_party/hah/target/release/gn_out/obj
Step #0 - "Build":   Looking for download in '"/root/.cargo/.rusty_v8/https___github_com_denoland_rusty_v8_releases_download_v130_0_7_librusty_v8_release_x86_64_alpine_linux_musl_a_gz"'
Step #0 - "Build":   Downloading (using Python) https://github.com/denoland/rusty_v8/releases/download/v130.0.7/librusty_v8_release_x86_64-alpine-linux-musl.a.gz
Step #0 - "Build":   Python downloader failed, trying with curl.
Step #0 - "Build": 
Step #0 - "Build":   --- stderr
Step #0 - "Build":   thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-130.0.7/build.rs:528:10:
Step #0 - "Build":   called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Step #0 - "Build":   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Step #0 - "Build": warning: build failed, waiting for other jobs to finish...
Step #0 - "Build": The command '/bin/sh -c cd /app/hello/third_party/hah &&     cargo build --release' returned a non-zero code: 101
Finished Step #0 - "Build"
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 101

codekeyz avatar Aug 19 '25 21:08 codekeyz

Related to this https://github.com/denoland/rusty_v8/issues/49

codekeyz avatar Aug 19 '25 21:08 codekeyz