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.000597
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 »

teddy_coder commented on 2021-06-08 08:24

I got the same problem as bashee_wang in previous comment. I solved it by chown for directory /opt/depot_tools/. But then I got an error while compiling:

[666/1044] CXX obj/v8_base_without_compiler/js-list-format.o
FAILED: obj/v8_base_without_compiler/js-list-format.o 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/v8_base_without_compiler/js-list-format.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-12-init-5035-gd0abc757-3\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DENABLE_DISASSEMBLER -DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64 -DENABLE_GDB_JIT_INTERFACE -DENABLE_MINOR_MC -DOBJECT_PRINT -DVERIFY_HEAP -DV8_TRACE_MAPS -DV8_ENABLE_ALLOCATION_TIMEOUT -DV8_ENABLE_FORCE_SLOW_PATH -DV8_ENABLE_DOUBLE_CONST_STORE_CHECK -DV8_INTL_SUPPORT -DENABLE_HANDLE_ZAPPING -DV8_SNAPSHOT_NATIVE_CODE_COUNTERS -DV8_CONCURRENT_MARKING -DV8_ENABLE_LAZY_SOURCE_POSITIONS -DV8_CHECK_MICROTASKS_SCOPES_CONSISTENCY -DV8_WIN64_UNWINDING_INFO -DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH -DV8_SNAPSHOT_COMPRESSION -DV8_ENABLE_CHECKS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DV8_TARGET_ARCH_X64 -DV8_HAVE_TARGET_OS -DV8_TARGET_OS_LINUX -DDEBUG -DDISABLE_UNTRUSTED_CODE_MITIGATIONS -DV8_ENABLE_CHECKS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -DCPPGC_CAGED_HEAP -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DV8_ENABLE_CHECKS -DV8_COMPRESS_POINTERS -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_DEPRECATION_WARNINGS -DV8_IMMINENT_DEPRECATION_WARNINGS -DV8_REVERSE_JSARGS -I../.. -Igen -I../.. -I../../include -Igen -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../include -I../../third_party/zlib -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -mllvm -enable-dse-memoryssa=false -m64 -march=x86-64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wmax-tokens -fno-omit-frame-pointer -g2 -Xclang -debug-info-kind=constructor -gsplit-dwarf -ggnu-pubnames -ftrivial-auto-var-init=pattern -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wmissing-field-initializers -Wunreachable-code -Wshorten-64-to-32 -O3 -fno-ident -fdata-sections -ffunction-sections -fvisibility=default -Wexit-time-destructors -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -c ../../src/objects/js-list-format.cc -o obj/v8_base_without_compiler/js-list-format.o
../../src/objects/js-list-format.cc:145:55: error: 'createInstance' is a private member of 'icu_69::ListFormatter'
  icu::ListFormatter* formatter = icu::ListFormatter::createInstance(
                                  ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/usr/include/unicode/listformatter.h:267:27: note: declared private here
    static ListFormatter* createInstance(const Locale& locale, const char* style, UErrorCode& errorCode);
                          ^
1 error generated.
[675/1044] CXX obj/v8_base_without_compiler/elements.o
ninja: build stopped: subcommand failed.
==> ERROR: Произошел сбой в build().
    Прерывание...

bashee_wang commented on 2021-04-19 03:55

Get below error msg, please help: :: (1/1) Parsing SRCINFO: v8 ==> Making package: v8 8.7.220.25-1 (Mon 19 Apr 2021 11:50:19 AM CST) ==> Retrieving sources... -> Found v8.pc -> Found d8 ==> Validating source files with sha512sums... v8.pc ... Passed d8 ... Passed ==> Making package: v8 8.7.220.25-1 (Mon 19 Apr 2021 11:50:21 AM CST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found v8.pc -> Found d8 ==> Validating source files with sha512sums... v8.pc ... Passed d8 ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... ==> Starting prepare()... mktemp: failed to create file via template ‘/opt/depot_tools/.cipd_client.XXXXXXX’: Permission denied curl: (23) Failure writing output to destination /opt/depot_tools/bootstrap_python3: line 37: bootstrap-3.8.0.chromium.8_bin/python3/bin/python3: No such file or directory cat: /opt/depot_tools/python3_bin_reldir.txt: No such file or directory /opt/depot_tools/vpython3: line 52: /opt/depot_tools/.cipd_bin/vpython3: No such file or directory ==> ERROR: A failure occurred in prepare(). Aborting... error making: v8

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?