Eu fiz este comando para instalar depot_tools
:
cd /home/m/ '
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="$PATH:/home/m/depot_tools"
Depois fui para /home/m/depot_tools
e executei este comando:
%código%
Mas eu tenho esse resultado:
Running: gclient root
Your current directory appears to already contain, or be part of,
a checkout. "fetch" is used only to get new checkouts. Use
"gclient sync" to update existing checkouts.
Fetch also does not yet deal with partial checkouts, so if fetch
failed, delete the checkout and start over (crbug.com/230691).
Também quero saber depois de obter fetch v8
com sucesso para onde ele vai e como posso especificar este comando: V8
Também gosto de saber qual é o significado de --enable-javascript --with-v8-path=/path/to/v8
aqui?
Eu tentei checkout
e recebi:
Running depot tools as root is sad.
Syncing projects: 100% (23/23), done.
________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s v8/buildtools/linux64/clang-format.sha1' in '/home/m/depot_tools'
Failed to fetch file gs://chromium-clang-format/5349d1954e17f6ccafb6e6663b0f13cdb2bb33c8 for v8/buildtools/linux64/clang-format. [Err: Traceback (most recent call last):
File "/home/m/depot_tools/gsutil.py", line 182, in <module>
sys.exit(main())
File "/home/m/depot_tools/gsutil.py", line 179, in main
clean=args.clean)
File "/home/m/depot_tools/gsutil.py", line 128, in run_gsutil
gsutil_bin = ensure_gsutil(force_version, target, clean)
File "/home/m/depot_tools/gsutil.py", line 107, in ensure_gsutil
target_zip_filename = download_gsutil(version, instance_dir)
File "/home/m/depot_tools/gsutil.py", line 65, in download_gsutil
u = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
]
0> Failed to fetch file gs://chromium-clang-format/5349d1954e17f6ccafb6e6663b0f13cdb2bb33c8 for v8/buildtools/linux64/clang-format, skipping. [Err: Traceback (most recent call last):
File "/home/m/depot_tools/gsutil.py", line 182, in <module>
sys.exit(main())
File "/home/m/depot_tools/gsutil.py", line 179, in main
clean=args.clean)
File "/home/m/depot_tools/gsutil.py", line 128, in run_gsutil
gsutil_bin = ensure_gsutil(force_version, target, clean)
File "/home/m/depot_tools/gsutil.py", line 107, in ensure_gsutil
target_zip_filename = download_gsutil(version, instance_dir)
File "/home/m/depot_tools/gsutil.py", line 65, in download_gsutil
u = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
]
Downloading 1 files took 1.110490 second(s)
Error: Command 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s v8/buildtools/linux64/clang-format.sha1' returned non-zero exit status 1 in /home/m/depot_tools