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

Problem building 5.9.211.38.1 #250

Closed
gsamokovarov opened this issue Oct 26, 2017 · 9 comments
Closed

Problem building 5.9.211.38.1 #250

gsamokovarov opened this issue Oct 26, 2017 · 9 comments

Comments

@gsamokovarov
Copy link

I have a problem installing libv8 on macOS High Sierra with Ruby 2.4.2. It comes as ~> 5.9 locked dependency from mini_racer. Seems like a problem running:

gclient sync --with_branch_heads

current directory:
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/ext/libv8
/Users/genadi/.rbenv/versions/2.4.2/bin/ruby -r ./siteconf20171026-76459-o1rr2k.rb extconf.rb
creating Makefile

v8 (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:00]

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress
https://chromium.googlesource.com/v8/v8.git
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/_gclient_v8_CAln40'
in '/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor'
[0:00:00] Cloning into
'/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/_gclient_v8_CAln40'...
[0:00:03] remote: Sending approximately 486.51 MiB ...
[0:00:04] remote: Counting objects: 1
[0:00:04] remote: Counting objects: 64787, done
[0:00:04] remote: Finding sources:   1% (2/109)
[0:00:04] remote: Finding sources:  10% (11/109)
[0:00:04] remote: Finding sources: 100% (109/109)
[0:00:04] Receiving objects:   0% (1/501813)
[0:00:06] Receiving objects:   3% (15055/501813), 5.55 MiB | 5.54 MiB/s
[0:00:07] Receiving objects:   7% (35127/501813), 11.68 MiB | 5.84 MiB/s
[0:00:08] Receiving objects:  10% (50182/501813), 17.48 MiB | 5.82 MiB/s
[0:00:09] Receiving objects:  13% (65236/501813), 27.09 MiB | 6.02 MiB/s
[0:00:10] Receiving objects:  15% (79997/501813), 34.93 MiB | 5.83 MiB/s
[0:00:12] Receiving objects:  19% (95345/501813), 40.89 MiB | 5.84 MiB/s
[0:00:13] Receiving objects:  22% (110399/501813), 46.45 MiB | 5.80 MiB/s
[0:00:14] Receiving objects:  25% (125454/501813), 51.96 MiB | 5.52 MiB/s
[0:00:15] Receiving objects:  28% (140508/501813), 59.26 MiB | 5.40 MiB/s
[0:00:16] Receiving objects:  30% (155425/501813), 63.98 MiB | 5.13 MiB/s
[0:00:17] Receiving objects:  32% (163079/501813), 69.72 MiB | 4.53 MiB/s
[0:00:19] Receiving objects:  34% (170617/501813), 73.27 MiB | 4.06 MiB/s
[0:00:20] Receiving objects:  44% (220798/501813), 80.21 MiB | 4.60 MiB/s
[0:00:21] Receiving objects:  50% (250907/501813), 83.72 MiB | 4.33 MiB/s
[0:00:22] Receiving objects:  53% (270379/501813), 90.10 MiB | 4.50 MiB/s
[0:00:23] Receiving objects:  54% (271599/501813), 99.53 MiB | 5.08 MiB/s
[0:00:25] Receiving objects:  55% (275998/501813), 106.53 MiB | 5.15 MiB/s
[0:00:26] Receiving objects:  56% (285068/501813), 114.50 MiB | 5.79 MiB/s
[0:00:28] Receiving objects:  56% (285199/501813), 123.50 MiB | 6.11 MiB/s
[0:00:29] Receiving objects:  57% (288287/501813), 131.54 MiB | 5.47 MiB/s
[0:00:30] Receiving objects:  57% (289137/501813), 137.08 MiB | 5.30 MiB/s
[0:00:31] Receiving objects:  58% (291052/501813), 142.35 MiB | 5.31 MiB/s
[0:00:33] Receiving objects:  58% (293599/501813), 153.94 MiB | 5.38 MiB/s
[0:00:34] Receiving objects:  58% (294458/501813), 160.18 MiB | 5.54 MiB/s
[0:00:36] Receiving objects:  59% (296070/501813), 168.49 MiB | 5.80 MiB/s
[0:00:37] Receiving objects:  59% (299874/501813), 175.32 MiB | 5.41 MiB/s
[0:00:38] Receiving objects:  60% (302270/501813), 179.49 MiB | 4.99 MiB/s
[0:00:40] Receiving objects:  60% (305384/501813), 193.16 MiB | 5.47 MiB/s
[0:00:42] Receiving objects:  61% (309659/501813), 204.63 MiB | 6.00 MiB/s
[0:00:44] Receiving objects:  62% (311125/501813), 211.44 MiB | 5.67 MiB/s
[0:00:45] Receiving objects:  63% (316143/501813), 217.29 MiB | 5.34 MiB/s
[0:00:46] Receiving objects:  63% (320035/501813), 227.65 MiB | 5.72 MiB/s
[0:00:47] Receiving objects:  64% (322073/501813), 232.78 MiB | 5.75 MiB/s
[0:00:48] Receiving objects:  64% (323365/501813), 239.02 MiB | 6.13 MiB/s
[0:00:50] Receiving objects:  64% (326112/501813), 250.06 MiB | 5.65 MiB/s
[0:00:52] Receiving objects:  65% (328783/501813), 259.58 MiB | 5.20 MiB/s
[0:00:54] Receiving objects:  66% (331197/501813), 265.41 MiB | 5.23 MiB/s
[0:00:55] Receiving objects:  67% (336215/501813), 274.76 MiB | 5.46 MiB/s
[0:00:56] Receiving objects:  67% (340373/501813), 283.91 MiB | 5.86 MiB/s
[0:00:58] Receiving objects:  69% (346251/501813), 289.47 MiB | 5.84 MiB/s
[0:00:59] Receiving objects:  69% (350984/501813), 300.85 MiB | 5.67 MiB/s
[0:01:01] Receiving objects:  70% (354512/501813), 311.82 MiB | 5.58 MiB/s
[0:01:02] Receiving objects:  71% (356469/501813), 316.96 MiB | 5.60 MiB/s
[0:01:04] Receiving objects:  72% (361306/501813), 326.17 MiB | 5.63 MiB/s
[0:01:05] Receiving objects:  72% (364626/501813), 334.87 MiB | 5.68 MiB/s
[0:01:06] Receiving objects:  73% (368290/501813), 340.67 MiB | 5.89 MiB/s
[0:01:07] Receiving objects:  73% (371081/501813), 345.96 MiB | 5.75 MiB/s
[0:01:09] Receiving objects:  75% (376360/501813), 354.10 MiB | 5.71 MiB/s
[0:01:10] Receiving objects:  75% (380979/501813), 362.45 MiB | 5.54 MiB/s
[0:01:12] Receiving objects:  76% (385749/501813), 374.29 MiB | 5.67 MiB/s
[0:01:13] Receiving objects:  77% (388016/501813), 380.19 MiB | 5.79 MiB/s
[0:01:14] Receiving objects:  77% (389471/501813), 384.08 MiB | 5.28 MiB/s
[0:01:16] Receiving objects:  78% (394627/501813), 395.63 MiB | 5.36 MiB/s
[0:01:18] Receiving objects:  79% (400497/501813), 407.98 MiB | 5.76 MiB/s
[0:01:19] Receiving objects:  80% (402493/501813), 412.68 MiB | 5.68 MiB/s
[0:01:21] Receiving objects:  81% (406469/501813), 417.11 MiB | 5.41 MiB/s
[0:01:22] Receiving objects:  82% (411487/501813), 426.85 MiB | 5.47 MiB/s
[0:01:23] Receiving objects:  82% (416371/501813), 432.59 MiB | 5.42 MiB/s
[0:01:24] Receiving objects:  84% (421523/501813), 437.37 MiB | 5.48 MiB/s
[0:01:26] Receiving objects:  87% (436578/501813), 448.50 MiB | 5.48 MiB/s
[0:01:27] Receiving objects:  89% (446614/501813), 453.34 MiB | 5.18 MiB/s
[0:01:28] Receiving objects:  89% (450482/501813), 456.97 MiB | 4.93 MiB/s
[0:01:29] Receiving objects:  91% (456650/501813), 461.15 MiB | 4.01 MiB/s
[0:01:31] Receiving objects:  93% (466687/501813), 466.49 MiB | 3.99 MiB/s
[0:01:32] Receiving objects:  94% (471705/501813), 470.98 MiB | 3.42 MiB/s
[0:01:33] Receiving objects:  96% (481741/501813), 475.71 MiB | 3.93 MiB/s
[0:01:34] Receiving objects:  98% (496008/501813), 481.16 MiB | 4.42 MiB/s
[0:01:35] remote: Total 501813 (delta 411743), reused 501781 (delta 411743)
[0:01:35] Receiving objects: 100% (501813/501813), 483.72 MiB | 4.51 MiB/s
[0:01:35] Resolving deltas:   0% (0/411743)
[0:01:36] Resolving deltas:   1% (6733/411743)
[0:01:37] Resolving deltas:   6% (24944/411743)
[0:01:38] Resolving deltas:  10% (41176/411743)
[0:01:39] Resolving deltas:  13% (54538/411743)
[0:01:40] Resolving deltas:  17% (69997/411743)
[0:01:41] Resolving deltas:  22% (90607/411743)
[0:01:42] Resolving deltas:  27% (111176/411743)
[0:01:44] Resolving deltas:  31% (127641/411743)
[0:01:45] Resolving deltas:  33% (136472/411743)
[0:01:46] Resolving deltas:  38% (160178/411743)
[0:01:47] Resolving deltas:  44% (181232/411743)
[0:01:49] Resolving deltas:  49% (201768/411743)
[0:01:50] Resolving deltas:  52% (214134/411743)
[0:01:51] Resolving deltas:  54% (222347/411743)
[0:01:52] Resolving deltas:  55% (226691/411743)
[0:01:53] Resolving deltas:  57% (236989/411743)
[0:01:54] Resolving deltas:  60% (251075/411743)
[0:01:55] Resolving deltas:  61% (255270/411743)
[0:01:57] Resolving deltas:  62% (259050/411743)
[0:01:58] Resolving deltas:  64% (263520/411743)
[0:01:59] Resolving deltas:  64% (266690/411743)
[0:02:01] Resolving deltas:  66% (271752/411743)
[0:02:02] Resolving deltas:  66% (274303/411743)
[0:02:04] Resolving deltas:  67% (279836/411743)
[0:02:06] Resolving deltas:  69% (284108/411743)
[0:02:07] Resolving deltas:  70% (289707/411743)
[0:02:08] Resolving deltas:  71% (292725/411743)
[0:02:10] Resolving deltas:  73% (300672/411743)
[0:02:11] Resolving deltas:  74% (306546/411743)
[0:02:13] Resolving deltas:  76% (312952/411743)
[0:02:14] Resolving deltas:  77% (319193/411743)
[0:02:16] Resolving deltas:  79% (325294/411743)
[0:02:17] Resolving deltas:  80% (329426/411743)
[0:02:18] Resolving deltas:  81% (335532/411743)
[0:02:20] Resolving deltas:  82% (340841/411743)
[0:02:22] Resolving deltas:  84% (345868/411743)
[0:02:23] Resolving deltas:  85% (353846/411743)
[0:02:24] Resolving deltas:  87% (358816/411743)
[0:02:25] Resolving deltas:  88% (363700/411743)
[0:02:26] Resolving deltas:  89% (368424/411743)
[0:02:28] Resolving deltas:  90% (374622/411743)
[0:02:29] Resolving deltas:  91% (377714/411743)
[0:02:30] Resolving deltas:  92% (379602/411743)
[0:02:32] Resolving deltas:  94% (387046/411743)
[0:02:33] Resolving deltas:  95% (391998/411743)
[0:02:34] Resolving deltas:  96% (395288/411743)
[0:02:35] Resolving deltas:  97% (400522/411743)
[0:02:36] Resolving deltas:  99% (407680/411743)
[0:02:39] Resolving deltas: 100% (411743/411743)
[0:02:40] Checking connectivity... done.
[0:03:00] From https://chromium.googlesource.com/v8/v8
[0:03:00]    a2876b8..868b1b7  master     -> origin/master
[0:03:00]  * [new ref]         refs/branch-heads/0.1 -> branch-heads/0.1
[0:03:00]  * [new ref]         refs/branch-heads/0.3 -> branch-heads/0.3
[0:03:00]  * [new ref]         refs/branch-heads/1.1 -> branch-heads/1.1
[0:03:00]  * [new ref]         refs/branch-heads/1.2 -> branch-heads/1.2
[0:03:00]  * [new ref]         refs/branch-heads/1.3 -> branch-heads/1.3
[0:03:00]  * [new ref]         refs/branch-heads/2.0 -> branch-heads/2.0
[0:03:00]  * [new ref]         refs/branch-heads/2.1 -> branch-heads/2.1
[0:03:00]  * [new ref]         refs/branch-heads/2.2 -> branch-heads/2.2
[0:03:00]  * [new ref]         refs/branch-heads/2.3 -> branch-heads/2.3
[0:03:00]  * [new ref]         refs/branch-heads/2.4 -> branch-heads/2.4
[0:03:00]  * [new ref]         refs/branch-heads/2.5 -> branch-heads/2.5
[0:03:00]  * [new ref]         refs/branch-heads/3.0 -> branch-heads/3.0
[0:03:00]  * [new ref]         refs/branch-heads/3.1 -> branch-heads/3.1
[0:03:00]  * [new ref]         refs/branch-heads/3.10 -> branch-heads/3.10
[0:03:00]  * [new ref]         refs/branch-heads/3.11 -> branch-heads/3.11
[0:03:00]  * [new ref]         refs/branch-heads/3.12 -> branch-heads/3.12
[0:03:00]  * [new ref]         refs/branch-heads/3.13 -> branch-heads/3.13
[0:03:00]  * [new ref]         refs/branch-heads/3.14 -> branch-heads/3.14
[0:03:00]  * [new ref]         refs/branch-heads/3.15 -> branch-heads/3.15
[0:03:00]  * [new ref]         refs/branch-heads/3.16 -> branch-heads/3.16
[0:03:00]  * [new ref]         refs/branch-heads/3.17 -> branch-heads/3.17
[0:03:00]  * [new ref]         refs/branch-heads/3.18 -> branch-heads/3.18
[0:03:00]  * [new ref]         refs/branch-heads/3.19 -> branch-heads/3.19
[0:03:00]  * [new ref]         refs/branch-heads/3.2 -> branch-heads/3.2
[0:03:00]  * [new ref]         refs/branch-heads/3.20 -> branch-heads/3.20
[0:03:00]  * [new ref]         refs/branch-heads/3.20.15.5 -> branch-heads/3.20.15.5
[0:03:00]  * [new ref]         refs/branch-heads/3.21 -> branch-heads/3.21
[0:03:00]  * [new ref]         refs/branch-heads/3.22 -> branch-heads/3.22
[0:03:00]  * [new ref]         refs/branch-heads/3.23 -> branch-heads/3.23
[0:03:00]  * [new ref]         refs/branch-heads/3.24 -> branch-heads/3.24
[0:03:00]  * [new ref]         refs/branch-heads/3.25 -> branch-heads/3.25
[0:03:00]  * [new ref]         refs/branch-heads/3.26 -> branch-heads/3.26
[0:03:00]  * [new ref]         refs/branch-heads/3.27 -> branch-heads/3.27
[0:03:00]  * [new ref]         refs/branch-heads/3.28 -> branch-heads/3.28
[0:03:00]  * [new ref]         refs/branch-heads/3.29 -> branch-heads/3.29
[0:03:00]  * [new ref]         refs/branch-heads/3.3 -> branch-heads/3.3
[0:03:00]  * [new ref]         refs/branch-heads/3.30 -> branch-heads/3.30
[0:03:00]  * [new ref]         refs/branch-heads/3.31 -> branch-heads/3.31
[0:03:00]  * [new ref]         refs/branch-heads/3.4 -> branch-heads/3.4
[0:03:00]  * [new ref]         refs/branch-heads/3.5 -> branch-heads/3.5
[0:03:00]  * [new ref]         refs/branch-heads/3.6 -> branch-heads/3.6
[0:03:00]  * [new ref]         refs/branch-heads/3.7 -> branch-heads/3.7
[0:03:00]  * [new ref]         refs/branch-heads/3.8 -> branch-heads/3.8
[0:03:00]  * [new ref]         refs/branch-heads/3.9 -> branch-heads/3.9
[0:03:00]  * [new ref]         refs/branch-heads/4.1 -> branch-heads/4.1
[0:03:00]  * [new ref]         refs/branch-heads/4.2 -> branch-heads/4.2
[0:03:00]  * [new ref]         refs/branch-heads/4.2.39 -> branch-heads/4.2.39
[0:03:00]  * [new ref]         refs/branch-heads/4.3 -> branch-heads/4.3
[0:03:00]  * [new ref]         refs/branch-heads/4.4 -> branch-heads/4.4
[0:03:00]  * [new ref]         refs/branch-heads/4.5 -> branch-heads/4.5
[0:03:00]  * [new ref]         refs/branch-heads/4.6 -> branch-heads/4.6
[0:03:00]  * [new ref]         refs/branch-heads/4.7 -> branch-heads/4.7
[0:03:00]  * [new ref]         refs/branch-heads/4.8 -> branch-heads/4.8
[0:03:00]  * [new ref]         refs/branch-heads/4.9 -> branch-heads/4.9
[0:03:00]  * [new ref]         refs/branch-heads/5.0 -> branch-heads/5.0
[0:03:00]  * [new ref]         refs/branch-heads/5.1 -> branch-heads/5.1
[0:03:00]  * [new ref]         refs/branch-heads/5.2 -> branch-heads/5.2
[0:03:00]  * [new ref]         refs/branch-heads/5.3 -> branch-heads/5.3
[0:03:00]  * [new ref]         refs/branch-heads/5.4 -> branch-heads/5.4
[0:03:00]  * [new ref]         refs/branch-heads/5.5 -> branch-heads/5.5
[0:03:00]  * [new ref]         refs/branch-heads/5.6 -> branch-heads/5.6
[0:03:00]  * [new ref]         refs/branch-heads/5.7 -> branch-heads/5.7
[0:03:00]  * [new ref]         refs/branch-heads/5.8 -> branch-heads/5.8
[0:03:00]  * [new ref]         refs/branch-heads/5.9 -> branch-heads/5.9
[0:03:00]  * [new ref]         refs/branch-heads/6.0 -> branch-heads/6.0
[0:03:00]  * [new ref]         refs/branch-heads/6.1 -> branch-heads/6.1
[0:03:00]  * [new ref]         refs/branch-heads/6.2 -> branch-heads/6.2
[0:03:00]  * [new ref]         refs/branch-heads/6.3 -> branch-heads/6.3
[0:03:00]  * [new ref]         refs/branch-heads/experimental -> branch-heads/experimental
[0:03:00]  * [new ref]         refs/branch-heads/test-gnumbd -> branch-heads/test-gnumbd
[0:03:07] Checked out refs/remotes/origin/master to a detached HEAD. Before making any commits
in this repo, you should use 'git checkout <branch>' to switch to
an existing branch or use 'git checkout origin -b <branch>' to
create a new branch for your work.
[0:03:07]
----------------------------------------
Traceback (most recent call last):
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient.py",
line 2523, in <module>
    sys.exit(main(sys.argv[1:]))
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient.py",
line 2509, in main
    return dispatcher.execute(OptionParser(), argv)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/subcommand.py",
