I trying to build CEF from source code.
My main goal is build CEF with proprietary codecs (h264/h265) supporting.
But I can't clone CEF in base configuration.
- Code: Select all
python automate-git.py --download-dir=F:\cef\chromium_git --depot-tools-dir=F:\cef\depot_tools --branch=4240 --no-build --no-distrib --force-clean
Full output
- Code: Select all
F:\cef>python automate-git.py --download-dir=F:\cef\chromium_git --depot-tools-dir=F:\cef\depot_tools --branch=4240 --no-build --no-distrib --force-clean
--> Download Directory: F:\cef\chromium_git
--> Depot Tools Directory: F:\cef\depot_tools
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "F:\cef\depot_tools"...
--> Removing directory F:\cef\chromium_git\cef
--> CEF Branch: 4240
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: F:\cef\chromium_git\cef
-------- Running "F:\cef\depot_tools\git.bat clone https://bitbucket.org/chromiumembedded/cef.git F:\cef\chromium_git\cef" in "F:\cef\chromium_git"...
Cloning into 'F:\cef\chromium_git\cef'...
Receiving objects: 100% (70891/70891), 28.56 MiB | 11.60 MiB/s, done.
Resolving deltas: 100% (60138/60138), done.
-------- Running "F:\cef\depot_tools\git.bat rev-parse HEAD" in "F:\cef\chromium_git\cef"...
-------- Running "F:\cef\depot_tools\git.bat rev-parse origin/4240" in "F:\cef\chromium_git\cef"...
--> CEF Current Checkout: 07bc800f0080f62e0d299d3e1a878510085bebc3
--> CEF Desired Checkout: 85e79d418db1999bb22fdead4c178e1b0694bb4c (origin/4240)
-------- Running "F:\cef\depot_tools\git.bat checkout --force origin/4240" in "F:\cef\chromium_git\cef"...
Note: switching to 'origin/4240'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 85e79d418 Update to Chromium version 86.0.4240.198
--> Reading F:\cef\chromium_git\cef\CHROMIUM_BUILD_COMPATIBILITY.txt
-------- Running "F:\cef\depot_tools\git.bat checkout --force 5dba9c97fb" in "F:\cef\depot_tools"...
Previous HEAD position was 650f853c Disable print for git for-each-ref in git_cache
HEAD is now at 5dba9c97 Pass large -j value to ninja when use_rbe = true
--> CEF Output Directory: F:\cef\chromium_git\out_4240
-------- Running "F:\cef\depot_tools\git.bat config --get remote.origin.url" in "F:\cef\chromium_git\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "F:\cef\depot_tools\git.bat fetch" in "F:\cef\chromium_git\chromium\src"...
remote: Finding sources: 100% (5115/5115)
remote: Total 5115 (delta 1633), reused 4494 (delta 1633)
Receiving objects: 100% (5115/5115), 22.00 MiB | 16.69 MiB/s, done.
Resolving deltas: 100% (1633/1633), completed with 685 local objects.
From https://chromium.googlesource.com/chromium/src
0970bb2d96541..7c46fde7fcfbb lkgr -> origin/lkgr
d5ca8e2e14cbd..91685a8a37903 lkgr-android-internal -> origin/lkgr-android-internal
5a60b623c0692..d5c9e0a1568bc main -> origin/main
5a60b623c0692..d5c9e0a1568bc master -> origin/master
a0e85d5212e34..4e30c5d92be7e refs/branch-heads/4515 -> branch-heads/4515
72e0823d9193b..23387e3403762 refs/branch-heads/4577 -> branch-heads/4577
c03dd9db7b432..d142c0eb7c891 refs/branch-heads/4606 -> branch-heads/4606
5479cabec3395..5cb28462a3ee9 refs/branch-heads/4638 -> branch-heads/4638
94bcc1d116adc..e6cc1e7600718 refs/branch-heads/4664 -> branch-heads/4664
8e89e81925cc5..7590e8b0cf43f refs/branch-heads/4673 -> branch-heads/4673
-------- Running "F:\cef\depot_tools\git.bat fetch --tags" in "F:\cef\chromium_git\chromium\src"...
remote: Finding sources: 100% (21/21)
remote: Total 21 (delta 14), reused 21 (delta 14)
Unpacking objects: 100% (21/21), 4.66 KiB | 6.00 KiB/s, done.
From https://chromium.googlesource.com/chromium/src
* [new tag] 93.0.4577.122 -> 93.0.4577.122
* [new tag] 94.0.4606.104 -> 94.0.4606.104
* [new tag] 95.0.4638.57 -> 95.0.4638.57
* [new tag] 96.0.4664.14 -> 96.0.4664.14
* [new tag] 96.0.4664.15 -> 96.0.4664.15
* [new tag] 97.0.4673.2 -> 97.0.4673.2
* [new tag] 97.0.4673.3 -> 97.0.4673.3
-------- Running "F:\cef\depot_tools\git.bat rev-parse HEAD" in "F:\cef\chromium_git\chromium\src"...
-------- Running "F:\cef\depot_tools\git.bat rev-parse refs/tags/86.0.4240.198" in "F:\cef\chromium_git\chromium\src"...
--> Chromium Current Checkout: 5a60b623c0692654bb2c7ce8e8a94ac0481bc648
--> Chromium Desired Checkout: 5f8e74b8f1dab431a1a57d84101185f0e8da33d4 (refs/tags/86.0.4240.198)
-------- Running "gclient revert --nohooks" in "F:\cef\chromium_git\chromium"...
Syncing projects: 100% ( 1/ 1) src
src (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
Traceback (most recent call last):
File "F:\cef\depot_tools\metrics.py", line 267, in print_notice_and_exit
yield
File "F:\cef\depot_tools\gclient.py", line 3195, in <module>
sys.exit(main(sys.argv[1:]))
File "F:\cef\depot_tools\gclient.py", line 3181, in main
return dispatcher.execute(OptionParser(), argv)
File "F:\cef\depot_tools\subcommand.py", line 252, in execute
return command(parser, args[1:])
File "F:\cef\depot_tools\gclient.py", line 2817, in CMDrevert
return client.RunOnDeps('revert', args)
File "F:\cef\depot_tools\gclient.py", line 1779, in RunOnDeps
work_queue.flush(revision_overrides, command, args, options=self._options,
File "F:\cef\depot_tools\gclient_utils.py", line 965, in flush
reraise(e[0], e[1], e[2])
File "F:\cef\depot_tools\gclient_utils.py", line 67, in reraise
raise value
File "F:\cef\depot_tools\gclient_utils.py", line 1042, in run
self.item.run(*self.args, **self.kwargs)
File "F:\cef\depot_tools\gclient.py", line 953, in run
self.ParseDepsFile()
File "F:\cef\depot_tools\gclient.py", line 792, in ParseDepsFile
deps_to_add = self._deps_to_objects(
File "F:\cef\depot_tools\gclient.py", line 643, in _deps_to_objects
should_process = should_process and gclient_eval.EvaluateCondition(
File "F:\cef\depot_tools\gclient_eval.py", line 626, in EvaluateCondition
return _convert(main_node)
File "F:\cef\depot_tools\gclient_eval.py", line 561, in _convert
return EvaluateCondition(
File "F:\cef\depot_tools\gclient_eval.py", line 626, in EvaluateCondition
return _convert(main_node)
File "F:\cef\depot_tools\gclient_eval.py", line 593, in _convert
value = _convert(node.operand)
File "F:\cef\depot_tools\gclient_eval.py", line 586, in _convert
bool_values.append(_convert(value))
File "F:\cef\depot_tools\gclient_eval.py", line 608, in _convert
left = _convert(node.left)
File "F:\cef\depot_tools\gclient_eval.py", line 561, in _convert
return EvaluateCondition(
File "F:\cef\depot_tools\gclient_eval.py", line 537, in EvaluateCondition
main_node = ast.parse(condition, mode='eval')
File "F:\cef\depot_tools\bootstrap-2@3_8_10_chromium_20_bin\python3\bin\Lib\ast.py", line 47, in parse
return compile(source, filename, mode, flags,
File "<unknown>", line 0
^
SyntaxError: unexpected EOF while parsing
Traceback (most recent call last):
File "automate-git.py", line 1367, in <module>
run("gclient revert --nohooks", chromium_dir, depot_tools_dir)
File "automate-git.py", line 70, in run
args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
File "F:\cef\depot_tools\bootstrap-2@3_8_10_chromium_20_bin\python\bin\lib\subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'revert', '--nohooks']' returned non-zero exit status 1