Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build script failed to curl https://github.com/denoland/rusty_v8/releases/download/v134.5.0/rusty_v8_release_x86_64-pc-windows-gnu.lib.gz #1724

Open
Aworldc opened this issue Mar 5, 2025 · 0 comments

Comments

@Aworldc
Copy link

Aworldc commented Mar 5, 2025

log:

$ RUST_BACKTRACE=1 cargo build
   Compiling v8 v134.5.0
   Compiling icu_normalizer v1.5.0
error: failed to run custom build command for `v8 v134.5.0`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.

Caused by:
  process didn't exit successfully: `C:\Users\Phill-Al\Desktop\New folder\target\debug\build\v8-fd408debdb77da8a\build-script-build` (exit code: 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=CXXSTDLIB
  cargo:rerun-if-env-changed=DENO_TRYBUILD
  cargo:rerun-if-env-changed=DOCS_RS
  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=RUSTY_V8_SRC_BINDING_PATH
  cargo:rerun-if-env-changed=SCCACHE
  cargo:rerun-if-env-changed=V8_FORCE_DEBUG
  cargo:rerun-if-env-changed=V8_FROM_SOURCE
  cargo:rerun-if-env-changed=PYTHON
  cargo:rerun-if-env-changed=DISABLE_CLANG
  cargo:rerun-if-env-changed=EXTRA_GN_ARGS
  cargo:rerun-if-env-changed=PRINT_GN_ARGS
  cargo:rerun-if-env-changed=CARGO_ENCODED_RUSTFLAGS
  cargo:rustc-link-lib=static=rusty_v8
  cargo:rustc-link-lib=dylib=winmm
  cargo:rustc-link-lib=dylib=dbghelp
  lockfile: "C:\\Users\\Phill-Al\\Desktop\\New folder\\target\\debug\\build\\v8.fslock"
  cargo:rustc-env=RUSTY_V8_SRC_BINDING_PATH=C:\Users\Phill-Al\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\v8-134.5.0\gen\src_binding_release_x86_64-pc-windows-gnu.rs
  static lib URL: https://github.com/denoland/rusty_v8/releases/download/v134.5.0/rusty_v8_release_x86_64-pc-windows-gnu.lib.gz
  cargo:rustc-link-search=C:\Users\Phill-Al\Desktop\New folder\target\debug\gn_out\obj
  Looking for download in '"C:\\Users\\Phill-Al\\.cargo\\.rusty_v8\\https___github_com_denoland_rusty_v8_releases_download_v134_5_0_rusty_v8_release_x86_64_pc_windows_gnu_lib_gz"'
  Downloading (using Python) https://github.com/denoland/rusty_v8/releases/download/v134.5.0/rusty_v8_release_x86_64-pc-windows-gnu.lib.gz
  Python downloader failed, trying with curl.

  --- stderr

  thread 'main' panicked at C:\Users\Phill-Al\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\v8-134.5.0\build.rs:538:3:
  assertion failed: status.success()
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\std\src/panicking.rs:692:5
     1: core::panicking::panic_fmt
               at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src/panicking.rs:75:14
     2: core::panicking::panic
               at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library\core\src/panicking.rs:145:5
     3: build_script_build::download_file
     4: build_script_build::download_static_lib_binaries
     5: build_script_build::main
     6: core::ops::function::FnOnce::call_once
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
warning: build failed, waiting for other jobs to finish...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant