DescriptionFixed sync on OS X v10.6 (Snow Leopard).
'gclient sync' tries to find 10.6 SDK on Mac OS X, but on Mac OS X
v10.6.8 (Snow Leopard) it fails with the error which looks like as
follows:
________ running '/usr/bin/python src/build/gyp_chromium' in '...'
2014-02-09 10:43:53.719 gn[61547:903] *** __NSAutoreleaseNoPool(): Object 0x20ca20 of class NSThread autoreleased with no pool in place - just leaking
ERROR at //build/config/mac/mac_sdk.gni:24:5: Script returned non-zero exit code.
exec_script("//build/mac/find_sdk.py", find_sdk_args, "list lines")
^----------
Current dir: /Users/vm/Projects/src/out/gn_build.Release/
Command: python /Users/vm/Projects/src/build/mac/find_sdk.py --print_sdk_path 10.6
Returned 1.
The thing is Mac OS X v10.6.8 was shipped with Python 2.6.1, for which
subprosess.check_output is not defined, since it appeared starting from
Python 2.7, so it has been changed to subprosess.Popen
R=brettw@chromium.org
BUG=
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|