roadlabs / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Windows: Build error using automate_git.py with newer branches #1533

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new checkout/build using automate_git.py

What is the expected output? What do you see instead?
The checkout/build should succeed. Instead, get the following error:

________ running 'D:\chromium\depot_tools\python276_bin\python.exe 
src/build/landmines.py' in 'D:\chromium\chromium'
Please follow the instructions at 
http://www.chromium.org/developers/how-tos/build-instructions-windows
Traceback (most recent call last):
  File "src/build/landmines.py", line 215, in <module>
    sys.exit(main())
  File "src/build/landmines.py", line 202, in main
    gyp_environment.SetEnvironment()
  File "D:\chromium\chromium\src\build\gyp_environment.py", line 33, in SetEnvironment
    vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
  File "D:\chromium\chromium\src\build\vs_toolchain.py", line 34, in SetEnvironmentAndGetRuntimeDllDirs
    Update()
  File "D:\chromium\chromium\src\build\vs_toolchain.py", line 179, in Update
    subprocess.check_call(get_toolchain_args)
  File "D:\chromium\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 
'['D:\\chromium\\depot_tools\\python276_bin\\python.exe', 
'D:\\chromium\\depot_to
ols\\win_toolchain\\get_toolchain_if_necessary.py', '--output-json', 
'D:\\chromium\\chromium\\src\\build\\win_toolchain.
json', 'ee7d718ec60c2dc5d255bbe325909c2021a7efef']' returned non-zero exit 
status 1
Error: Command D:\chromium\depot_tools\python276_bin\python.exe 
src/build/landmines.py returned non-zero exit status 1 i
n D:\chromium\chromium
Traceback (most recent call last):
  File ".\automate-git.py", line 842, in <module>
    chromium_dir, depot_tools_dir)
  File ".\automate-git.py", line 74, in run
    shell=(sys.platform == 'win32'))
  File "d:\Dropbox\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', 
'--with_branch_heads', '--jobs', '16']' returned non-zero ex
it status 2

Please use labels and text to provide additional information.
To avoid this error the DEPOT_TOOLS_WIN_TOOLCHAIN=0 environment variable must 
be set.

Related forum post: http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=12506

Original issue reported on code.google.com by magreenb...@gmail.com on 12 Feb 2015 at 5:41

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/1533

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:37