Package Details: v8 6.4.388.6-1

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://code.google.com/p/v8/
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: 10
Popularity: 0.276107
First Submitted: 2015-07-01 16:14
Last Updated: 2017-12-13 12:01

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

marcs commented on 2018-01-08 15:22

@ryanvade I noticed, the problem seems to be with gclient, before the building process, could be related on some ongoing changes on the v8 repository.

ryanvade commented on 2018-01-03 04:27

Its currently failing to build: Failed to fetch file gs://chromium-clang-format/5349d1954e17f6ccafb6e6663b0f13cdb2bb33c8 for v8/buildtools/linux64/clang-format. [Err: [E2018-01-02T22:20:08.898896-06:00 1169 0 annotate.go:242] original error: package "infra/python/wheels/cffi/linux-amd64_cp32_abi3" is not registered

rackelhahn69 commented on 2017-12-13 15:23

==> Building and installing package
==> Making package: v8 6.4.388.6-1 (Wed 13 Dec 16:17:42 CET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning depot_tools git repo...
Cloning into bare repository '/tmp/yaourt-tmp-blablabla/aur-v8/depot_tools'...
remote: Sending approximately 29.67 MiB ...
remote: Counting objects: 25739, done
remote: Finding sources: 100% (25739/25739)
remote: Total 50586 (delta 20798), reused 50586 (delta 20798)
Receiving objects: 100% (50586/50586), 44.23 MiB | 3.47 MiB/s, done.
Resolving deltas: 100% (20798/20798), done.
  -> Found v8.pc
  -> Found v8_libbase.pc
  -> Found v8_libplatform.pc
  -> Found d8
  -> Found ctest.patch
==> Validating source files with sha256sums...
    depot_tools ... Skipped
    v8.pc ... Passed
    v8_libbase.pc ... Passed
    v8_libplatform.pc ... Passed
    d8 ... Passed
    ctest.patch ... Passed
==> Extracting sources...
  -> Creating working copy of depot_tools git repo...
Cloning into 'depot_tools'...
done.
==> Starting prepare()...
  -> Creating Python Virtual Environment
Traceback (most recent call last):
  File "/usr/bin/virtualenv2", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

EDIT: solved! i needed to install python-pkgconfig and/or python-pip manually

SrTobi commented on 2017-12-02 22:10

It still does not install the headers for libplatform!

For that add:
install -d ${pkgdir}/usr/include/libplatform
install -Dm644 include/libplatform/*.h ${pkgdir}/usr/include/libplatform

marcs commented on 2017-07-22 13:21

@chendaniely

> would it make sense to have this depend/work on the gcc6 aur package?

I'd rather not, this package is already on the heavy side, and gcc is time/resource consuming to compile from aur. Keep a downgrade of gcc if possible, get gcc6.3.1 from here: https://archive.archlinux.org/

> sjewo has made a PKGBUILD patch to work with gcc6 that might help.
> It's based on v8-314, but could be a reference.

The problem is a compiling error with gcc7 not a segfault with gcc6 so it is unrelated.

chendaniely commented on 2017-07-20 22:16

would it make sense to have this depend/work on the gcc6 aur package?

edit:

sjewo has made a PKGBUILD patch to work with gcc6 that might help.
It's based on v8-314, but could be a reference.

https://github.com/jeroen/V8/issues/32

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.

marcs commented on 2017-06-21 11:05

@OdinEidolon gclient has to download the whole repository takes quite some time depending on your internet connection.

@chendaniely I really don't like pacaur, it doesn't display msg2 lines (in prepare) that in this package are important because some steps take long time to complete.

You get that error because of pacaur, It's an easy fix but as I checked now the build is broken because of gcc7.

chendaniely commented on 2017-06-14 14:30

@OdinEidolon
for me it seems like it (`Running: gclient sync --with_branch_heads `) hangs, but it just takes a (long) while for it go get past that step

chendaniely commented on 2017-06-14 14:16

I'm getting a syntax error in the python script:

$ pacaur -S v8
:: Package v8 not found in repositories, trying AUR...
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages (1) v8-5.9.211.27-1

:: Proceed with installation? [Y/n]

:: Retrieving package(s)...
:: v8 build files are up-to-date -- skipping
[sudo] password for dchen:
:: Checking v8 integrity...
==> Making package: v8 5.9.211.27-1 (Wed Jun 14 10:10:19 EDT 2017)
==> Retrieving sources...
-> Updating depot_tools git repo...
Fetching origin
-> Found v8.pc
-> Found v8_libbase.pc
-> Found v8_libplatform.pc
-> Found d8
-> Found icu59.diff
==> Validating source files with sha256sums...
depot_tools ... Skipped
v8.pc ... Passed
v8_libbase.pc ... Passed
v8_libplatform.pc ... Passed
d8 ... Passed
icu59.diff ... Passed
:: Building v8 package(s)...
==> Making package: v8 5.9.211.27-1 (Wed Jun 14 10:10:27 EDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-> Running GN...
Traceback (most recent call last):
File "../depot_tools/gn.py", line 15, in <module>
import gclient_utils
File "/home/dchen/.cache/pacaur/v8/src/depot_tools/gclient_utils.py", line 266
except OSError, e:
^
SyntaxError: invalid syntax
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build v8 package(s)

All comments