Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Error "update_depot_tools_toggle.py" building libv8 ruby gem #310

Closed
@stefanahman

Description

@stefanahman

Hello,

I'm trying to build the libv8 ruby gem in our CI. All of a sudden, I'm getting this error:

________ running 'vpython third_party/depot_tools/update_depot_tools_toggle.py
--disable' in
'/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/vendor'
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/vendor/depot_tools/.cipd_bin/.cipd/pkgs/0/fI6WggdkRyN1r91MnTeApc2_gyTtXfYpueHZVLcaF8gC/vpython:
could not resolve options: failed to resolve Python script: stat
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/vendor/third_party/depot_tools/update_depot_tools_toggle.py:
no such file or directory
Error: Command 'vpython third_party/depot_tools/update_depot_tools_toggle.py
--disable' returned non-zero exit status 1 in
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/vendor
Running: gclient root
Running: gclient config --spec 'solutions = [
  {
    "name": "v8",
    "url": "https://chromium.googlesource.com/v8/v8.git",
    "deps_file": "DEPS",
    "managed": False,
    "custom_deps": {},
  },
]
'
Running: gclient sync --with_branch_heads
Subprocess failed with return code 2.
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:83:in
`block in setup_build_deps!': unable to fetch v8 source (RuntimeError)
from
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:81:in
`chdir'
from
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:81:in
`setup_build_deps!'
from
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:40:in
`build_libv8!'
from
/home/semaphore/dos/vendor/bundle/ruby/2.5.0/gems/libv8-8.4.255.0/ext/libv8/location.rb:24:in
`install!'
	from extconf.rb:7:in `<main>'

extconf failed, exit code 1

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