Skip to content

Instantly share code, notes, and snippets.

@amree
Created October 22, 2019 06:46
Show Gist options
  • Save amree/6e7a33f85085a3118713cd112e8911ee to your computer and use it in GitHub Desktop.
Save amree/6e7a33f85085a3118713cd112e8911ee to your computer and use it in GitHub Desktop.
Fetching libv8 6.7.288.46.1
Installing libv8 6.7.288.46.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/ext/libv8
/Users/amree/.rbenv/versions/2.5.0/bin/ruby -r ./siteconf20191021-37951-cidhuv.rb extconf.rb
creating Makefile
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/v8/v8.git
/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/_gclient_v8_OSkH9q' in '/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor'
Cloning into '/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/_gclient_v8_OSkH9q'...
remote: Sending approximately 559.90 MiB ...
remote: Counting objects: 7666, done
remote: Finding sources: 66% (4/6)
remote: Finding sources: 100% (6/6)
Receiving objects: 2% (20003/711286), 3.50 MiB | 6.94 MiB/s
Receiving objects: 5% (35565/711286), 11.06 MiB | 7.35 MiB/s
Receiving objects: 7% (49791/711286), 19.68 MiB | 7.86 MiB/s
Receiving objects: 9% (64016/711286), 25.00 MiB | 8.29 MiB/s
Receiving objects: 11% (81440/711286), 33.43 MiB | 8.32 MiB/s
Receiving objects: 13% (95404/711286), 40.87 MiB | 8.24 MiB/s
Receiving objects: 15% (109697/711286), 45.34 MiB | 8.32 MiB/s
Receiving objects: 17% (125605/711286), 56.30 MiB | 8.98 MiB/s
Receiving objects: 19% (140714/711286), 66.17 MiB | 9.05 MiB/s
Receiving objects: 21% (155763/711286), 75.60 MiB | 9.27 MiB/s
Receiving objects: 24% (170709/711286), 86.48 MiB | 10.07 MiB/s
Receiving objects: 26% (184935/711286), 91.79 MiB | 10.25 MiB/s
Receiving objects: 29% (206273/711286), 91.79 MiB | 10.25 MiB/s
Receiving objects: 32% (227612/711286), 91.79 MiB | 10.25 MiB/s
Receiving objects: 35% (248951/711286), 97.22 MiB | 10.12 MiB/s
Receiving objects: 38% (270289/711286), 97.22 MiB | 10.12 MiB/s
Receiving objects: 40% (286536/711286), 97.22 MiB | 10.12 MiB/s
Receiving objects: 43% (305853/711286), 102.48 MiB | 10.19 MiB/s
Receiving objects: 46% (327192/711286), 102.48 MiB | 10.19 MiB/s
Receiving objects: 49% (348531/711286), 102.48 MiB | 10.19 MiB/s
Receiving objects: 52% (369869/711286), 107.84 MiB | 10.28 MiB/s
Receiving objects: 53% (383837/711286), 115.78 MiB | 9.89 MiB/s
Receiving objects: 55% (391208/711286), 129.46 MiB | 9.51 MiB/s
Receiving objects: 56% (399551/711286), 140.77 MiB | 8.44 MiB/s
Receiving objects: 57% (405434/711286), 168.22 MiB | 8.56 MiB/s
Receiving objects: 57% (412130/711286), 182.07 MiB | 8.21 MiB/s
Receiving objects: 58% (417691/711286), 198.69 MiB | 7.47 MiB/s
Receiving objects: 59% (423970/711286), 220.12 MiB | 9.16 MiB/s
Receiving objects: 60% (430073/711286), 238.66 MiB | 9.61 MiB/s
Receiving objects: 61% (437547/711286), 262.70 MiB | 10.38 MiB/s
Receiving objects: 62% (441753/711286), 275.29 MiB | 9.23 MiB/s
Receiving objects: 62% (447562/711286), 297.35 MiB | 6.96 MiB/s
Receiving objects: 63% (452163/711286), 315.03 MiB | 7.98 MiB/s
Receiving objects: 64% (456342/711286), 332.83 MiB | 8.58 MiB/s
Receiving objects: 64% (462110/711286), 354.95 MiB | 7.86 MiB/s
Receiving objects: 65% (466069/711286), 373.63 MiB | 8.16 MiB/s
Receiving objects: 66% (470179/711286), 391.50 MiB | 8.93 MiB/s
Receiving objects: 67% (476562/711286), 410.87 MiB | 8.22 MiB/s
Receiving objects: 67% (482185/711286), 428.68 MiB | 8.15 MiB/s
Receiving objects: 68% (488183/711286), 444.42 MiB | 8.36 MiB/s
[0:01:00] Still working on:9793/711286), 452.73 MiB | 8.16 MiB/s
[0:01:00] v8
Receiving objects: 69% (494608/711286), 471.42 MiB | 7.70 MiB/s
Receiving objects: 69% (497646/711286), 487.41 MiB | 6.46 MiB/s
Receiving objects: 70% (502725/711286), 497.91 MiB | 5.80 MiB/s
Receiving objects: 70% (504602/711286), 511.03 MiB | 4.54 MiB/s
[0:01:10] Still working on:
[0:01:10] v8
Receiving objects: 71% (509208/711286), 517.28 MiB | 3.53 MiB/s
Receiving objects: 73% (525748/711286), 521.71 MiB | 3.45 MiB/s
Receiving objects: 76% (540578/711286), 523.27 MiB | 3.36 MiB/s
Receiving objects: 78% (554804/711286), 525.40 MiB | 3.36 MiB/s
Receiving objects: 81% (576142/711286), 528.21 MiB | 3.63 MiB/s
Receiving objects: 83% (590368/711286), 531.77 MiB | 4.41 MiB/s
Receiving objects: 86% (611706/711286), 535.52 MiB | 4.98 MiB/s
Receiving objects: 88% (625932/711286), 538.58 MiB | 5.17 MiB/s
Receiving objects: 90% (644273/711286), 542.02 MiB | 5.36 MiB/s
Receiving objects: 93% (661496/711286), 545.70 MiB | 5.64 MiB/s
Receiving objects: 95% (676472/711286), 549.89 MiB | 6.11 MiB/s
Receiving objects: 97% (696162/711286), 555.33 MiB | 6.49 MiB/s
remote: Total 711286 (delta 588749), reused 711283 (delta 588749)
Receiving objects: 100% (711286/711286), 559.86 MiB | 7.68 MiB/s, done.
[0:01:20] Still working on:43/588749)
[0:01:20] v8
Resolving deltas: 7% (41217/588749)
Resolving deltas: 11% (64763/588749)
Resolving deltas: 15% (88536/588749)
Resolving deltas: 20% (112086/588749)
Resolving deltas: 23% (138042/588749)
Resolving deltas: 28% (165548/588749)
Resolving deltas: 33% (194289/588749)
Resolving deltas: 37% (212389/588749)
Resolving deltas: 41% (241567/588749)
Resolving deltas: 46% (270846/588749)
Resolving deltas: 51% (300460/588749)
Resolving deltas: 54% (317955/588749)
[0:01:30] Stills: 57% (338134/588749)
working on:
[0:01:30] v8
Resolving deltas: 60% (350747/588749)
Resolving deltas: 63% (371395/588749)
Resolving deltas: 67% (394502/588749)
Resolving deltas: 71% (418079/588749)
Resolving deltas: 74% (435678/588749)
Resolving deltas: 77% (453341/588749)
Resolving deltas: 81% (476987/588749)
[0:01:40] Still working on:)
[0:01:40] v8
Resolving deltas: 85% (499905/588749)
Resolving deltas: 88% (518534/588749)
Resolving deltas: 90% (534325/588749)
Resolving deltas: 93% (547556/588749)
Resolving deltas: 97% (565367/588749)
[0:01:50] Still working on:965/588749)
[0:01:50] v8
Resolving deltas: 100% (588749/588749)
(588749/588749), done.
[0:02:00] Still working on:
[0:02:00] v8
[0:02:10] Still working on:
[0:02:10] v8
[0:02:14] Still working on:
[0:02:14] v8
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "https://android.googlesource.com/platform/external/perfetto.git"
"/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/v8/third_party/_gclient_perfetto_N8LMtp"' in
/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor failed; will retry after a short nap...
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "https://chromium.googlesource.com/external/github.com/tc39/test262.git"
"/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/v8/test/test262/_gclient_data_NRT8MI"' in
/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor failed; will retry after a short nap...
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "https://chromium.googlesource.com/external/github.com/google/protobuf"
"/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/v8/third_party/_gclient_protobuf_YsqJhP"' in
/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor failed; will retry after a short nap...
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "https://chromium.googlesource.com/chromium/deps/icu.git"
"/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/v8/third_party/_gclient_icu_H9qkzT"' in
/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor failed; will retry after a short nap...
[0:05:03] Still working on:
[0:05:03] v8/third_party/icu
[0:05:13] Still working on:
[0:05:13] v8/third_party/icu
[0:05:23] Still working on:
[0:05:23] v8/third_party/icu
[0:05:33] Still working on:
[0:05:33] v8/third_party/icu
[0:05:43] Still working on:
[0:05:43] v8/third_party/icu
Error: Command 'cipd ensure -log-level error -root /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor -ensure-file
/var/folders/61/csplbvkd7_z0vxy8l5s62_0m0000gn/T/tmpcfacjC.ensure' returned non-zero exit status 1
________ running 'cipd ensure -log-level error -root /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor -ensure-file
/var/folders/61/csplbvkd7_z0vxy8l5s62_0m0000gn/T/tmpcfacjC.ensure' in '.'
Bootstrapping cipd client for mac-amd64 from https://chrome-infra-packages.appspot.com/client?platform=mac-amd64&version=git_revision:4d19637ec2c3d1efd8c6a1b05285118b786919e2...
Error: failed to resolve package version (line 5): bad version (not an instance ID, a ref or a tag): "OWlhXkmj18li3yhJk59Kmjbc5KdgLh56TwCd1qBdzlIC".
Running: gclient root
Running: gclient config --spec 'solutions = [
{
"url": "https://chromium.googlesource.com/v8/v8.git",
"managed": False,
"name": "v8",
"deps_file": "DEPS",
"custom_deps": {},
},
]
'
Running: gclient sync --with_branch_heads
Traceback (most recent call last):
File "/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 306, in <module>
sys.exit(main())
File "/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 301, in main
return run(options, spec, root)
File "/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 295, in run
return checkout.init()
File "/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 137, in init
self.run_gclient(*sync_cmd)
File "/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 82, in run_gclient
return self.run(cmd_prefix + cmd, **kwargs)
File "/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 71, in run
subprocess.check_call(cmd, **kwargs)
File "/usr/local/Cellar/python@2/2.7.16_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('gclient', 'sync', '--with_branch_heads')' returned non-zero exit status 1
/Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:79:in `block in setup_build_deps!': unable to fetch v8 source (RuntimeError)
from /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:77:in `chdir'
from /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:77:in `setup_build_deps!'
from /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:36:in `build_libv8!'
from /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1/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/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/libv8-6.7.288.46.1 for inspection.
Results logged to /Users/amree/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-19/2.5.0-static/libv8-6.7.288.46.1/gem_make.out
An error occurred while installing libv8 (6.7.288.46.1), and Bundler cannot continue.
Make sure that `gem install libv8 -v '6.7.288.46.1' --source 'http://rubygems.org/'` succeeds before bundling.
In Gemfile:
mini_racer was resolved to 0.2.3, which depends on
libv8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment