GithubHelp home page GithubHelp logo

sony / v8eval Goto Github PK

View Code? Open in Web Editor NEW
403.0 20.0 38.0 122 KB

Multi-language bindings to JavaScript engine V8

License: MIT License

CMake 6.38% Shell 14.76% Go 10.76% Python 17.93% C++ 28.31% Ruby 17.71% Dockerfile 3.07% SWIG 1.06%
golang ruby python v8

v8eval's Introduction

v8eval

PyPI version Gem Version GoDoc

Multi-language bindings to JavaScript engine V8.

Currently v8eval provides Go, Python and Ruby bindings to the latest V8 7.1 and supports Linux and Mac OS X. v8eval uses SWIG and can be extended easily for other languages.

Pre-installation

Linux

See Dockerfile.

Mac

See .travis.yml.

Installation

The installation takes several tens of minutes due to V8 build.

Go

v8eval requires Go 1.10 or later.

git clone https://github.com/sony/v8eval.git ${GOPATH}/src/github.com/sony/v8eval
${GOPATH}/src/github.com/sony/v8eval/go/build.sh install

In the case of Linux, you need to build your Go program with build.sh:

${GOPATH}/src/github.com/sony/v8eval/go/build.sh go build

Python

pip install v8eval

Ruby

gem install v8eval

Documentation

Go

See godoc.org.

Python

You can create the Sphinx documentation under python/docs.

python/build.sh docs

Ruby

You can create the YARD documentation under ruby/doc.

ruby/build.sh docs

Examples

Go

import "github.com/sony/v8eval/go/v8eval"

func Add(x, y int) int {
	var v8 = v8eval.NewV8()
	v8.Eval("var add = (x, y) => x + y;", nil)

	var sum int
	v8.Call("add", []int{x, y}, &sum)
	return sum
}

Python

import v8eval

def add(x, y):
    v8 = v8eval.V8()
    v8.eval('var add = (x, y) => x + y;')
    return v8.call('add', [x, y])

Ruby

require 'v8eval'

def add(x, y)
  v8 = V8Eval::V8.new
  v8.eval('var add = (x, y) => x + y;')
  v8.call('add', [x, y])
end

License

The MIT License (MIT)

See LICENSE for details.

v8eval's People

Contributors

glguida avatar kived avatar micahcochran avatar yoshiyukimineo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

v8eval's Issues

Error report

Hi,
I got below with ./go/build.sh test.

v8eval/_obj/_all.o # internal
PASS
ok  	github.com/sony/v8eval/go/v8eval	2.063s

But it could not run, get error message:

#
# Fatal error in ../src/isolate.cc, line 2355
# Check failed: thread_data_table_.
#
SIGABRT: abort
PC=0x7fff8bfdef06 m=0 sigcode=0
signal arrived during cgo execution

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x40be510, 0xc42005fe30, 0x40ffffffffffff)
	/usr/local/opt/go/libexec/src/runtime/cgocall.go:131 +0xe2 fp=0xc42005fe00 sp=0xc42005fdc0
github.com/sony/v8eval/go/v8eval._Cfunc__wrap_new__GoV8_v8eval_d573689ab81df8d6(0x0)
	github.com/sony/v8eval/go/v8eval/_obj/_cgo_gotypes.go:294 +0x4a fp=0xc42005fe30 sp=0xc42005fe00
github.com/sony/v8eval/go/v8eval.NewX_GoV8(0x4a108a0, 0xc420010430)
	/Users/user/goes/src/github.com/sony/v8eval/go/v8eval/v8eval.go:210 +0x22 fp=0xc42005fe68 sp=0xc42005fe30
github.com/sony/v8eval/go/v8eval.NewV8(0x0, 0xffffffffffffffff)
	/Users/user/goes/src/github.com/sony/v8eval/go/v8eval/v8.go:43 +0x40 fp=0xc42005fea0 sp=0xc42005fe68
main.Add(0x1, 0x3, 0x0)
	/Users/user/goes/src/main.go:7 +0x34 fp=0xc42005ff30 sp=0xc42005fea0
main.main()
	/Users/user/goes/src/main.go:14 +0x37 fp=0xc42005ff88 sp=0xc42005ff30
runtime.main()
	/usr/local/opt/go/libexec/src/runtime/proc.go:185 +0x20a fp=0xc42005ffe0 sp=0xc42005ff88
runtime.goexit()
	/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc42005ffe8 sp=0xc42005ffe0

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
	/usr/local/opt/go/libexec/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x6
rcx    0x7fff5fbfe7d8
rdx    0x0
rdi    0x307
rsi    0x6
rbp    0x7fff5fbfe800
rsp    0x7fff5fbfe7d8
r8     0x40
r9     0x7fff774501e0
r10    0x8000000
r11    0x206
r12    0x7fff77450bd0
r13    0x44
r14    0x7fff773b6000
r15    0x933
rip    0x7fff8bfdef06
rflags 0x206
cs     0x7
fs     0x0
gs     0x0
exit status 2

My source:

package main

import "fmt"
import "github.com/sony/v8eval/go/v8eval"

func Add(x, y int) int {
	var v8 = v8eval.NewV8()
	v8.Eval("var add = (x,y) => x + y", nil)
	var sum int
	v8.Call("add", []int{x, y}, &sum)
	return sum
}
func main() {
	res := Add(1, 3)
	fmt.Println(res)
}

Mac OS 10.11.6
go 1.8.3

Docker image building failed

Checkout code from the repo and try to build got failed.

Step 21/27 : RUN cd /.swig && ./autogen.sh && ./configure && make && make install
 ---> Running in 3be5e7dfd9b6