line 252, in execute
    return command(parser, args[1:])
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient.py",
line 2270, in CMDsync
    ret = client.RunOnDeps('update', args)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient.py",
line 1464, in RunOnDeps
    work_queue.flush(revision_overrides, command, args, options=self._options)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient_utils.py",
line 1050, in run
    self.item.run(*self.args, **self.kwargs)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient.py",
line 902, in run
    self.ParseDepsFile()
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient.py",
line 700, in ParseDepsFile
    gclient_eval.Exec(deps_content, global_scope, local_scope, filepath)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/gclient_eval.py",
line 218, in Exec
    _GCLIENT_SCHEMA.validate(local_scope)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/third_party/schema/schema.py",
line 254, in validate
    raise SchemaError([k] + x.autos, [e] + x.errors)
third_party.schema.schema.SchemaError: Key 'vars' error:
Key 'checkout_instrumented_libraries' error:
False should be instance of 'basestring'
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/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/fetch.py",
line 299, in <module>
    sys.exit(main())
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/fetch.py",
line 294, in main
    return run(options, spec, root)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/fetch.py",
line 288, in run
    return checkout.init()
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/fetch.py",
line 131, in init
    self.run_gclient(*sync_cmd)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/fetch.py",
line 78, in run_gclient
    return self.run(cmd_prefix + cmd, **kwargs)
