Building old CEF 5414 failed : gclient 'returned non-zero'

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.

Re: Building old CEF 5414 failed : gclient 'returned non-zer

Postby xtxtqqgqlxxmm » Tue Dec 19, 2023 1:24 am

I meet the same problem last week. Thank to your experience, a lot of detours had been avoided.
I just download depot_tools, unzip it, call update_depot_tools.bat.
After updated, both set DEPOT_TOOLS_UPDATE=0 and execute automate-git.py with --no-depot-tools-update.
It worked.

It means update depot_tools to newest manually, then disable update.

Hope this helps you.
xtxtqqgqlxxmm
Newbie
 
Posts: 5
Joined: Wed May 24, 2023 3:33 am

Re: Building old CEF 5414 failed : gclient 'returned non-zer

Postby RCK » Sun Feb 04, 2024 6:51 am

@magreenblatt: Thanks for the "Error: 1> Wrong keys 'git_dependencies'" link, it was the root cause :)
@xtxtqqgqlxxmm: Thanks for your confirm, you are totally wright, their is still something strange with auto update here :!:

Example that is still failling:
- empty folders: C:\code\automate\ + C:\code\chromium_git\ + C:\code\depot_tools\
- download latest https://bitbucket.org/chromiumembedded/ ... ate-git.py
- download latest https://storage.googleapis.com/chrome-i ... _tools.zip
- install C:\code\depot_tools\bootstrap\win_tools.bat
- sync 5414 branch with
set GN_DEFINES=is_component_build=true
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
python3 c:\code\automate\automate-git.py --download-dir=c:\code\chromium_git --depot-tools-dir=c:\code\depot_tools --branch=5414 --no-distrib --no-build

- full_err log (Error with 'Wrong keys 'git_dependencies'):
full_err.txt
(733.84 KiB) Downloaded 73 times


Example that is OK:
- empty folders: C:\code\automate\ + C:\code\chromium_git\ + C:\code\depot_tools\
- download latest https://bitbucket.org/chromiumembedded/ ... ate-git.py
- download latest https://storage.googleapis.com/chrome-i ... _tools.zip
- install C:\code\depot_tools\bootstrap\win_tools.bat
- sync 5414 branch with
set GN_DEFINES=is_component_build=true
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
python3 c:\code\automate\automate-git.py --download-dir=c:\code\chromium_git --depot-tools-dir=c:\code\depot_tools --branch=5414 --no-depot-tools-update --no-distrib --no-build

- full_ok log (no more errors!):
full_ok.txt
(53.9 KiB) Downloaded 72 times


Conclusion:
The only difference is the use of "--no-depot-tools-update" , which seems to be mandatory to sync one old branch.
RCK
Techie
 
Posts: 21
Joined: Tue Feb 14, 2017 7:25 am

Previous

Return to Support Forum

Who is online

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