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.

Does not work on OSX 12.1 #324

Closed
Closed
@chrishough

Description

@chrishough

When trying to run gem install libv8 -- --with-system-v8... Please help

Fetching: libv8-8.4.255.0.gem (100%)
Building native extensions with: '--with-system-v8'
This could take a while...
ERROR:  Error installing libv8:
	ERROR: Failed to build gem native extension.

    current directory: /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/ext/libv8
/Users/christopherhough/.rbenv/versions/2.5.7/bin/ruby -r ./siteconf20220111-11016-7eefkj.rb extconf.rb --with-system-v8
creating Makefile
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/v8/v8.git /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/vendor/_gclient_v8_mrhirwm0' in '/Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/vendor'
Cloning into '/Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/vendor/_gclient_v8_mrhirwm0'...
remote: Finding sources: 100% (15/15)           ting objects: 1
remote: Total 895578 (delta 758391), reused 895576 (delta 758391)
Receiving objects: 100% (895578/895578), 703.68 MiB | 32.97 MiB/s, done.
Resolving deltas: 100% (758391/758391), done.
[0:01:15] Still working on:
[0:01:15]   v8
________ running 'vpython third_party/depot_tools/update_depot_tools_toggle.py --disable' in '/Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/vendor'
/Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/vendor/depot_tools/.cipd_bin/vpython: could not resolve options: failed to resolve Python script: stat /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/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 /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/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.
/Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/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 /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:81:in `chdir'
	from /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:81:in `setup_build_deps!'
	from /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0/ext/libv8/builder.rb:40:in `build_libv8!'
	from /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/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

Gem files will remain installed in /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/gems/libv8-8.4.255.0 for inspection.
Results logged to /Users/christopherhough/.rbenv/versions/2.5.7/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-21/2.5.0/libv8-8.4.255.0/gem_make.out```

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