You are not logged in.

#1 2017-05-27 07:19:20

Nemu_khao
Member
Registered: 2014-01-25
Posts: 23

Issue with running jekyll (JS runtime required), can't install V8

So when I run jekyll (github pages) I get the following:

❯ jekyll serve
WARN: Unresolved specs during Gem::Specification.reset:
      jekyll-watch (~> 1.1)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
Configuration file: /home/<user>/code/blog/_config.yml
Configuration file: /home/<user>/code/blog/_config.yml
jekyll 3.4.3 | Error:  Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.

So apparently I need v8:

Installing v8 from aur gives:

[1105/1105] STAMP obj/gn_all.stamp
==> Starting check()...
  -> Testing, this will take also a while...
>>> Running tests for x64.release
=== mjsunit/regress/regress-crbug-422858 ===                                   
/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:253: Failure: expected <0> found <30>

Stack: Error
    at new MjsUnitAssertionError (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:31:16)
    at failWithMessage (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:253:11)
    at fail (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:270:12)
    at assertEquals (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:341:7)
    at /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/regress/regress-crbug-422858.js:6:1
    throw new MjsUnitAssertionError(message);
    ^
Error
    at new MjsUnitAssertionError (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:31:16)
    at failWithMessage (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:253:11)
    at fail (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:270:12)
    at assertEquals (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:341:7)
    at /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/regress/regress-crbug-422858.js:6:1
Command: /tmp/yaourt-tmp-<user>/aur-v8/src/v8/out.gn/Release/d8 --test --random-seed=1195815370 --nohard-abort --nodead-code-elimination --nofold-constants /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/regress/regress-crbug-422858.js
=== mjsunit/regress/regress-crbug-422858 ===                     
/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:253: Failure: expected <0> found <30>

Stack: Error
    at new MjsUnitAssertionError (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:31:16)
    at failWithMessage (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:253:11)
    at fail (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:270:12)
    at assertEquals (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:341:7)
    at /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/regress/regress-crbug-422858.js:6:1
    throw new MjsUnitAssertionError(message);
    ^
Error
    at new MjsUnitAssertionError (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:31:16)
    at failWithMessage (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:253:11)
    at fail (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:270:12)
    at assertEquals (/tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js:341:7)
    at /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/regress/regress-crbug-422858.js:6:1
Command: /tmp/yaourt-tmp-<user>/aur-v8/src/v8/out.gn/Release/d8 --test --random-seed=1195815370 --no-turbo --nohard-abort --nodead-code-elimination --nofold-constants /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/mjsunit.js /tmp/yaourt-tmp-<user>/aur-v8/src/v8/test/mjsunit/regress/regress-crbug-422858.js
[01:11|% 100|+ 20590|-   2]: Done                                              
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Makepkg was unable to build v8.
==> Restart building v8 ? [y/N]

Is there any way to resolve this?

Offline

#2 2017-05-27 08:27:09

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Issue with running jekyll (JS runtime required), can't install V8

Disable the check() or get upstream to fix the errors, or use some other js implementation than v8.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB