you should use this post as follow.http://www.idom.me/articles/843.html

On Tuesday, January 10, 2017 at 10:53:40 AM UTC+8, li he wrote:
>
> my system is ubuntu 14, 
> i have followed the steps in 
> https://github.com/v8/v8/wiki/Building%20from%20Source
>
> but an error was encountered when i running `fetch v8`, the error list 
> here:
>
> ~/V8$ fetch v8
> 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": {},
>   },
> ]
> '
> Running: gclient sync --with_branch_heads
> Error: Command '/usr/bin/python 
> v8/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' 
> returned non-zero exit status 1 in /home/duoyi/V8
> Traceback (most recent call last):
>   File "/home/duoyi/V8/depot_tools/fetch.py", line 300, in <module>
>     sys.exit(main())
>   File "/home/duoyi/V8/depot_tools/fetch.py", line 295, in main
>     return run(options, spec, root)
>   File "/home/duoyi/V8/depot_tools/fetch.py", line 289, in run
>     return checkout.init()
>   File "/home/duoyi/V8/depot_tools/fetch.py", line 132, in init
>     self.run_gclient(*sync_cmd)
>   File "/home/duoyi/V8/depot_tools/fetch.py", line 76, in run_gclient
>     return self.run(cmd_prefix + cmd, **kwargs)
>   File "/home/duoyi/V8/depot_tools/fetch.py", line 66, in run
>     return subprocess.check_output(cmd, **kwargs)
>   File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
>     raise CalledProcessError(retcode, cmd, output=output)
> subprocess.CalledProcessError: Command '('gclient', 'sync', 
> '--with_branch_heads')' returned non-zero exit status 2
>
> suggestion for this problem on internet is install curl or run gclient 
> sync in v8 directory:
> https://groups.google.com/forum/#!topic/v8-users/tHwdU_efJr8
> but neither of them solved this problem.
>
> the following is the error information when i run `gclient sync`
>
> Downloading 
> https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/165d7c5a152048a7ca8f55c44e0c2efae90d93dd/debian_wheezy_amd64_sysroot.tgz
> Failed to download 
> https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/165d7c5a152048a7ca8f55c44e0c2efae90d93dd/debian_wheezy_amd64_sysroot.tgz
> Error: Command '/usr/bin/python 
> v8/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' 
> returned non-zero exit status 1 in /home/duoyi/V8
>
>
> any one know what should i do to solve this matter? 
> thanks
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to