for the last couple of days I've been trying to build CEF. I've use the automate git python script and I get different errors so I decided to go step by step doing the manual downloading for release branch in here:
https://bitbucket.org/chromiumembedded/ ... uilding.md
So:
fetch --nohooks chromium <-- Worked ok
cd /path/to/chromium/src
gclient sync --nohooks --with_branch_heads
git fetch
git fetch --tags <-- Worked ok
git checkout refs/tags/57.0.2987.133 <-- Worked great
gclient sync --jobs 16 <-- Fails. This is the error:
- Code: Select all
gclient sync --jobs 16
Syncing projects: 98% (81/82) src/third_party/freetype-android/src
src/third_party/skia (ERROR)
----------------------------------------
[0:00:06] Started.
_____ src/third_party/skia at ae9cc5d3588d52f4b371b55845704b25d88cf06d
----------------------------------------
Traceback (most recent call last):
File "/home/edgardog/Code/chrome2987/depot_tools/gclient.py", line 2295, in <module>
sys.exit(main(sys.argv[1:]))
File "/home/edgardog/Code/chrome2987/depot_tools/gclient.py", line 2281, in main
return dispatcher.execute(OptionParser(), argv)
File "/home/edgardog/Code/chrome2987/depot_tools/subcommand.py", line 252, in execute
return command(parser, args[1:])
File "/home/edgardog/Code/chrome2987/depot_tools/gclient.py", line 2030, in CMDsync
ret = client.RunOnDeps('update', args)
File "/home/edgardog/Code/chrome2987/depot_tools/gclient.py", line 1340, in RunOnDeps
work_queue.flush(revision_overrides, command, args, options=self._options)
File "/home/edgardog/Code/chrome2987/depot_tools/gclient_utils.py", line 1047, in run
self.item.run(*self.args, **self.kwargs)
File "/home/edgardog/Code/chrome2987/depot_tools/gclient.py", line 766, in run
self.ParseDepsFile()
File "/home/edgardog/Code/chrome2987/depot_tools/gclient.py", line 562, in ParseDepsFile
gclient_eval.Check(deps_content, filepath, global_scope, local_scope)
File "/home/edgardog/Code/chrome2987/depot_tools/gclient_eval.py", line 240, in Check
result_scope = _gclient_exec(content, global_scope, filename=path)
File "/home/edgardog/Code/chrome2987/depot_tools/gclient_eval.py", line 185, in _gclient_exec
_visit_in_module(stmt)
File "/home/edgardog/Code/chrome2987/depot_tools/gclient_eval.py", line 181, in _visit_in_module
getattr(node, 'lineno', '<unknown>')))
ValueError: unexpected AST node: <_ast.Import object at 0x7f7eecef4bd0> Import(names=[alias(name='os', asname=None)]) (file '/home/edgardog/Code/chrome2987/src/third_party/skia/DEPS', line 51)
Any clue on what should I try next?
Thanks
Ps: I'm using a schrooted trusty64 bits environment running on Ubuntu 16.04 64 bits. I have use this same schroot environment earlier this year (March) to build this branch and it worked. The reason why I'm rebuilding it is due to the bug on print to pdf. I still have all the code I used to build originally and I could manually patch the bug and move on, but I wonder why I can't build the branch again (downloading everything again) or build a newer branch.