Issue metadata
Sign in to add a comment
|
"fetch chromium" fails on Mac |
||||||||||||||||||||||||
Issue description
However, "fetch --nohooks chromium" works fine.
The error I see is:
avayvod-macbookpro2:chromium avayvod$ fetch chromium
Running: gclient root
Running: gclient config --spec 'solutions = [
{
"url": "https://chromium.googlesource.com/chromium/src.git",
"managed": False,
"name": "src",
"deps_file": ".DEPS.git",
"custom_deps": {},
},
]
'
Running: gclient sync
Error: Command '/usr/bin/python src/build/mac_toolchain.py' returned non-zero exit status 1 in /Users/avayvod/src/chromium
Traceback (most recent call last):
File "/Users/avayvod/src/depot_tools/fetch.py", line 300, in <module>
sys.exit(main())
File "/Users/avayvod/src/depot_tools/fetch.py", line 295, in main
return run(options, spec, root)
File "/Users/avayvod/src/depot_tools/fetch.py", line 289, in run
return checkout.init()
File "/Users/avayvod/src/depot_tools/fetch.py", line 132, in init
self.run_gclient(*sync_cmd)
File "/Users/avayvod/src/depot_tools/fetch.py", line 76, in run_gclient
return self.run(cmd_prefix + cmd, **kwargs)
File "/Users/avayvod/src/depot_tools/fetch.py", line 66, in run
return subprocess.check_output(cmd, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '('gclient', 'sync')' returned non-zero exit status 2
,
Nov 23 2016
,
Nov 23 2016
I need to update the checkout/build documentation.
,
Nov 23 2016
Re: #1 I see the following _actionable_ error when running gclient runhooks: ________ running '/usr/bin/python src/build/mac_toolchain.py' in '/Users/avayvod/src/chromium' You are attempting to access protected data with no configured credentials. Please visit https://cloud.google.com/console#/project and sign up for an account, and then run the "gsutil config" command to configure gsutil to use these credentials. Access to gs://chrome-mac-sdk/ not configured. ----------------------------------------------------------------- You appear to be a Googler. I'm sorry for the hassle, but you need to do a one-time manual authentication. Please run: download_from_google_storage --config and follow the instructions. NOTE 1: Use your google.com credentials, not chromium.org. NOTE 2: Enter 0 when asked for a "project-id". ----------------------------------------------------------------- Error: Command '/usr/bin/python src/build/mac_toolchain.py' returned non-zero exit status 1 in /Users/avayvod/src/chromium That would be great to see when the fetch command fails instead of the generic message it outputs. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by dpranke@chromium.org
, Nov 23 2016Components: Build