Package Details: v8 7.4.288.18-3

Git Clone URL: https://aur.archlinux.org/v8.git (read-only)
Package Base: v8
Description: Fast and modern Javascript engine used in Google Chrome.
Upstream URL: https://v8.dev
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: 15
Popularity: 0.718163
First Submitted: 2015-07-01 16:14
Last Updated: 2019-04-10 10:06

Pinned Comments

marcs commented on 2017-06-21 11:19

Some notes:

  • Prefer yay/aurman instead of yaourt/pacaur.
  • 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 aurman/yay/pacaur will save this package in ~/.cache/(aurman|yay|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).

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

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 libc++.so 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.

https://gist.github.com/JanMarvin/61ee142b21c394f5c67a55df4f960adc

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: https://github.com/ropensci/geojsonio/issues/143#issuecomment-462378725

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: libc++.so: file too short. The R V8 developer believes it is a bug in arch v8 library: https://github.com/jeroen/V8/issues/52

jolars commented on 2019-02-28 11:45

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

Melierax commented on 2019-02-12 11:06

Hi,

I am trying to install V8 rstats package on a machine running Manjaro Linux. All is updated. I get the following error message (either installing from CRAN or github): /lib/libc++.so: file too short. I have tried to re-install libc++, then compiled it from source but it doesn't solve the issue. The dev thinks it is a bug in the V8 library.

Any idea ?

Thanks

znmeb commented on 2019-02-05 18:53

Build is failing:

==> Sources are ready.
==> Making package: v8 7.1.302.29-1 (Tue 05 Feb 2019 10:50:40 AM PST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
  -> Adding icu missing folders
  -> Building, this will take a while...
ninja: Entering directory `out.gn/Release'
[1/1666] ACTION //:js2c(//build/toolchain/linux:x64)
FAILED: gen/libraries.cc gen/libraries.bin
python ../../tools/js2c.py gen/libraries.cc CORE ../../src/js/macros.py ../../src/messages.h ../../src/js/prologue.js ../../src/js/array.js ../../src/js/typedarray.js ../../src/js/intl.js --startup_blob gen/libraries.bin
Traceback (most recent call last):
  File "../../tools/js2c.py", line 592, in <module>
    main()
  File "../../tools/js2c.py", line 588, in main
    options.js)
  File "../../tools/js2c.py", line 546, in JS2C
    prepared_sources = PrepareSources(sources, native_type, emit_js)
  File "../../tools/js2c.py", line 395, in PrepareSources
    assert len(macro_files) in [0, 1]
TypeError: object of type 'filter' has no len()
[2/1666] ACTION //:js2c_experimental_extras(//build/toolchain/linux:x64)
FAILED: gen/experimental-extras-libraries.cc gen/libraries_experimental_extras.bin
python ../../tools/js2c.py gen/experimental-extras-libraries.cc EXPERIMENTAL_EXTRAS ../../test/cctest/test-experimental-extra.js --startup_blob gen/libraries_experimental_extras.bin
Traceback (most recent call last):
  File "../../tools/js2c.py", line 592, in <module>
    main()
  File "../../tools/js2c.py", line 588, in main
    options.js)
  File "../../tools/js2c.py", line 546, in JS2C
    prepared_sources = PrepareSources(sources, native_type, emit_js)
  File "../../tools/js2c.py", line 395, in PrepareSources
    assert len(macro_files) in [0, 1]
TypeError: object of type 'filter' has no len()
[3/1666] ACTION //:d8_js2c(//build/toolchain/linux:x64)
FAILED: gen/d8-js.cc
python ../../tools/js2c.py gen/d8-js.cc D8 ../../src/d8.js ../../src/js/macros.py
Traceback (most recent call last):
  File "../../tools/js2c.py", line 592, in <module>
    main()
  File "../../tools/js2c.py", line 588, in main
    options.js)
  File "../../tools/js2c.py", line 546, in JS2C
    prepared_sources = PrepareSources(sources, native_type, emit_js)
  File "../../tools/js2c.py", line 395, in PrepareSources
    assert len(macro_files) in [0, 1]
TypeError: object of type 'filter' has no len()
[4/1666] ACTION //:js2c_extras(//build/toolchain/linux:x64)
FAILED: gen/extras-libraries.cc gen/libraries_extras.bin
python ../../tools/js2c.py gen/extras-libraries.cc EXTRAS ../../test/cctest/test-extra.js --startup_blob gen/libraries_extras.bin
Traceback (most recent call last):
  File "../../tools/js2c.py", line 592, in <module>
    main()
  File "../../tools/js2c.py", line 588, in main
    options.js)
  File "../../tools/js2c.py", line 546, in JS2C
    prepared_sources = PrepareSources(sources, native_type, emit_js)
  File "../../tools/js2c.py", line 395, in PrepareSources
    assert len(macro_files) in [0, 1]
TypeError: object of type 'filter' has no len()
[10/1666] CXX obj/buildtools/third_party/libc++/libc++/locale.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: v8

Tazmain commented on 2018-10-04 13:54

Build fails for me, {standard input}:226988: Error: unknown .loc sub-directive view' {standard input}:226988: Error: junk at end of line, first unrecognized character is-' {standard input}:226990: Error: unknown .loc sub-directive view' {standard input}:226990: Error: unknown pseudo-op:.lvu50714' ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build(). Aborting...

dflemstr commented on 2018-09-17 14:29

@marcs did you have time to have a look at this? I haven't seen the new patches being applied yet.

marcs commented on 2018-09-08 17:40

@dflemstr

That's good news, I'll update the package next week.

Thanks

dflemstr commented on 2018-08-31 16:01

Correction: the new version of v8 I proposed does not have the libicu issue.