Patch file g:\code\chromium_git\cef\patch\patches\DEPS does

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Patch file g:\code\chromium_git\cef\patch\patches\DEPS does

Postby user6294 » Sun Mar 18, 2018 7:07 pm

Hi,

I'm trying to download CEF 3029 branch and chromium source code with the update.bat command containing:

python ..\automate\automate-git.py --download-dir=g:\code\chromium_git --depot-tools-dir=g:\code\depot_tools --branch=3029 --no-build

as per the instructions at : https://bitbucket.org/chromiumembedded/ ... QuickStart

Everything is fine until the "Syncing projects" phase where it attempts to do patching but finds
that g:\code\chromium_git\cef\patch\patches\DEPS file is missing:

[1:10:56] Still working on:
[1:10:56] src/v8
Syncing projects: 100% (82/82), done.
-------- Running "g:\code\depot_tools\git.bat config --get remote.origin.url" in "g:\code\chromium_git\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "g:\code\depot_tools\git.bat rev-parse HEAD" in "g:\code\chromium_git\chromium\src"...
-------- Running "g:\code\depot_tools\git.bat rev-parse refs/tags/58.0.3029.81" in "g:\code\chromium_git\chromium\src"...
--> Chromium Current Checkout: 29b26a4ba97065b4247debb2a5c759dacb8c5a88
--> Chromium Desired Checkout: 282d60fedefa2a065674798acbf1af61c127c8b6 (refs/tags/58.0.3029.81)
-------- Running "g:\code\depot_tools\git.bat fetch" in "g:\code\chromium_git\chromium\src"...
From https://chromium.googlesource.com/chromium/src
1fa1c441748d..29b26a4ba970 lkgr -> origin/lkgr
-------- Running "g:\code\depot_tools\git.bat fetch --tags" in "g:\code\chromium_git\chromium\src"...
-------- Running "g:\code\depot_tools\git.bat checkout refs/tags/58.0.3029.81" in "g:\code\chromium_git\chromium\src"...
Checking out files: 100% (212727/212727), done.
Previous HEAD position was 29b26a4ba970 mash: Remove use of InputMethodManager in Wayland server.
HEAD is now at 282d60fedefa Publish DEPS for Chromium 58.0.3029.81
--> Chromium DEPS file: g:\code\chromium_git\chromium\src\DEPS
-------- Running "g:\code\depot_tools\python.bat g:\code\chromium_git\cef\tools\patcher.py --patch-file "g:\code\chromium_git\cef\patch\patches\
DEPS" --patch-dir "g:\code\chromium_git\chromium\src"" in "g:\code\chromium_git\chromium\src"...
Traceback (most recent call last):
File "g:\code\chromium_git\cef\tools\patcher.py", line 84, in <module>
patch_file(options.patchfile, options.patchdir)
File "g:\code\chromium_git\cef\tools\patcher.py", line 29, in patch_file
raise Exception('Patch file %s does not exist.' % patch_file)
Exception: Patch file g:\code\chromium_git\cef\patch\patches\DEPS does not exist.
Traceback (most recent call last):
File "..\automate\automate-git.py", line 977, in <module>
apply_deps_patch()
File "..\automate\automate-git.py", line 277, in apply_deps_patch
chromium_src_dir), chromium_src_dir, depot_tools_dir)
File "..\automate\automate-git.py", line 55, in run
args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
File "G:\Python27\lib\subprocess.py", line 186, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['g:\\code\\depot_tools\\python.bat', 'g:\\code\\chromium_git\\cef\\tools\\patcher.py', '--patch-file',
'g:\\code\\chromium_git\\cef\\patch\\patches\\DEPS', '--patch-dir', 'g:\\code\\chromium_git\\chromium\\src']' returned non-zero exit status 1

Any help would be greatly appreciated.

Thank You
user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm

Re: Patch file g:\code\chromium_git\cef\patch\patches\DEPS d

Postby magreenblatt » Sun Mar 18, 2018 7:28 pm

Are you using the most up-to-date version of automate-git.py from master?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Patch file g:\code\chromium_git\cef\patch\patches\DEPS d

Postby user6294 » Sun Mar 18, 2018 7:43 pm

user6294
Mentor
 
Posts: 83
Joined: Sun Mar 18, 2018 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 94 guests