Errore come di seguito, quando seguo il passo dell'istruzione Getting Started with ARC Open Source on Linux. Il sistema operativo è Ubuntu 14.04 LTS in esecuzione in Hyper-V.Errore nella compilazione di Chromium ARC quando si configura
UBUNTU14:~/arc$ ./configure
ERROR:root:While running ['third_party/tools/depot_tools/third_party/gsutil/gsutil', 'cp', 'gs://arc-build/naclports/builds/pepper_40/python.zip', '/tmp/tmpUZ0IoK/naclports-python'] ERROR:root:GSResponseError: status=403, code=None, reason=Forbidden.ERROR:root:Try prodaccess, and if it does not solve the problem try rm ~/.devstore_token @@@[email protected]@@ ERROR:root:Retrying after 9 s sleeping Traceback (most recent call last): File "/home/fkiller/arc/src/build/build_common.py", line 938, in wrapper return func(*args, **kwargs) File "/home/fkiller/arc/src/build/util/download_package_util.py", line 243, in _download_package_with_retries self._download_method(url, download_package_path) File "/home/fkiller/arc/src/build/util/download_package_util.py", line 119, in _download build_common.get_gsutil_executable(), 'cp', url, destination_path]) File "/home/fkiller/arc/src/build/util/download_package_util.py", line 97, in execute_subprocess output = subprocess.check_output(cmd, cwd=cwd, stderr=subprocess.STDOUT) File "/usr/lib/python2.7/subprocess.py", line 573, in check_output raise CalledProcessError(retcode, cmd, output=output) CalledProcessError: Command '['third_party/tools/depot_tools/third_party/gsutil/gsutil', 'cp', 'gs://arc-build/naclports/builds/pepper_40/python.zip', '/tmp/tmpUZ0IoK/naclports-python']' returned non-zero exit status 1
Qualche idea per risolvere questo problema senza modificare lo script di build? Posso indicare manualmente python.zip da altre fonti come https://naclports.storage.googleapis.com/builds/pepper_40/trunk-147-g49eb4c9/publish/python/pnacl/python.zip, ma voglio costruirlo senza cambiare script.
Ho già provato a configurare gsutil e il suo autenticatore, ma non ha risolto il problema.
EDIT: Dopo @ Elia-taylor fissato ACL, ora sto ricevendo errori sotto
Traceback (most recent call last): File "src/build/configure.py", line 365, in sys.exit(main()) File "src/build/configure.py", line 347, in main _gclient_sync_third_party() File "src/build/configure.py", line 132, in _gclient_sync_third_party subprocess.check_output(cmd, cwd=os.path.dirname(gclient_filename)) File "/usr/lib/python2.7/subprocess.py", line 566, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) 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
Nella riga 132,
File "src/build/configure.py", line 132, in _gclient_sync_third_party
subprocess.check_output(cmd, cwd=os.path.dirname(gclient_filename))
gclient_filename è "THIRD_PARTY/.gclient" e os.path.dirname (gclient_filename) è "thrid_party".
Hai provato 'rm ~/.devstore_token'? Questo funziona bene per me: '~ depot_tools/third_party/gsutil/gsutil cp gs: //arc-build/naclports/builds/pepper_40/python.zip foo.zip'. –
Ho ottenuto 'rm: impossibile rimuovere '/home/xxx/.devstore_token': Nessun file o directory' – Minime
Sospetto che gli ACL possano essere configurati in modo errato, esaminandoli ... –