Package Details: v8 7.2.502.25-1

Git Clone URL: (read-only)
Package Base: v8
Description: Fast and modern Javascript engine used in Google Chrome.
Upstream URL:
Keywords: dev engine javascript
Licenses: BSD
Conflicts: v8-3.14, v8-3.15, v8-3.20, v8-static-gyp, v8-static-gyp-5.4
Submitter: anatolik
Maintainer: marcs
Last Packager: marcs
Votes: 14
Popularity: 1.864801
First Submitted: 2015-07-01 16:14
Last Updated: 2019-02-06 14:42

Pinned Comments

marcs commented on 2017-06-21 11:19

Some notes:
* Prefer yaourt instead of pacaur (pacaur works now, but it hides lots of feedback to the user).
* gclient has to download the whole V8 repo, it takes some time to complete (depending on your internet connection).
* This package requires around 3/4 gigs of space so be sure to have a large enough /tmp partition if you use yaourt, also be aware that pacaur will save this package in ~/.cache/pacaur/v8, so be sure to have a /home partition with enough space.
* The build and testing process takes some time, I recommend to use at least a 4 cores with 8 threads cpu, better an 8 cores 16 threads cpu.
* If you have at least 32GB of RAM you can use a ram partition to speed up the build process (yaourt uses /tmp by default).

Build status:
* Working with gcc7.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

marcs commented on 2019-03-25 15:53

@znmeb you can limit the number of threads from your makepkg.conf file.

For the rest of the building errors you can change the version using one listen on the V8 branches from:

just change the pkgver variable and you are good to go.

This package is not suited for community IMO, the PKGBUILD is heavily documented to let it know the user that this package needs some configuration (sometimes), the default parameters is what i generally use and it should generally works.

I'm gonna update the PKGBUILD with the missing deps, thanks everyone.

jathroppaPH commented on 2019-03-25 07:58

I am installing this package but it cannot complete the installation.

In file included from ../../src/inspector/
../../src/inspector/v8-debugger-agent-impl.h:124:44: internal compiler error: Segmentation fault
   bool enabled() const { return m_enabled; }
Please submit a full bug report,
with preprocessed source if appropriate.
See  for instructions.
[230/1604] CXX obj/src/inspector/inspector/v8-profiler-agent-impl.o
[231/1604] CXX obj/src/inspector/inspector/v8-inspector-session-impl.o
[232/1604] CXX obj/src/inspector/inspector/value-mirror.o
[233/1604] CXX obj/src/inspector/inspector/v8-runtime-agent-impl.o
[234/1604] ACTION //:run_torque(//build/toolchain/linux:x64)
[235/1604] CXX obj/third_party/googletest/gtest/gtest-matchers.o
[236/1604] CXX obj/third_party/googletest/gtest/gtest-printers.o
[237/1604] CXX obj/third_party/googletest/gtest/gtest.o
[238/1604] SOLINK ./
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

I used the PKGBUILD from here:

This is the full installation report in my system:

JanMarvin commented on 2019-03-15 14:39

@zbraniecki you need to install the icudtl.dat file. Can be done adding this line to the PKGBUILD:

install -Dm755 $OUTFLD/icudtl.dat ${pkgdir}/usr/lib/v8/icudtl.dat

zbraniecki commented on 2019-03-11 05:15

I tried to call new Intl.PluralRules(); and it crashed with:

V8 version 7.2.502.25
d8> new Intl.PluralRules

# Fatal error in , line 0
# Failed to create ICU PluralRules, are ICU data files missing?
#FailureMessage Object: 0x7ffeb91884f0
==== C stack trace ===============================

    /usr/lib/ [0x7f66d516c046]
    /usr/lib/ [0x7f66d5142fab]
    /usr/lib/ const*, int, char const*, ...)+0x170) [0x7f66d5163430]
    /usr/lib/ [0x7f66d580e4ee]
    /usr/lib/ [0x7f66d53b0ea2]
    /usr/lib/ [0x7f66d53bfeb8]
    /usr/lib/ [0x7f66d5bcf16b]
Received signal 4 ILL_ILLOPN 7f66d515c5ff
[1]    20807 illegal hardware instruction (core dumped)  d8

I do have libicu installed. Is there a way to link it?

znmeb commented on 2019-03-07 08:45

I'm testing it now - is there any way to limit the number of cores it uses? I have eight cores and it fired off 11 jobs and pushed my workstation so hard it shut down on a thermal overload!

Better yet - get enough votes to move the package into "community"

It's crashing in the tests:

Actual call chain length: 8
setAsyncCallStackDepth(maxDepth): 0
reported: 0
Command: /home/znmeb/Projects/v8/src/v8/ /home/znmeb/Projects/v8/src/v8/test/inspector/protocol-test.js /home/znmeb/Projects/v8/src/v8/test/inspector/debugger/set-async-call-stack-depth.js --random-seed=1823301583 --nohard-abort
exit code: -11
--- CRASHED ---
>>> Too many failures, exiting...
=== inspector/debugger/set-blackbox-patterns ===                          
Tests blackboxing by patterns
Pattern parser error: Uncaught SyntaxError: Invalid regular expression: /(foo([)/: Unterminated character class
Paused in
Paused in
Paused in
Paused in
Paused in
Paused in
Paused in
Command: /home/znmeb/Projects/v8/src/v8/ /home/znmeb/Projects/v8/src/v8/test/inspector/protocol-test.js /home/znmeb/Projects/v8/src/v8/test/inspector/debugger/set-blackbox-patterns.js --random-seed=1823301583 --nohard-abort
exit code: -11
--- CRASHED ---
[04:05|%  67|+ 10255|- 100]: Done                                    
>>> 10355 tests ran
==> ERROR: A failure occurred in check().

I can run it again and post a full logfile if that's necessary.

JanMarvin commented on 2019-03-04 21:01

Thank you for your confirmation @ramesesjd. My PKGBUILD disables the use of this libc++ (using use_custom_libcxx=false). I experimented with patchelf to fix the build, but in the end, why bother with a lib that is not required. Later I found that two of these flags (buildtools and libcxx) are used for the Arch chromium build as well, so maybe they could be adapted for the AUR v8 package as well? Not sure about the external_startup_data flag, the glib one is most likely not required.

ramesesjd commented on 2019-03-02 05:28

JanMarvin, thank you for the PKGBUILD. It works for me on Arch: V8 installs just fine and I can install geojsonio in R without complaints about being too short.

JanMarvin commented on 2019-03-01 20:36

The following PKGBUILD should work for R-Users. Builds with linux_use_bundled_binutils=false, v8_use_external_startup_data=false, use_glib=false, use_custom_libcxx=false. Not sure about the glib-flag, but building takes ages and I'll figure this out with the next release of v8.

ramesesjd commented on 2019-02-28 15:13

I too can confirm the same issue that Melierax is having. I am on Arch, fully updated. I've tried using the PKGBUILD povided by a user on from the rstats geojsonio discussion page:

geojsonio is an R package for which I need to install the V8 R package, which needs v8 installed on the system.

Even using the above PKGBUIL I get the same error: file too short. The R V8 developer believes it is a bug in arch v8 library:

jolars commented on 2019-02-28 11:45

I can confirm the libc++ file issue that Melierax is having. I am on Antergos.