+ test -d Tools/config
+ aclocal -I Tools/config
+ autoheader
+ automake --add-missing --copy --force-missing
configure.ac:23: installing 'Tools/config/compile'
configure.ac:11: installing 'Tools/config/config.guess'
configure.ac:11: installing 'Tools/config/config.sub'
configure.ac:12: installing 'Tools/config/install-sh'
configure.ac:12: installing 'Tools/config/missing'
Source/Makefile.am: installing 'Tools/config/depcomp'
configure.ac: installing 'Tools/config/ylwrap'
+ autoconf
+ cd CCache
+ autoreconf
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking maximum warning verbosity option... -Wall -W -pedantic for C++ -Wall -W -pedantic for C
checking CFLAGS to compile SWIG executable... -g -O2 -Wall -W -pedantic
checking CXXFLAGS to compile SWIG executable... -g -O2 -Wall -W -pedantic
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether to enable PCRE2 support... yes
checking whether to use local PCRE2... no
checking for a sed that does not truncate output... /bin/sed
checking for pcre2-config... no
configure: error: in `/.swig':
configure: error: 
        Cannot find pcre2-config script from PCRE2 (Perl Compatible Regular Expressions)
        library package. This dependency is needed for configure to complete,
        Either:
        - Install the PCRE2 developer package on your system (preferred approach).
        - Download the PCRE2 source tarball, build and install on your system
          as you would for any package built from source distribution.
        - Use the Tools/pcre-build.sh script to build PCRE2 just for SWIG to statically
          link against. Run 'Tools/pcre-build.sh --help' for instructions.
          (quite easy and does not require privileges to install PCRE2 on your system)
        - Use configure --without-pcre to disable regular expressions support in SWIG
          (not recommended).
See `config.log' for more details
The command '/bin/sh -c cd /.swig && ./autogen.sh && ./configure && make && make install' returned a non-zero code: 1```

can't build for python 3

how is it supposed to be built for python 3(.5) - the depot_tools look to be supported only on python 2?

  File "/tmp/v8eval/depot_tools/fetch.py", line 63
    print 'Running: %s' % (' '.join(pipes.quote(x) for x in cmd))
                      ^
SyntaxError: invalid syntax
/tmp/v8eval/build.sh: 55: cd: can't cd to v8

Passing Flags Down To V8

Hello,
I really love the repo. Once everything is installed it has been very helpful. We are looking to use v8eval to build a very parallel go server that sends requests to javascript v8 to process and return information.

Everything in v8eval makes this pretty easy. On NewV8() a new V8 isolate is created and returned to the user. This is perfect for running v8 in many different threads concurrently. We want our server to be able to do some data intensive work and have many different isolates running at once. To do this we really need more than the 64 bit minimum memory, 1.4 GBs (https://bugs.chromium.org/p/v8/issues/detail?id=847).

The way node handles this, and the way that seems best moving forward, is to pass a list of command line arguments through to V8's SetFlagsFromCommandLine function. I think it would be a good idea to pass a list of args to Initialize() and have that list passed on to setFlags function. This not only would enable more memory, but also manual garbage collection and more fine tuning of the v8 engine.

I was planning on forking and trying to do this myself, but was wondering if you had thoughts about the problem at all or had any suggestions on how best or where best to set these flags?

Thanks and I will submit a PR when I am done.

Python 3.x: basestring Compatibility Issue

basestring in the file _v8eval.py is not defined in Python 3.x.

Dump from IPython Console version 3.4.3

In [1]: import v8eval

In [2]: def add(x, y):
   ...:         v8 = v8eval.V8()
   ...:         v8.eval('var add = (x, y) => x + y;')
   ...:         return v8.call('add', [x, y])
   ...: 

In [3]: add(1,2)
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-3-2b87182c7dd4> in <module>()
----> 1 add(1,2)

<ipython-input-2-eae51d9e69b5> in add(x, y)
      1 def add(x, y):
      2         v8 = v8eval.V8()
----> 3         v8.eval('var add = (x, y) => x + y;')
      4         return v8.call('add', [x, y])
      5 

/usr/local/lib/python3.4/dist-packages/v8eval.py in eval(self, src)
    154             V8Error: If some JavaScript exception happens.
    155         """
--> 156         if not isinstance(src, basestring):
    157             raise TypeError('source code not string')
    158 

NameError: name 'basestring' is not defined

In [4]: 

Output from $ python3 -m unittest test_v8eval.py:

micah@micah-computer:~/prj2/v8eval/python/test$ python3 -m test_v8eval.py 
/usr/bin/python3: Error while finding spec for 'test_v8eval.py' (<class 'AttributeError'>: 'module' object has no attribute '__path__')
micah@micah-computer:~/prj2/v8eval/python/test$ python3 -m unittest test_v8eval.py 
E.EException in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/home/micah/prj2/v8eval/python/test/test_v8eval.py", line 15, in run
    self.v8.eval('function inc(x) { return x + 1; }')
  File "/usr/local/lib/python3.4/dist-packages/v8eval.py", line 156, in eval
    if not isinstance(src, basestring):
NameError: name 'basestring' is not defined
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
    self.run()
  File "/home/micah/prj2/v8eval/python/test/test_v8eval.py", line 15, in run
    self.v8.eval('function inc(x) { return x + 1; }')
  File "/usr/local/lib/python3.4/dist-packages/v8eval.py", line 156, in eval
    if not isinstance(src, basestring):
NameError: name 'basestring' is not defined


.
======================================================================
ERROR: test_call (test_v8eval.V8TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/micah/prj2/v8eval/python/test/test_v8eval.py", line 38, in test_call
    v8.eval('function inc(x) { return x + 1; }')
  File "/usr/local/lib/python3.4/dist-packages/v8eval.py", line 156, in eval
    if not isinstance(src, basestring):
NameError: name 'basestring' is not defined

======================================================================
ERROR: test_eval (test_v8eval.V8TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/micah/prj2/v8eval/python/test/test_v8eval.py", line 24, in test_eval
    self.assertEqual(v8.eval('1 + 2'), 3)
  File "/usr/local/lib/python3.4/dist-packages/v8eval.py", line 156, in eval
    if not isinstance(src, basestring):
NameError: name 'basestring' is not defined

----------------------------------------------------------------------
Ran 4 tests in 0.659s

FAILED (errors=2)

Python six addresses this by basically doing this:

PY3 = sys.version_info[0] == 3
if PY3:
    string_types = str,
else:
    string_types = basestring,

Anywhere you use basestring you may replace it with string_types.

Note: Python 3.x strings can contain Unicode characters, and Python 2.x basestring only contain bytes (with unicode characters being multiple escaped bytes). This may or many not be a problem for v8, but you should be well aware that Python 2 and 3 are very different in this regard to string types.

This may not be the only compatibility issue regarding Python 3.x.

install_v8 missing gclient sync

The install_v8 function of build.sh should also call gclient sync otherwise some key components don't get fetched namely the v8/thrid-party/llvm-build where the build.sh is expecting to find the clang compiler so the build later just fails.

python install, gclient.py error

Hello, when I try pip install v8eval, I run into an error with a gclient.py command that seems to be used on build. I'm happy to dig around, but a quick search didn't bring up much info. Log below (note that in the log I was using anaconda, but ran into the same area with my system python).

pip install --no-cache-dir v8eval
Collecting v8eval
  Downloading v8eval-0.2.6.tar.gz
Installing collected packages: v8eval
  Running setup.py install for v8eval ... error
    Complete output from command /Users/machow/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-l3cfvru9-record/install-record.txt --single-version-externally-managed --compile:
    Usage: gclient.py config [options] [url]
    
    gclient.py: error: Inconsistent arguments. Use either --spec or one or 2 args
    Running: gclient root
    Running: gclient config --spec 'solutions = [
      {
        "url": "https://chromium.googlesource.com/v8/v8.git",
        "managed": False,
        "name": "v8",
        "deps_file": "DEPS",
        "custom_deps": {},
      },
    ]
    '
    Traceback (most recent call last):
      File "/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/depot_tools/fetch.py", line 300, in <module>
        sys.exit(main())
      File "/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/depot_tools/fetch.py", line 295, in main
        return run(options, spec, root)
      File "/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/depot_tools/fetch.py", line 289, in run
        return checkout.init()
      File "/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/depot_tools/fetch.py", line 124, in init
        self.run_gclient('config', '--spec', self._format_spec())
      File "/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/depot_tools/fetch.py", line 76, in run_gclient
        return self.run(cmd_prefix + cmd, **kwargs)
      File "/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/depot_tools/fetch.py", line 66, in run
        return subprocess.check_output(cmd, **kwargs)
      File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 574, in check_output
        raise CalledProcessError(retcode, cmd, output=output)
    subprocess.CalledProcessError: Command '('gclient', 'config', '--spec', u'solutions = [\n  {\n    "url": "https://chromium.googlesource.com/v8/v8.git",\n    "managed": False,\n    "name": "v8",\n    "deps_file": "DEPS",\n    "custom_deps": {},\n  },\n]\n')' returned non-zero exit status 2
    /private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/build.sh: line 61: cd: v8: No such file or directory
    fatal: Not a git repository (or any of the parent directories): .git
    sed: Makefile: No such file or directory
    make: *** No rule to make target `x64.release'.  Stop.
    /private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/build.sh: line 95: cmake: command not found
    make: *** No targets specified and no makefile found.  Stop.
    running install
    running build
    running build_py
    creating build/lib.macosx-10.6-x86_64-3.5
    copying python/v8eval/v8eval.py -> build/lib.macosx-10.6-x86_64-3.5
    running build_ext
    building '_v8eval' extension
    creating build/temp.macosx-10.6-x86_64-3.5
    creating build/temp.macosx-10.6-x86_64-3.5/private
    creating build/temp.macosx-10.6-x86_64-3.5/private/var
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/python
    creating build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/python/v8eval
    /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/machow/anaconda3/include -arch x86_64 -I/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/v8 -I/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/v8/include -I/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/uv/include -I/Users/machow/anaconda3/include/python3.5m -c /private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.macosx-10.6-x86_64-3.5/private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++11
    In file included from /private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/python/v8eval/v8eval_wrap.cxx:3120:
    In file included from /private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/python/v8eval/v8eval_python.h:4:
    /private/var/folders/hz/3vxyspjx6b53l8r0r3ncpgtm0000gn/T/pip-build-61jxr6gv/v8eval/python/v8eval/v8eval.h:6:10: fatal error: 'v8.h' file not found
    #include "v8.h"
             ^
    1 error generated.
    error: command '/usr/bin/clang' failed with exit status 1