File
"/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/vendor/depot_tools/fetch.py",
line 68, in run
    return subprocess.check_output(cmd, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '('gclient', 'sync', '--with_branch_heads')' returned
non-zero exit status 1
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/ext/libv8/builder.rb:117:in
`block in setup_build_deps!': unable to fetch v8 source (RuntimeError)
from
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/ext/libv8/builder.rb:115:in
`chdir'
from
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/ext/libv8/builder.rb:115:in
`setup_build_deps!'
from
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1/ext/libv8/builder.rb:71:in
`build_libv8!'
from
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.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/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/gems/libv8-5.9.211.38.1 for
inspection.
Results logged to
/Users/genadi/.rbenv/versions/2.4.2/lib/ruby/gems/2.4.0/extensions/x86_64-darwin-17/2.4.0-static/libv8-5.9.211.38.1/gem_make.out

An error occurred while installing libv8 (5.9.211.38.1), and Bundler cannot continue.
Make sure that `gem install libv8 -v '5.9.211.38.1'` succeeds before bundling.

In Gemfile:
  mini_racer was resolved to 0.1.14, which depends on
    libv8```
@ignisf
Copy link
Collaborator

ignisf commented Oct 26, 2017

Hello @gsamokovarov,

Thank you for your report, will look into it.

@ignisf
Copy link
Collaborator

ignisf commented Oct 27, 2017

@gsamokovarov, I presume this fails consistently and is not just an intermittent issue?

@ignisf
Copy link
Collaborator

ignisf commented Oct 27, 2017

I've also repackaged the darwin-16 binary for darwin-17, could you test if it works? :)

@gsamokovarov
Copy link
Author

@ignisf Yes, it was consistent. Now the installation is going on just fine. 👍

@emerak
Copy link

emerak commented Dec 6, 2018

How did you fix this? I'm struggling with this error 🙏

@ignisf
Copy link
Collaborator

ignisf commented Dec 6, 2018

Hya, I pushed a darwin-17 binary. @emerak have you tried updating?

@drborges
Copy link

I'm running into the very same issue trying to install mini_racer -v 0.1.14 on a MacOS Mojave (Darwin 18.2.0), here's a gist with the output in case it helps. Is there a Mojave specific resolution to this issue?

Please, let me know if I can do anything to help troubleshoot the problem.

@gordolio
Copy link

gordolio commented Apr 9, 2020

I'm having this issue as well. I'll keep digging to see if other forums have solved it. Seems to be reoccurring with each new version of macOS.

@gordolio
Copy link

gordolio commented Apr 9, 2020

using ' -- --with-system-v8' worked for me

~/.rbenv/versions/2.2.5/bin/gem install libv8 -v '5.9.211.38.1' --source 'https://rubygems.org/' -- --with-system-v8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants