Now I created a clean build environment (schroot trusty 64 clean), installed the install-build-deps.sh, them ran:
python automate-git.py --download-dir=/home/edgardog/chroot/chrome3029/code/ --branch=3029 --x64-build
and got this error:
- Code: Select all
src/third_party/skia (ERROR)
----------------------------------------
[0:00:06] Started.
_____ src/third_party/skia at 4c81ba6ba3a3270db809bf7d4c3bc782694a56a4
----------------------------------------
Traceback (most recent call last):
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient.py", line 2295, in <module>
sys.exit(main(sys.argv[1:]))
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient.py", line 2281, in main
return dispatcher.execute(OptionParser(), argv)
File "/home/edgardog/chroot/chrome3029/code/depot_tools/subcommand.py", line 252, in execute
return command(parser, args[1:])
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient.py", line 2030, in CMDsync
ret = client.RunOnDeps('update', args)
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient.py", line 1340, in RunOnDeps
work_queue.flush(revision_overrides, command, args, options=self._options)
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient_utils.py", line 1047, in run
self.item.run(*self.args, **self.kwargs)
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient.py", line 766, in run
self.ParseDepsFile()
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient.py", line 562, in ParseDepsFile
gclient_eval.Check(deps_content, filepath, global_scope, local_scope)
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient_eval.py", line 240, in Check
result_scope = _gclient_exec(content, global_scope, filename=path)
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient_eval.py", line 185, in _gclient_exec
_visit_in_module(stmt)
File "/home/edgardog/chroot/chrome3029/code/depot_tools/gclient_eval.py", line 181, in _visit_in_module
getattr(node, 'lineno', '<unknown>')))
ValueError: unexpected AST node: <_ast.Import object at 0x7f306f54fc50> Import(names=[alias(name='os', asname=None)]) (file u'/home/edgardog/chroot/chrome3029/code/chromium/src/third_party/skia/DEPS', line 53)
Traceback (most recent call last):
File "automate-git.py", line 967, in <module>
chromium_dir, depot_tools_dir)
File "automate-git.py", line 55, in run
args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', '--with_branch_heads', '--jobs', '16']' returned non-zero exit status 1
Seems like something is wrong with that skia DEPS file. There are no other errors that I can see printed before.
I'm basically following: https://bitbucket.org/chromiumembedded/ ... uilding.md
I don't think I'm doing something wrong and I've done this several times before and never ran into this issue. I've use the schroot environment to cross compile for 32 bits before and also to build a 64 bit build (2987) a couple of months ago, and did not have any problems.
Any help would be appreciated.
Thanks