Installation issue - Ubuntu 18.04

Hello,

In the past i was able to install v8eval without major problems on Ubuntu 18.04, but now after reinstalling the OS (still on 18.04), i have following problem:

sudo -H pip install v8eval --no-cache-dir

Downloading v8eval-0.3.0.tar.gz (10 kB)
Building wheels for collected packages: v8eval
Building wheel for v8eval (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5ic3lyhf/v8eval/setup.py'"'"'; file='"'"'/tmp/pip-install-5ic3lyhf/v8eval/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-tk23p4xf
cwd: /tmp/pip-install-5ic3lyhf/v8eval/
Complete output (64 lines):
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-install-5ic3lyhf/v8eval/build
/usr/bin/cmake -H/tmp/pip-install-5ic3lyhf/v8eval -B/tmp/pip-install-5ic3lyhf/v8eval/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval_ruby.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_ruby.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[ 25%] Built target v8eval_ruby
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval_python.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_python.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[ 50%] Built target v8eval_python
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[ 75%] Built target v8eval
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval_go.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_go.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[100%] Built target v8eval_go
make[1]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
/usr/bin/cmake -E cmake_progress_start /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles 0
sh: 1: swig: not found
mkdir: cannot create directory β€˜/tmp/pip-install-5ic3lyhf/v8eval/v8/buildtools/third_party/libc++/trunk/test/std/experimental/filesystem/Inputs/static_test_env/dne’: File exists
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-3.7
copying python/v8eval/v8eval.py -> build/lib.linux-x86_64-3.7
running build_ext
building '_v8eval' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/tmp
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval/python
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval/python/v8eval
/tmp/pip-install-5ic3lyhf/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-WA8NgD/python3.7-3.7.6=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-WA8NgD/python3.7-3.7.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-5ic3lyhf/v8eval/v8 -I/tmp/pip-install-5ic3lyhf/v8eval/v8/include -I/usr/include/python3.7m -c /tmp/pip-install-5ic3lyhf/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++14 -stdlib=libc++ -isystem/tmp/pip-install-5ic3lyhf/v8eval/v8/buildtools/third_party/libc++/trunk/include -isystem/tmp/pip-install-5ic3lyhf/v8eval/v8/buildtools/third_party/libc++abi/trunk/include
clang: error: no such file or directory: '/tmp/pip-install-5ic3lyhf/v8eval/python/v8eval/v8eval_wrap.cxx'
clang: error: no input files
error: command '/tmp/pip-install-5ic3lyhf/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang' failed with exit status 1

ERROR: Failed building wheel for v8eval
Running setup.py clean for v8eval
Failed to build v8eval
Installing collected packages: v8eval
Running setup.py install for v8eval ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5ic3lyhf/v8eval/setup.py'"'"'; file='"'"'/tmp/pip-install-5ic3lyhf/v8eval/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-2ord8oye/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/v8eval
cwd: /tmp/pip-install-5ic3lyhf/v8eval/
Complete output (64 lines):
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-install-5ic3lyhf/v8eval/build
/usr/bin/cmake -H/tmp/pip-install-5ic3lyhf/v8eval -B/tmp/pip-install-5ic3lyhf/v8eval/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval_ruby.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_ruby.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[ 25%] Built target v8eval_ruby
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval_python.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_python.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[ 50%] Built target v8eval_python
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[ 75%] Built target v8eval
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/depend
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
cd /tmp/pip-install-5ic3lyhf/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles/v8eval_go.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/build
make[2]: Entering directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_go.dir/build'.
make[2]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
[100%] Built target v8eval_go
make[1]: Leaving directory '/tmp/pip-install-5ic3lyhf/v8eval/build'
/usr/bin/cmake -E cmake_progress_start /tmp/pip-install-5ic3lyhf/v8eval/build/CMakeFiles 0
sh: 1: swig: not found
mkdir: cannot create directory β€˜/tmp/pip-install-5ic3lyhf/v8eval/v8/buildtools/third_party/libc++/trunk/test/std/experimental/filesystem/Inputs/static_test_env/dne’: File exists
running install
running build
running build_py
creating build/lib.linux-x86_64-3.7
copying python/v8eval/v8eval.py -> build/lib.linux-x86_64-3.7
running build_ext
building '_v8eval' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/tmp
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval/python
creating build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval/python/v8eval
/tmp/pip-install-5ic3lyhf/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-WA8NgD/python3.7-3.7.6=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-WA8NgD/python3.7-3.7.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/tmp/pip-install-5ic3lyhf/v8eval/v8 -I/tmp/pip-install-5ic3lyhf/v8eval/v8/include -I/usr/include/python3.7m -c /tmp/pip-install-5ic3lyhf/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.linux-x86_64-3.7/tmp/pip-install-5ic3lyhf/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++14 -stdlib=libc++ -isystem/tmp/pip-install-5ic3lyhf/v8eval/v8/buildtools/third_party/libc++/trunk/include -isystem/tmp/pip-install-5ic3lyhf/v8eval/v8/buildtools/third_party/libc++abi/trunk/include
clang: error: no such file or directory: '/tmp/pip-install-5ic3lyhf/v8eval/python/v8eval/v8eval_wrap.cxx'
clang: error: no input files
error: command '/tmp/pip-install-5ic3lyhf/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5ic3lyhf/v8eval/setup.py'"'"'; file='"'"'/tmp/pip-install-5ic3lyhf/v8eval/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-2ord8oye/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/v8eval Check the logs for full command output.

Thank you in advance,

Get V8 Heap Usage

If you are running long running v8 applications and are giving them lots of memory, it is often very useful to be able to inspect how much memory / heap each v8 isolate is using.

I propose that we add a simple method to v8.go on the v8 struct and the V8 interface that gives you back a struct where the attributes are uint64 values representing information about the isolates heap usage.

Will send a pr with my proposal shortly.

Pip stuck on installing

It been so many minutes since it stuck there? any idea?

pip install v8eval --verbose
Created temporary directory: /private/var/folders/vk/gp0nzwzs3y5dwvjryt2_st6m0000gn/T/pip-ephem-wheel-cache-axiuh8vb
Created temporary directory: /private/var/folders/vk/gp0nzwzs3y5dwvjryt2_st6m0000gn/T/pip-req-tracker-4qj2gdd3
Created requirements tracker '/private/var/folders/vk/gp0nzwzs3y5dwvjryt2_st6m0000gn/T/pip-req-tracker-4qj2gdd3'
Created temporary directory: /private/var/folders/vk/gp0nzwzs3y5dwvjryt2_st6m0000gn/T/pip-install-xkyvudr3
1 location(s) to search for versions of v8eval:
* https://pypi.org/simple/v8eval/
Getting page https://pypi.org/simple/v8eval/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/v8eval/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/v8eval/ HTTP/1.1" 304 0
Analyzing links from page https://pypi.org/simple/v8eval/
  Found link https://files.pythonhosted.org/packages/11/22/b66c8c9030c10703240e8a9afbdf6e5e86c90e40b93dcd58e3b2cef73d55/v8eval-0.1.3.tar.gz#sha256=0d9246d4f2c2c5cfeb4c3785913c7597aaac557d3557dd1f53bd6d04fa11dab4 (from https://pypi.org/simple/v8eval/), version: 0.1.3
  Found link https://files.pythonhosted.org/packages/a4/0f/fdef40a9368eb6d74bf2460c701de0a363347866e351ee4938c7bdea6fb5/v8eval-0.1.4.tar.gz#sha256=21edc04916cf3cc9b30234e1785fb289a124c94e05689d6bed1bcd2c014f8dd3 (from https://pypi.org/simple/v8eval/), version: 0.1.4
  Found link https://files.pythonhosted.org/packages/45/34/75571c5b18be27fa9c630a0de1a8e439e4f720e75f124d534e4db43ae372/v8eval-0.2.1.zip#sha256=04fc1446a8dbe7a463864ea6a8d135c685360082ba76bd281d1ef35af313307c (from https://pypi.org/simple/v8eval/), version: 0.2.1
  Found link https://files.pythonhosted.org/packages/ba/2a/2b2583393c981628d537644e28af5e62e8b8fe8f8a85f781014cc16d283c/v8eval-0.2.2.tar.gz#sha256=ee7ccc1e3dc2f0e3969182c9097b69a0f5602cc5179a41995992383a6df5153e (from https://pypi.org/simple/v8eval/), version: 0.2.2
  Found link https://files.pythonhosted.org/packages/65/3c/4ab2931b4c9c9f809ccce89df7bd4e7816a52d884af198dfca33656717d4/v8eval-0.2.3.tar.gz#sha256=81b9335e8b69c8873eebb03dc5f1f018bb6e528a42320ce9f1bb957fcc32e18a (from https://pypi.org/simple/v8eval/), version: 0.2.3
  Found link https://files.pythonhosted.org/packages/4d/68/a267fe597ca97622ec9b5f1c72de046a0f4b2ea55cf23c3d6dd4c149222a/v8eval-0.2.4.tar.gz#sha256=a5d114ea522bd65dd385956e3bae699890cdfb0cbaa4177f5ea0155531dd9b47 (from https://pypi.org/simple/v8eval/), version: 0.2.4
  Found link https://files.pythonhosted.org/packages/1d/da/0b05105fd34c5cccc1984aaa3032b430ef4eb668673331c2d376c6da3bee/v8eval-0.2.5.tar.gz#sha256=fb927a9ea0ed7d5f5e0e7dfdaa88873d85eab335714ddeafcf50ecec2da6984c (from https://pypi.org/simple/v8eval/), version: 0.2.5
  Found link https://files.pythonhosted.org/packages/20/80/005b74301e3b15503f5abb158a0e893bb79fc0a45ece591c740805f474ae/v8eval-0.2.6.tar.gz#sha256=250b1dd81e3a83463539e9b8618aede004dfcf487768b2ef2cb3b57e24d9e793 (from https://pypi.org/simple/v8eval/), version: 0.2.6
  Found link https://files.pythonhosted.org/packages/c9/a1/c895d00dec239469d8e0ff7888c2ab06fecf12bf89b2164b18ade7373e79/v8eval-0.2.7.tar.gz#sha256=d85d1045b769cf92062694dcb8ba6ab7391bb0a1d6491c2c0c30530d9863aa6c (from https://pypi.org/simple/v8eval/), version: 0.2.7
  Found link https://files.pythonhosted.org/packages/ff/2b/b8df779e35938dfd6167cbfb519c0f883dc4f2373c3418c4ce2cd8eae2f5/v8eval-0.2.8.tar.gz#sha256=b30de29f4606227f11fdacd71100e4668daecd829ebed7cf5f653e220a315ec4 (from https://pypi.org/simple/v8eval/), version: 0.2.8
  Found link https://files.pythonhosted.org/packages/a5/7a/9ed5b827220f849df0190c9587352aa850d38e30280283c0b93cd189abb7/v8eval-0.2.9.tar.gz#sha256=c40ffac4a8481c8e84bf00208a9ce501bcb789f6f700a28afcf7f9041fbc7478 (from https://pypi.org/simple/v8eval/), version: 0.2.9
  Found link https://files.pythonhosted.org/packages/34/5d/44b04a8b0b829443653c7b816b99d42233c927785fd9f0f9d691424e650d/v8eval-0.2.10.tar.gz#sha256=f189932a9f8878355ceeecf6b3a649b53ecd2f787f4d33ebabf317e446675448 (from https://pypi.org/simple/v8eval/), version: 0.2.10
  Found link https://files.pythonhosted.org/packages/c7/43/7dc380bc0bb20e55c4ab06b49af18de6402d43736f0b2aa6311164bade74/v8eval-0.2.11.tar.gz#sha256=78f0a5d461cfcad1c6dca0f5cd98250ea9b37a0e17a07b3b2f17c93316bdc1d1 (from https://pypi.org/simple/v8eval/), version: 0.2.11
  Found link https://files.pythonhosted.org/packages/0c/db/658e498b3ae3c7036291bffba660c81f2c1168639997dfd65bd75ae0d03a/v8eval-0.3.0.tar.gz#sha256=2ea2c8c154ce89f805f03faded76f9154d69221239cabd70c1181337d1b3a172 (from https://pypi.org/simple/v8eval/), version: 0.3.0
Given no hashes to check 14 links for project 'v8eval': discarding no candidates
Using version 0.3.0 (newest of versions: 0.1.3, 0.1.4, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.2.10, 0.2.11, 0.3.0)
Collecting v8eval
  Created temporary directory: /private/var/folders/vk/gp0nzwzs3y5dwvjryt2_st6m0000gn/T/pip-unpack-2jo29jd6
  Looking up "https://files.pythonhosted.org/packages/0c/db/658e498b3ae3c7036291bffba660c81f2c1168639997dfd65bd75ae0d03a/v8eval-0.3.0.tar.gz" in the cache
  Current age based on date: 1426
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 1426
  Using cached https://files.pythonhosted.org/packages/0c/db/658e498b3ae3c7036291bffba660c81f2c1168639997dfd65bd75ae0d03a/v8eval-0.3.0.tar.gz
  Added v8eval from https://files.pythonhosted.org/packages/0c/db/658e498b3ae3c7036291bffba660c81f2c1168639997dfd65bd75ae0d03a/v8eval-0.3.0.tar.gz#sha256=2ea2c8c154ce89f805f03faded76f9154d69221239cabd70c1181337d1b3a172 to build tracker '/private/var/folders/vk/gp0nzwzs3y5dwvjryt2_st6m0000gn/T/pip-req-tracker-4qj2gdd3'
    Running setup.py (path:/private/var/folders/vk/gp0nzwzs3y5dwvjryt2_st6m0000gn/T/pip-install-xkyvudr3/v8eval/setup.py) egg_info for package v8eval
    Running command python setup.py egg_info
    Cloning into 'depot_tools'...
    WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.

[ruby] require 'v8eval' raises LoadError; native extension build error

code:

require 'v8eval'

exception:

/home/vagrant/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- v8eval/v8eval (LoadError)
    from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/v8eval-0.2.1/ruby/lib/v8eval.rb:2:in `<top (required)>'
    from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `require'
    from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    from /home/vagrant/.rbenv/versions/2.1.2/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'

Can't install on CentOS Linux release 7.4.1708

pip2 install v8eval
Collecting v8eval
Downloading v8eval-0.2.11.tar.gz
Installing collected packages: v8eval
Running setup.py install for v8eval ... error
Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;file='/tmp/pip-build-TEWePc/v8eval/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-qQQ3eJ-record/install-record.txt --single-version-externally-managed --compile:
/tmp/pip-build-TEWePc/v8eval/build.sh: line 96: cmake: command not found
make: *** No targets specified and no makefile found. Stop.
mkdir: cannot create directory β€˜/tmp/pip-build-TEWePc/v8eval/v8/buildtools/third_party/libc++/trunk/test/std/experimental/filesystem/Inputs/static_test_env/dne’: File exists
running install
running build
running build_py
creating build/lib.linux-x86_64-2.7
copying python/v8eval/v8eval.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_v8eval' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/tmp
creating build/temp.linux-x86_64-2.7/tmp/pip-build-TEWePc
creating build/temp.linux-x86_64-2.7/tmp/pip-build-TEWePc/v8eval
creating build/temp.linux-x86_64-2.7/tmp/pip-build-TEWePc/v8eval/python
creating build/temp.linux-x86_64-2.7/tmp/pip-build-TEWePc/v8eval/python/v8eval
/tmp/pip-build-TEWePc/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/tmp/pip-build-TEWePc/v8eval/v8 -I/tmp/pip-build-TEWePc/v8eval/v8/include -I/tmp/pip-build-TEWePc/v8eval/uv/include -I/usr/include/python2.7 -c /tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.linux-x86_64-2.7/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++11
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:557:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register size_t l = 0;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:558:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register size_t r = iter->size - 1;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:561:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register size_t i = (l + r) >> 1;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:564:4: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int compare = strcmp(name, iname);
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:608:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register size_t i = 0;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:627:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register const unsigned char *u = (unsigned char *) ptr;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:628:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register const unsigned char *eu = u + sz;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:630:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned char uu = *u;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:642:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned char *u = (unsigned char *) ptr;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:643:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register const unsigned char *eu = u + sz;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:645:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register char d = *(c++);
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:646:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register unsigned char uu;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:1323:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int i;
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:1333:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register Py_ssize_t l = PyTuple_GET_SIZE(args);
^~~~~~~~~
/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.cxx:1343:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register int i;
^~~~~~~~~
15 warnings generated.
/tmp/pip-build-TEWePc/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang++ -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/tmp/pip-build-TEWePc/v8eval/python/v8eval/v8eval_wrap.o -L/tmp/pip-build-TEWePc/v8eval/build -L/tmp/pip-build-TEWePc/v8eval/uv/.libs -L/tmp/pip-build-TEWePc/v8eval/v8/out/x64.release/obj.target/src -L/usr/lib64 -lv8eval -lv8eval_python -lv8_libplatform -lv8_base -lv8_libbase -lv8_libsampler -lv8_init -lv8_initializers -lv8_nosnapshot -luv -lrt -lpython2.7 -o build/lib.linux-x86_64-2.7/_v8eval.so
/usr/bin/ld: cannot find -lv8eval
/usr/bin/ld: cannot find -lv8eval_python
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/tmp/pip-build-TEWePc/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang++' failed with exit status 1

----------------------------------------

Command "/usr/bin/python2 -u -c "import setuptools, tokenize;file='/tmp/pip-build-TEWePc/v8eval/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-qQQ3eJ-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-TEWePc/v8eval/

getting `undefined: X_GoV8` on install

here is the final output of attempting to run ./go/build.sh install:

cd /Users/paetling/gc/gc/servertooth_go/src/github.com/sony/v8eval/go/v8eval
/usr/local/go/pkg/tool/darwin_amd64/compile -o $WORK/github.com/sony/v8eval/go/v8eval.a -trimpath $WORK -p github.com/sony/v8eval/go/v8eval -complete -buildid e5c9b41c69fd04b9e1a776f6ec77f19245d2ba69 -D _/Users/paetling/gc/gc/servertooth_go/src/github.com/sony/v8eval/go/v8eval -I $WORK -pack ./v8.go
# github.com/sony/v8eval/go/v8eval
./v8.go:36: undefined: X_GoV8
# github.com/sony/v8eval/go/v8eval
./v8.go:36: undefined: X_GoV8
FAIL    github.com/sony/v8eval/go/v8eval [build failed]

I am running on a mac with version 10.11.3 and have go version go1.5.1. I am not sure what is actually going wrong and am trying to investigate. But thought I would submit an issue to see if you had any suggestions or if there is anything obvious I am missing?

build fails on macos 10.15.7 with clang-1200.0.26.2

build

    /private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/v8 -I/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/v8/include -I/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/include/python3.7m -c /private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.macosx-10.14-x86_64-3.7/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++14 -stdlib=libc++
    clang: error: no such file or directory: '/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/python/v8eval/v8eval_wrap.cxx'
    clang: error: no input files
    error: command '/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang' failed with exit status 1
    Running setup.py install for v8eval ... error
ERROR: Command errored out with exit status 1: /Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/setup.py'"'"'; __file__='"'"'/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-record-hhcs216l/install-record.txt --single-version-externally-managed --compile --install-headers /Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/include/site/python3.7/v8eval Check the logs for full command output.
Exception information:
Traceback (most recent call last):
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 852, in install
    req_description=str(self.req),
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/operations/install/legacy.py", line 86, in install
    raise LegacyInstallFailure
pip._internal.operations.install.legacy.LegacyInstallFailure

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
    status = self.run(options, args)
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
    return func(self, options, args)
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 406, in run
    pycompile=options.compile,
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 90, in install_given_reqs
    pycompile=pycompile,
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 856, in install
    six.reraise(*exc.parent)
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_vendor/six.py", line 703, in reraise
    raise value
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/operations/install/legacy.py", line 76, in install
    cwd=unpacked_source_directory,
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 277, in runner
    spinner=spinner,
  File "/Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/lib/python3.7/site-packages/pip/_internal/utils/subprocess.py", line 242, in call_subprocess
    raise InstallationError(exc_msg)
pip._internal.exceptions.InstallationError: Command errored out with exit status 1: /Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/setup.py'"'"'; __file__='"'"'/private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-install-v4lbeoh6/v8eval/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/sn/2n950b_94vn937_vhhmp00q80000gp/T/pip-record-hhcs216l/install-record.txt --single-version-externally-managed --compile --install-headers /Users/fredericbazin/ws/atlas/scraping-facerecognition-scg-internal/venv/include/site/python3.7/v8eval Check the logs for full command output.

Proposal: Add option to set bind IP for debugger

My reading of this line is that currently the debugger only ever binds itself to 127.0.0.1. This is a sensible default, but it makes attaching a remote debugger to a running v8eval instance impossible without layering on additional tooling.

Would you be open to making this configurable, probably as a constructor to EnableDebugger? If so I might look into providing a patch.

Can't install on MacOS 10.11.6

Collecting v8eval Downloading v8eval-0.2.11.tar.gz Installing collected packages: v8eval Running setup.py install for v8eval ... error Complete output from command /usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-8TPEm_/v8eval/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-h03V6k-record/install-record.txt --single-version-externally-managed --compile: -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-build-8TPEm_/v8eval/build /usr/local/Cellar/cmake/3.4.1/bin/cmake -H/tmp/pip-build-8TPEm_/v8eval -B/tmp/pip-build-8TPEm_/v8eval/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/local/Cellar/cmake/3.4.1/bin/cmake -E cmake_progress_start /tmp/pip-build-8TPEm_/v8eval/build/CMakeFiles /tmp/pip-build-8TPEm_/v8eval/build/CMakeFiles/progress.marks /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/Makefile2 all /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/depend cd /tmp/pip-build-8TPEm_/v8eval/build && /usr/local/Cellar/cmake/3.4.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build/CMakeFiles/v8eval.dir/DependInfo.cmake --color= /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/build make[2]: Nothing to be done for CMakeFiles/v8eval.dir/build'. [ 33%] Built target v8eval /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/depend cd /tmp/pip-build-8TPEm_/v8eval/build && /usr/local/Cellar/cmake/3.4.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build/CMakeFiles/v8eval_go.dir/DependInfo.cmake --color= /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/build make[2]: Nothing to be done for CMakeFiles/v8eval_go.dir/build'. [ 55%] Built target v8eval_go /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/depend cd /tmp/pip-build-8TPEm_/v8eval/build && /usr/local/Cellar/cmake/3.4.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build/CMakeFiles/v8eval_python.dir/DependInfo.cmake --color= /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/build make[2]: Nothing to be done for CMakeFiles/v8eval_python.dir/build'. [ 77%] Built target v8eval_python /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/depend cd /tmp/pip-build-8TPEm_/v8eval/build && /usr/local/Cellar/cmake/3.4.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build /tmp/pip-build-8TPEm_/v8eval/build/CMakeFiles/v8eval_ruby.dir/DependInfo.cmake --color= /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/build make[2]: Nothing to be done for CMakeFiles/v8eval_ruby.dir/build'. [100%] Built target v8eval_ruby /usr/local/Cellar/cmake/3.4.1/bin/cmake -E cmake_progress_start /tmp/pip-build-8TPEm_/v8eval/build/CMakeFiles 0 sh: swig: command not found mkdir: /private/tmp/pip-build-8TPEm_/v8eval/v8/buildtools/third_party/libc++/trunk/test/std/experimental/filesystem/Inputs/static_test_env/dne: File exists running install running build running build_py creating build/lib.macosx-10.8-x86_64-2.7 copying python/v8eval/v8eval.py -> build/lib.macosx-10.8-x86_64-2.7 running build_ext building 'v8eval' extension creating build/temp.macosx-10.8-x86_64-2.7 creating build/temp.macosx-10.8-x86_64-2.7/private creating build/temp.macosx-10.8-x86_64-2.7/private/tmp creating build/temp.macosx-10.8-x86_64-2.7/private/tmp/pip-build-8TPEm creating build/temp.macosx-10.8-x86_64-2.7/private/tmp/pip-build-8TPEm_/v8eval creating build/temp.macosx-10.8-x86_64-2.7/private/tmp/pip-build-8TPEm_/v8eval/python creating build/temp.macosx-10.8-x86_64-2.7/private/tmp/pip-build-8TPEm_/v8eval/python/v8eval clang -fno-strict-aliasing -fno-common -dynamic -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/private/tmp/pip-build-8TPEm_/v8eval/v8 -I/private/tmp/pip-build-8TPEm_/v8eval/v8/include -I/private/tmp/pip-build-8TPEm_/v8eval/uv/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c /private/tmp/pip-build-8TPEm_/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.macosx-10.8-x86_64-2.7/private/tmp/pip-build-8TPEm_/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++11 clang: error: no such file or directory: '/private/tmp/pip-build-8TPEm_/v8eval/python/v8eval/v8eval_wrap.cxx' clang: error: no input files error: command 'clang' failed with exit status 1 ---------------------------------------- Command "/usr/local/opt/python/bin/python2.7 -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-8TPEm_/v8eval/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-h03V6k-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-8TPEm_/v8eval/

can't install library on ubuntu 17.10

sudo -H pip install v8eval==0.2.7
Collecting v8eval==0.2.7
Downloading v8eval-0.2.7.tar.gz
Building wheels for collected packages: v8eval
Running setup.py bdist_wheel for v8eval ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-EhSBm0/v8eval/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpqCKL2epip-wheel- --python-tag cp27:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-build-EhSBm0/v8eval/build
/usr/bin/cmake -H/tmp/pip-build-EhSBm0/v8eval -B/tmp/pip-build-EhSBm0/v8eval/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval_ruby.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_ruby.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[ 22%] Built target v8eval_ruby
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval_python.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_python.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[ 44%] Built target v8eval_python
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[ 77%] Built target v8eval
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval_go.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_go.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[100%] Built target v8eval_go
make[1]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
/usr/bin/cmake -E cmake_progress_start /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles 0
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-2.7
copying python/v8eval/v8eval.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_v8eval' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/tmp
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python/v8eval
/tmp/pip-build-EhSBm0/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/tmp/pip-build-EhSBm0/v8eval/v8 -I/tmp/pip-build-EhSBm0/v8eval/v8/include -I/tmp/pip-build-EhSBm0/v8eval/uv/include -I/usr/include/python2.7 -c /tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++11
In file included from /tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.cxx:173:
In file included from /usr/include/python2.7/Python.h:85:
/usr/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register PyObject obj, / Object */
^~~~~~~~~
/usr/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register PyObject obj / Object */
^~~~~~~~~
/usr/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register const wchar_t w, / wchar_t buffer */
^~~~~~~~~
/usr/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register wchar_t w, / wchar_t buffer */
^~~~~~~~~
In file included from /tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.cxx:173:
In file included from /usr/include/python2.7/Python.h:94:
/usr/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register PyObject obj, / string or Unicode object */
^~~~~~~~~
/usr/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register char *s, / pointer to buffer variable */
^~~~~~~~~
/usr/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register Py_ssize_t len / pointer to length variable or NULL
^~~~~~~~~
7 warnings generated.
/tmp/pip-build-EhSBm0/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.o -L/tmp/pip-build-EhSBm0/v8eval/build -L/tmp/pip-build-EhSBm0/v8eval/uv/.libs -L/tmp/pip-build-EhSBm0/v8eval/v8/out/x64.release/obj.target/src -lv8eval -lv8eval_python -lv8_libplatform -lv8_base -lv8_libbase -lv8_libsampler -lv8_nosnapshot -luv -lrt -o build/lib.linux-x86_64-2.7/_v8eval.so
/usr/bin/ld: cannot find -lv8_libplatform
/usr/bin/ld: cannot find -lv8_base
/usr/bin/ld: cannot find -lv8_libbase
/usr/bin/ld: cannot find -lv8_libsampler
/usr/bin/ld: cannot find -lv8_nosnapshot
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/tmp/pip-build-EhSBm0/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang++' failed with exit status 1


Failed building wheel for v8eval
Running setup.py clean for v8eval
Failed to build v8eval
Installing collected packages: v8eval
Running setup.py install for v8eval ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-EhSBm0/v8eval/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-4qaNKS-record/install-record.txt --single-version-externally-managed --compile:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/pip-build-EhSBm0/v8eval/build
/usr/bin/cmake -H/tmp/pip-build-EhSBm0/v8eval -B/tmp/pip-build-EhSBm0/v8eval/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval_ruby.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_ruby.dir/build.make CMakeFiles/v8eval_ruby.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_ruby.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[ 22%] Built target v8eval_ruby
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval_python.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_python.dir/build.make CMakeFiles/v8eval_python.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_python.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[ 44%] Built target v8eval_python
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval.dir/build.make CMakeFiles/v8eval.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[ 77%] Built target v8eval
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/depend
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
cd /tmp/pip-build-EhSBm0/v8eval/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles/v8eval_go.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
make -f CMakeFiles/v8eval_go.dir/build.make CMakeFiles/v8eval_go.dir/build
make[2]: Entering directory '/tmp/pip-build-EhSBm0/v8eval/build'
make[2]: Nothing to be done for 'CMakeFiles/v8eval_go.dir/build'.
make[2]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
[100%] Built target v8eval_go
make[1]: Leaving directory '/tmp/pip-build-EhSBm0/v8eval/build'
/usr/bin/cmake -E cmake_progress_start /tmp/pip-build-EhSBm0/v8eval/build/CMakeFiles 0
running install
running build
running build_py
creating build/lib.linux-x86_64-2.7
copying python/v8eval/v8eval.py -> build/lib.linux-x86_64-2.7
running build_ext
building '_v8eval' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/tmp
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python
creating build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python/v8eval
/tmp/pip-build-EhSBm0/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/tmp/pip-build-EhSBm0/v8eval/v8 -I/tmp/pip-build-EhSBm0/v8eval/v8/include -I/tmp/pip-build-EhSBm0/v8eval/uv/include -I/usr/include/python2.7 -c /tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.cxx -o build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.o -O3 -std=c++11
In file included from /tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.cxx:173:
In file included from /usr/include/python2.7/Python.h:85:
/usr/include/python2.7/unicodeobject.h:534:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register PyObject obj, / Object */
^~~~~~~~~
/usr/include/python2.7/unicodeobject.h:553:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register PyObject obj / Object */
^~~~~~~~~
/usr/include/python2.7/unicodeobject.h:575:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register const wchar_t w, / wchar_t buffer */
^~~~~~~~~
/usr/include/python2.7/unicodeobject.h:593:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register wchar_t w, / wchar_t buffer */
^~~~~~~~~
In file included from /tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.cxx:173:
In file included from /usr/include/python2.7/Python.h:94:
/usr/include/python2.7/stringobject.h:173:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register PyObject obj, / string or Unicode object */
^~~~~~~~~
/usr/include/python2.7/stringobject.h:174:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register char *s, / pointer to buffer variable */
^~~~~~~~~
/usr/include/python2.7/stringobject.h:175:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
register Py_ssize_t len / pointer to length variable or NULL
^~~~~~~~~
7 warnings generated.
/tmp/pip-build-EhSBm0/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-l1RrwO/python2.7-2.7.14=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/tmp/pip-build-EhSBm0/v8eval/python/v8eval/v8eval_wrap.o -L/tmp/pip-build-EhSBm0/v8eval/build -L/tmp/pip-build-EhSBm0/v8eval/uv/.libs -L/tmp/pip-build-EhSBm0/v8eval/v8/out/x64.release/obj.target/src -lv8eval -lv8eval_python -lv8_libplatform -lv8_base -lv8_libbase -lv8_libsampler -lv8_nosnapshot -luv -lrt -o build/lib.linux-x86_64-2.7/_v8eval.so
/usr/bin/ld: cannot find -lv8_libplatform
/usr/bin/ld: cannot find -lv8_base
/usr/bin/ld: cannot find -lv8_libbase
/usr/bin/ld: cannot find -lv8_libsampler
/usr/bin/ld: cannot find -lv8_nosnapshot
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/tmp/pip-build-EhSBm0/v8eval/v8/third_party/llvm-build/Release+Asserts/bin/clang++' failed with exit status 1

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-EhSBm0/v8eval/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-4qaNKS-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-EhSBm0/v8eval/

Installation fails on Ubuntu 19.04

The installation fails because of lack of support for ubuntu 19.04.
Output of pip install -v :

Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-342523-1.tgz .......... Done.
    ________ running 'vpython v8/build/util/lastchange.py -o v8/build/util/LASTCHANGE' in '/tmp/pip-install-anj8fnsu/v8eval'
    ERROR: The only supported distros are
     	Ubuntu 14.04 LTS (trusty)
     	Ubuntu 16.04 LTS (xenial)
     	Ubuntu 17.10 (artful)
     	Ubuntu 18.04 LTS (bionic)
     	Debian 8 (jessie) or later

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.