Skip to content

Help needed: Build rusty_v8 for musl environments #1837

@codekeyz

Description

@codekeyz
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions