yeah, after I installed curl, problem solved, thanks! 在 2016年7月29日星期五 UTC+8下午1:36:03,Jochen Eisinger写道: > > I wonder whether you have curl installed? > > On Thu, Jul 28, 2016 at 6:53 PM chaony <[email protected] <javascript:>> > wrote: > >> Hi, >> I want to try v8 engine in my project, but it seems something wrong. >> I do it in following way: >> >> 1. git clone: git clone >> https://chromium.googlesource.com/chromium/tools/depot_tools.git >> 2. export path: export PATH=`pwd`/depot_tools:"$PATH” >> 3. fetch v8 with error: >> >> fetch v8 >> Running: gclient root >> Running: gclient config --spec 'solutions = [ >> { >> "managed": False, >> "name": "v8", >> "url": "https://chromium.googlesource.com/v8/v8.git", >> "custom_deps": {}, >> "deps_file": "DEPS", >> "safesync_url": "", >> }, >> ] >> ' >> 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 /root >> Traceback (most recent call last): >> File "/root/depot_tools/fetch.py", line 353, in <module> >> sys.exit(main()) >> File "/root/depot_tools/fetch.py", line 348, in main >> return run(options, spec, root) >> File "/root/depot_tools/fetch.py", line 342, in run >> return checkout.init() >> File "/root/depot_tools/fetch.py", line 142, in init >> self.run_gclient(*sync_cmd) >> File "/root/depot_tools/fetch.py", line 76, in run_gclient >> return self.run(cmd_prefix + cmd, **kwargs) >> File "/root/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 >> >> 4. Then I try gclient sync >> >> Running depot tools as root is sad. >> .gclient file in parent directory /root might not be the file you want to >> use >> Syncing projects: 100% (22/22), done. >> >> ________ running '/usr/bin/python v8/gypfiles/landmines.py' in '/root' >> >> ________ running 'download_from_google_storage --no_resume >> --platform=win32 --no_auth --bucket chromium-clang-format -s >> v8/buildtools/win/clang-format.exe.sha1' in '/root' >> The current platform doesn't match "win32", skipping. >> >> ________ running 'download_from_google_storage --no_resume >> --platform=darwin --no_auth --bucket chromium-clang-format -s >> v8/buildtools/mac/clang-format.sha1' in '/root' >> The current platform doesn't match "darwin", skipping. >> >> ________ running 'download_from_google_storage --no_resume >> --platform=linux* --no_auth --bucket chromium-clang-format -s >> v8/buildtools/linux64/clang-format.sha1' in '/root' >> 0> File v8/buildtools/linux64/clang-format exists and SHA1 matches. >> Skipping. >> Success! >> Downloading 1 files took 0.004160 second(s) >> >> ________ running '/usr/bin/python >> v8/tools/gcmole/download_gcmole_tools.py' in '/root' >> Skipping gcmole download as gcmole is not set in gyp flags. >> >> ________ running '/usr/bin/python >> v8/tools/jsfunfuzz/download_jsfunfuzz.py' in '/root' >> Skipping jsfunfuzz download as jsfunfuzz is not set in gyp flags. >> >> ________ running 'download_from_google_storage --no_resume >> --platform=win32 --no_auth --bucket chromium-luci -d >> v8/tools/luci-go/win64' in '/root' >> The current platform doesn't match "win32", skipping. >> >> ________ running 'download_from_google_storage --no_resume >> --platform=darwin --no_auth --bucket chromium-luci -d >> v8/tools/luci-go/mac64' in '/root' >> The current platform doesn't match "darwin", skipping. >> >> ________ running 'download_from_google_storage --no_resume >> --platform=linux* --no_auth --bucket chromium-luci -d >> v8/tools/luci-go/linux64' in '/root' >> >> ▽ >> 0> File v8/tools/luci-go/linux64/isolate exists and SHA1 matches. >> Skipping. >> Success! >> Downloading 1 files took 0.023040 second(s) >> >> ________ running 'download_from_google_storage --no_resume >> --platform=win32 --no_auth --bucket chromium-gn -s >> v8/buildtools/win/gn.exe.sha1' in '/root' >> The current platform doesn't match "win32", skipping. >> >> ________ running 'download_from_google_storage --no_resume >> --platform=darwin --no_auth --bucket chromium-gn -s >> v8/buildtools/mac/gn.sha1' in '/root' >> The current platform doesn't match "darwin", skipping. >> >> ________ running 'download_from_google_storage --no_resume >> --platform=linux* --no_auth --bucket chromium-gn -s >> v8/buildtools/linux64/gn.sha1' in '/root' >> 0> File v8/buildtools/linux64/gn exists and SHA1 matches. Skipping. >> Success! >> Downloading 1 files took 0.004107 second(s) >> >> ________ running '/usr/bin/python >> v8/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' in >> '/root' >> Installing Debian Wheezy amd64 root image: >> /root/v8/build/linux/debian_wheezy_amd64-sysroot >> Downloading >> https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/c52471d9dec240c8d0a88fa98aa1eefeee32e22f/debian_wheezy_amd64_sysroot.tgz >> Traceback (most recent call last): >> File "v8/build/linux/sysroot_scripts/install-sysroot.py", line 232, in >> <module> >> sys.exit(main(sys.argv[1:])) >> File "v8/build/linux/sysroot_scripts/install-sysroot.py", line 153, in >> main >> InstallDefaultSysroots() >> File "v8/build/linux/sysroot_scripts/install-sysroot.py", line 127, in >> InstallDefaultSysroots >> InstallSysroot(host_arch) >> File "v8/build/linux/sysroot_scripts/install-sysroot.py", line 218, in >> InstallSysroot >> ['curl', '--fail', '--retry', '3', '-L', url, '-o', tarball]) >> File "/usr/lib/python2.7/subprocess.py", line 535, in check_call >> retcode = call(*popenargs, **kwargs) >> File "/usr/lib/python2.7/subprocess.py", line 522, in call >> return Popen(*popenargs, **kwargs).wait() >> File "/usr/lib/python2.7/subprocess.py", line 710, in __init__ >> errread, errwrite) >> File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child >> raise child_exception >> OSError: [Errno 2] No such file or directory >> Error: Command '/usr/bin/python >> v8/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' >> returned non-zero exit status 1 in /root >> >> Here is my os info: Linux iZ62crzth6gZ 3.13.0-65-generic #106-Ubuntu SMP >> Fri Oct 2 22:08:27 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux >> I spent almost one day try to get it work, but failed, I also try find >> the answer from google, but still failed, can anyone give me some clue, >> Thanks! >> >> -- >> -- >> v8-users mailing list >> [email protected] <javascript:> >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> >
-- -- 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.
