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 8 9 10 Next › Last »

marcs commented on 2018-09-08 17:40 (UTC)

@dflemstr

That's good news, I'll update the package next week.

Thanks

dflemstr commented on 2018-08-31 16:01 (UTC)

Correction: the new version of v8 I proposed does not have the libicu issue.

dflemstr commented on 2018-08-31 15:47 (UTC)

I'd like to see these patches applied: https://gist.github.com/dflemstr/2c06e81da38420d29e702c5bd3601afc

Should fix the build for many users, but the libicu issue might still exist.

thanx commented on 2018-08-30 13:21 (UTC)

Hi Thank you for the package, I am getting following error:

/usr/lib/v8/d8: symbol lookup error: /usr/lib/libv8.so: undefined symbol: _ZN6icu_618ByteSink5FlushEv

It seems like the v8 code has its own icu libraries used during compiling but these are not installed resulting in missing symbols.

Thank you.

ram commented on 2018-07-09 16:35 (UTC)

I'd like to avoid compiling and get this as a pre-compiled package.

thx for the work, guys ;-)

marcs commented on 2018-06-27 16:51 (UTC)

@oneup Thanks for the info, I hope people will find it useful. This package is more of general layout than all-in-one solution due to the complexity of V8.

oneup commented on 2018-06-17 00:02 (UTC)

I'm having a hard time linking against libv8.so. It seems to be due to the fact the libc++.so is located at /usr/lib/v8/libc++.so. I assume that's to not conflict with an existing libc++.so? Unfortunately that makes it difficult both to link against and to dynamically load. Even if you set up pkg-config so that the linker is able to find /usr/lib/v8/libc++.so, you'll still be unable to run the executable because the loader won't know where to find it.

I think adding an RPATH of ${ORIGIN}/v8 to libv8.so would fix the problem, but good luck figuring out how to jam it in to the v8 build process.

For other people running into this issue, you can fix it for your own project by adding -Wl,-rpath,/usr/lib/v8 to your link command. But ideally the libv8.so library itself should know where to find libc++.so without other projects telling the linker/loader where to find it.

marcs commented on 2018-05-28 14:20 (UTC)

@MallardDuck Thanks for the tip, I used your idea. It should build fine now, also package updated to the latest 6.8 version.

MallardDuck commented on 2018-05-17 02:22 (UTC)

Hey,

@ryanvade, @marcs, @znmeb, and anyone else with the building issues, I have a solution!

The root issue is that these scripts expect and depend on Python2 to build. Hence looking for the Python2 style urllib2. So in order to get this building right I simply did a local override; my local user's path has a ~/.bin and then I linked Python2 into that folder.

Once I did that things started working correctly for compiling. I'm gonna unlink it once the build is over, but this trick should work for others too. It's sorta documented in the Wiki: https://wiki.archlinux.org/index.php/python#Python_2 Start from: "Finally, you may not be able to control the script calls"

Hope that helps.