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: None
Last Packager: relrel
Votes: 15
Popularity: 0.000000
First Submitted: 2015-07-01 16:14 (UTC)
Last Updated: 2020-11-26 11:22 (UTC)

Dependencies (4)

Required by (1)

Sources (2)

Pinned Comments

relrel commented on 2020-10-30 11:56 (UTC) (edited on 2021-02-01 20:07 (UTC) by relrel)

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

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

somakd commented on 2020-07-19 17:00 (UTC) (edited on 2020-07-19 17:00 (UTC) by somakd)

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

gj545rndmu commented on 2019-09-24 11:14 (UTC) (edited on 2019-09-24 11:15 (UTC) by gj545rndmu)

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 (UTC)

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 (UTC)

@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 (UTC) (edited on 2019-04-10 10:46 (UTC) by marcs)

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 (UTC)

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.

marcs commented on 2019-03-25 15:53 (UTC) (edited on 2019-03-26 15:29 (UTC) by marcs)

@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 listed on the V8 branches from:

https://chromium.googlesource.com/v8/v8.git/+log/branch-heads/7.4

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 (UTC)

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

In file included from ../../src/inspector/v8-inspector-impl.cc:41:
../../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 ./libv8_libplatform.so
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...

I used the PKGBUILD from here: https://gist.github.com/JanMarvin/61ee142b21c394f5c67a55df4f960adc

This is the full installation report in my system: https://gist.github.com/jethroppaPH/6a40453cc262d32e99bdb3437accbefb

JanMarvin commented on 2019-03-15 14:39 (UTC)

@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 (UTC)

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

d8
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/libv8_libbase.so(v8::base::debug::StackTrace::StackTrace()+0x16) [0x7f66d516c046]
    /usr/lib/libv8_libplatform.so(+0x8fab) [0x7f66d5142fab]
    /usr/lib/libv8_libbase.so(V8_Fatal(char const*, int, char const*, ...)+0x170) [0x7f66d5163430]
    /usr/lib/libv8.so(+0x6984ee) [0x7f66d580e4ee]
    /usr/lib/libv8.so(+0x23aea2) [0x7f66d53b0ea2]
    /usr/lib/libv8.so(+0x249eb8) [0x7f66d53bfeb8]
    /usr/lib/libv8.so(+0xa5916b) [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?