I am getting an error when building another project using the v8-typed-array.h file from this package.
/usr/include/v8-typed-array.h:26:22: error: #if with no expression
26 | #if V8_ENABLE_SANDBOX
Changing #if
to #ifdef
fixes the error.
Git Clone URL: | https://aur.archlinux.org/v8-r.git (read-only, click to copy) |
---|---|
Package Base: | v8-r |
Description: | Google's open source JavaScript and WebAssembly engine |
Upstream URL: | https://v8.dev |
Keywords: | d8 javascript v8 |
Licenses: | BSD |
Conflicts: | v8, v8-3.14, v8-6.7-static, v8-static-gyp, v8-static-gyp-5.4, v8.3.14-bin |
Provides: | v8 |
Submitter: | JanMarvin |
Maintainer: | JanMarvin |
Last Packager: | JanMarvin |
Votes: | 11 |
Popularity: | 0.30 |
First Submitted: | 2019-09-22 11:01 (UTC) |
Last Updated: | 2024-12-28 18:11 (UTC) |
I am getting an error when building another project using the v8-typed-array.h file from this package.
/usr/include/v8-typed-array.h:26:22: error: #if with no expression
26 | #if V8_ENABLE_SANDBOX
Changing #if
to #ifdef
fixes the error.
@malacology please stop spamming.
r-v8 now use nodejs as depends instead of v8
@JanMarvin Thanks. Your reply sounds reasonable. I'll ask android-sdk-build-tools maintainer to see if there are any ideas about resolving this conflict.
Hi @gnaggnoyil, had a quick look. The android package is a binary package that expects to live in /opt
and is simply linked to /usr/bin
. Imho that's incorrect, but you should be able to fix this. Either by keeping it in /opt
or linking it to /usr/local/lib
. If instead the question was if I do something to fix this for you, the answer is no.
This package has conflicting file usr/bin/d8
with the aur/android-sdk-build-tools package. Is there anyway to resolve this file conflict error?
My repo for binary builds has moved to my server (github was no longer a feasible host, since the builds were increasing a lot lately).
@JanMarvin: You're right it's something to do with the system + mirrorlist. Didn't realize that could be the problem because I was running things with the -Syyuu
flags.
Shows I'm on ICU67 (instead of 68) and there really is something wonky going on with the (Manjaro) mirrors since I can't seem to even find + install "reflector" (edit: manjaro mirrorlist != arch mirrorlist).
I'm going to point this at a Manjaro problem for now and just plan to reinstall my system in plain arch (serves me right for being lazy and using a GUI installer).
Well you should update icu prior to the v8-R update. It works for me and builds in the Arch docker on github, so I'd say it's definitely a problem on your end. Outdated pacman mirror and/or outdated system? Either way, you're of course free to use the static build as mentioned a few comments earlier.
Pinned Comments
JanMarvin commented on 2019-09-22 11:16 (UTC) (edited on 2021-09-24 14:34 (UTC) by JanMarvin)
This package is required for the R-package V8 (https://github.com/jeroen/V8). It is frequently updated, though unless it is broken, users must not build all updates. Since V8 contains a large codebase and compilation takes a while, I recommend to build it in a directory and not with an AUR-helper.
[Edit:] For binary builds please see: https://garbuszus.de/archpkgs