Trying to fetch v8 in windows

270 views
Skip to first unread message

Zac Hansen

unread,
Apr 15, 2016, 2:52:45 AM4/15/16
to v8-users
I cloned depot_tools, put it in my path, run "fetch v8" and it runs for a while and then I get the error below.  Any idea what I'm doing wrong?

C:\Users\xaxxon\deleteme>fetch v8
Running: 'c:\Users\xaxxon\depot_tools\python276_bin\python.exe' 'c:\Users\xaxxon\depot_tools\gclient.py' root
Running: 'c:\Users\xaxxon\depot_tools\python276_bin\python.exe' 'c:\Users\xaxxon\depot_tools\gclient.py' config --spec 'solutions = [
  {
    "managed": False,
    "name": "v8",
    "custom_deps": {},
    "deps_file": "DEPS",
    "safesync_url": "",
  },
]
'
Running: 'c:\Users\xaxxon\depot_tools\python276_bin\python.exe' 'c:\Users\xaxxon\depot_tools\gclient.py' sync --with_branch_heads
Error: Command 'c:\\Users\\xaxxon\\depot_tools\\python276_bin\\python.exe v8/build/landmines.py' returned non-zero exit status 1 in C:\Users\xaxxon\deleteme
Traceback (most recent call last):
  File "c:\Users\xaxxon\depot_tools\\fetch.py", line 346, in <module>
    sys.exit(main())
  File "c:\Users\xaxxon\depot_tools\\fetch.py", line 341, in main
    return run(options, spec, root)
  File "c:\Users\xaxxon\depot_tools\\fetch.py", line 335, in run
    return checkout.init()
  File "c:\Users\xaxxon\depot_tools\\fetch.py", line 142, in init
    self.run_gclient(*sync_cmd)
  File "c:\Users\xaxxon\depot_tools\\fetch.py", line 76, in run_gclient
    return self.run(cmd_prefix + cmd, **kwargs)
  File "c:\Users\xaxxon\depot_tools\\fetch.py", line 66, in run
    return subprocess.check_output(cmd, **kwargs)
  File "c:\Users\xaxxon\depot_tools\python276_bin\lib\subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '('c:\\Users\\xaxxon\\depot_tools\\python276_bin\\python.exe', 'c:\\Users\\xaxxon\\depot_tools\\gclient.py', 'sync', '--with_branch_heads')' returned non-zero exit status 2

C:\Users\xaxxon\deleteme>fetch v8



Ben Noordhuis

unread,
Apr 15, 2016, 3:04:33 AM4/15/16
to v8-users
Do you have a v8 directory afterwards? I've seen similar landmines
errors when checking out chromium but I did end up with a checkout;
running `gclient sync` in the new directory put it in a working state.

Zac Hansen

unread,
Apr 15, 2016, 3:41:28 AM4/15/16
to v8-u...@googlegroups.com
I did the DEPOT_TOOLS_WIN_TOOLCHAIN=0 thing before starting fetch v8 in a clean directory and that got rid of the error..

I downloaded python 2.7.11 off python.org, put that in my path and then ran python build\gyp_v8 as described here:


Right now I'm trying a build in the latest version of visual studio, but I think maybe that isn't expected to work.





--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/E6npi76f4N8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages