Package Details: v8 8.7.220.25-1

Git Clone URL: https://aur.archlinux.org/v8.git (read-only, click to copy)
Package Base: v8
Description: Google's open source JavaScript engine
Upstream URL: https://v8.dev/
Keywords: compiler interpreter javascript javascript-engine virtual-machine
Licenses: BSD
Conflicts: v8-3.14, v8-3.14-bin, v8-6.7-static, v8-6.8, v8-r, v8-static-gyp, v8-static-gyp-5.4
Submitter: anatolik
Maintainer: relrel
Last Packager: relrel
Votes: 15
Popularity: 0.075806
First Submitted: 2015-07-01 16:14
Last Updated: 2020-11-26 11:22

Dependencies (4)

Required by (4)

Sources (2)

Pinned Comments

relrel commented on 2020-10-30 11:56

Recommendations
  1. Before installing this package, install depot-tools-git and follow its instructions.

  2. To speed-up compilation, build on tmpfs and disable tests:

BUILDDIR=/tmp/makepkg makepkg --nocheck

Or using yay:

BUILDDIR=/tmp/makepkg yay -S --mflags --nocheck v8

Latest Comments

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

sarpik commented on 2020-11-20 12:28

The --mflags "--nocheck" did not work and the check() step failed because of some tests.

To fix it, edit the PKGBUILD and replace the contents of check() { ... } with just check() { echo "hi" } (if using yay, pass in --editmenu and select to edit the PKGBUILD once asked)

relrel commented on 2020-10-30 11:56

Recommendations
  1. Before installing this package, install depot-tools-git and follow its instructions.

  2. To speed-up compilation, build on tmpfs and disable tests:

BUILDDIR=/tmp/makepkg makepkg --nocheck

Or using yay:

BUILDDIR=/tmp/makepkg yay -S --mflags --nocheck v8

marcs commented on 2020-10-24 10:24

I had some weird building problems with the last few versions that didn't allowed me to update this package. I tried some tests on a standalone environment but I couldn't fix them. Since someone filed for an ownership claim and got approved by AUR I will stop supporting the package and let someone else try. Good luck and have fun.

marcs commented on 2020-07-25 15:42

Some notes:

* Latest version is based on the version on branch-heads from the V8 repositories, I stick to stable, but sometimes I could use beta but I never use dev (check this: https://omahaproxy.appspot.com/).

* This is a "generic" configuration, v8 is highly configurable, if you need v8
for some specific integration please check the Google documentation.

* 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).

somakd commented on 2020-07-19 17:00

Cannot resolve "python2-wrapt" and "python2-pylint" dependencies.

gj545rndmu commented on 2019-09-24 11:14

There is a package that uses a standard linker path now: https://aur.archlinux.org/packages/v8-r/

Hence, it can be found by other applications such as the R package V8. If you have other packages that rely on v8 at standard linker paths you might want to try the v8-r package as well.

Big thanks to JanMarvin!

izahn commented on 2019-05-31 16:03

https://gist.github.com/JanMarvin/61ee142b21c394f5c67a55df4f960adc by @JanMarvin allowed me to install the R V8 package. It would be great to incorporate the required changes to the main PKGBUILD here.

gj545rndmu commented on 2019-04-15 09:06

@marcs as you can see in other comments below this v8 package here doesn't work with V8 for R. See issue here: https://github.com/jeroen/V8/issues/58

  • /usr/lib/v8 is not a standard linker paths.
  • Even when trying to use your PKGBUILD with standard linker paths: /usr/lib/libv8.so: undefined symbol: u_strToLower_63

One solution would be to have another package on AUR that we would call v8-R or such. But as JanMarvin pointed out the best solution would be to make it work with this package, right?

What do you think?

marcs commented on 2019-04-10 10:31

hey @dflemstr,

I haven't checked that yaourt was dead, good to know thanks. This package is now compatible with aurman and yay.

I was not aware of the pletora of aur helpers nowadays, I personally don't use them, I just clone a package and build it with makepkg on a specific account designed to do that.

dflemstr commented on 2019-04-08 16:03

I would like to remind about this patch (which might be stale now...): https://gist.github.com/dflemstr/2c06e81da38420d29e702c5bd3601afc

Building does not work in a lot of cases now when prepare(), build() and check() are run in different phases, which is generally the case in AUR helpers such as yay, pacaur etc.

Note that both yaourt and pacaur are deprecated and yaourt has had a lot of security issues in the past (see https://itsfoss.com/best-aur-helpers/ for more info) so it might not make sense to recommend using those tools any more.