Problems building CEF 4896

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.

Problems building CEF 4896

Postby Phylanx » Wed Jun 08, 2022 11:13 am

Hi!

We're currently upgrading from CEF 4147 to 4896 (this specific version because of our JCEF binding).
We have problems building this version.

When we execute this command
Code: Select all
python automate-git.py --download-dir=chromium --branch=4896 --minimal-distrib --client-distrib --force-clean


we get the following build error:
Error: Command 'git reset --hard HEAD --quiet' returned non-zero exit status 128 in C:\dev\Chromium\ori4896\chromium\chromium\src\third_party\freetype-testing\src
error: unable to stat just-written file fuzzing/corpora/truetype-render/oss-fuzz/CVE-2020-15999.ttf: No such file or directory
fatal: Could not reset index file to revision 'HEAD'.


Code: Select all
Syncing projects:  97% (38/39) src/third_party/devtools-frontend/src

src/third_party/freetype-testing/src (ERROR)
----------------------------------------
[0:00:07] Started.
[0:00:07] Finished running: git config remote.origin.url
[0:00:07] Finished running: git rev-list -n 1 HEAD
[0:00:07] Finished running: git rev-parse --abbrev-ref=strict HEAD

________ running 'git reset --hard HEAD --quiet' in 'C:\dev\Chromium\ori4896\chromium\chromium\src\third_party\freetype-testing\src'

[0:00:09] error: unable to stat just-written file fuzzing/corpora/truetype-render/oss-fuzz/CVE-2020-15999.ttf: No such file or directory
[0:00:09] fatal: Could not reset index file to revision 'HEAD'.
----------------------------------------
Error: Command 'git reset --hard HEAD --quiet' returned non-zero exit status 128 in C:\dev\Chromium\ori4896\chromium\chromium\src\third_party\freetype-testing\src
error: unable to stat just-written file fuzzing/corpora/truetype-render/oss-fuzz/CVE-2020-15999.ttf: No such file or directory
fatal: Could not reset index file to revision 'HEAD'.

Traceback (most recent call last):
  File "automate-git.py", line 1379, in <module>
    ('--reset ' if discard_local_changes else ''), chromium_dir, depot_tools_dir)
  File "automate-git.py", line 70, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "C:\dev\devtools\Python27\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gclient', 'sync', '--reset', '--nohooks', '--with_branch_heads', '--jobs', '16']' returned non-zero exit status 1


I double checked the requirements but can't find a problem.
Anybody knows this problem?
Phylanx
Expert
 
Posts: 201
Joined: Thu Aug 11, 2016 8:17 am

Re: Problems building CEF 4896

Postby magreenblatt » Wed Jun 08, 2022 12:30 pm

Disable antivirus on the download directory and try again.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Problems building CEF 4896

Postby Phylanx » Thu Jun 09, 2022 1:02 am

OK, I'll disable the exes, that I know.
Unfortunatly I can't disable the AV completely because it is company policy.

for now I disabled monitoring of git, ninja, python, .cipd_client, cmake.exe

anything important that I missed?
Phylanx
Expert
 
Posts: 201
Joined: Thu Aug 11, 2016 8:17 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 63 guests