Error on build 4951

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.

Error on build 4951

Postby delphirules » Tue May 17, 2022 7:57 am

Hello,

I've been building CEF binaries for some time without any problems. For this task i have a dedicated W10 virtual machine with 32GB of RAM and an external SSD disk.

But recently i'm running into issues to build 4951 branch. Tried a lot of times and it never finishes.

Usually what happens is after some hours , the command prompt simply closes itselft. To try to diagnose what is happening, i'm recording the output to file using the ">log.txt " after the command below :

python3 automate\automate-git.py --download-dir=e:\code\chromium_git --branch=4951 --minimal-distrib --client-distrib --force-clean >log.txt

And here are the last line of the log file :

-------- Running "ninja -C out\Debug_GN_x86 cefclient" in "e:\code\chromium_git\chromium\src"...

What i can try to do , to diagnose and fix this issue ?

Thanks in advance !
delphirules
Techie
 
Posts: 39
Joined: Mon May 16, 2022 12:07 pm

Re: Error on build 4951

Postby magreenblatt » Tue May 17, 2022 12:47 pm

Run cmd.exe first, then execute the command so that the window remains open.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Error on build 4951

Postby delphirules » Tue May 17, 2022 2:55 pm

Thanks, this time i could get the error, here is :

Traceback (most recent call last):
File "automate\automate-git.py", line 1483, in <module>
run(command + build_path + target, chromium_src_dir, depot_tools_dir,
File "automate\automate-git.py", line 69, in run
return subprocess.check_call(
File "e:\code\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug_GN_x86', 'cefclient']' returned non-zero exit status 1.

It happened about 6 hours the process running.

How can i fix this, please ?
delphirules
Techie
 
Posts: 39
Joined: Mon May 16, 2022 12:07 pm

Re: Error on build 4951

Postby magreenblatt » Tue May 17, 2022 3:34 pm

What is the complete error message?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Error on build 4951

Postby delphirules » Tue May 17, 2022 4:02 pm

Below is the complete command prompt output and also i uploaded the log file generated because i used the >log.txt on the command ; thank you very much, this is the probably the 5th time i tried to build the binaries :(

https://we.tl/t-7wYzHHlVg5

E:\code>buildcef32.bat

E:\code>del /f /s /q chromium_git 1>nul

E:\code>del log.txt

E:\code>rmdir /s /q chromium_git

E:\code>set GN_DEFINES=is_official_build=true use_thin_lto=false proprietary_codecs=true ffmpeg_branding=Chrome

E:\code>set GYP_MSVS_VERSION=2019

E:\code>set CEF_ARCHIVE_FORMAT=tar.bz2

E:\code>python3 automate\automate-git.py --download-dir=e:\code\chromium_git --branch=4951 --minimal-distrib --client-distrib --force-clean 1>log.txt
automate\automate-git.py:188: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods
opener = FancyURLopener({})
Cloning into 'e:\code\chromium_git\cef'...
Receiving objects: 100% (75028/75028), 28.22 MiB | 16.55 MiB/s, done.
Resolving deltas: 100% (64504/64504), done.
Updating files: 100% (1999/1999), done.
Updating files: 100% (208/208), done.
Note: switching to 'origin/4951'.

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 367b4a0f3 alloy: Disable ProxyErrorClient callbacks when extensions are disabled (fixes issue #2830)
Previous HEAD position was 8fb649c4 Roll recipe dependencies (trivial).
HEAD is now at 7f02c0d9 Add *.ts (typescript files) to git-gs
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
remote: Finding sources: 100% (558/558)
remote: Total 558 (delta 134), reused 472 (delta 134)
Receiving objects: 100% (558/558), 2.46 MiB | 2.12 MiB/s, done.
Resolving deltas: 100% (134/134), completed with 116 local objects.
From https://chromium.googlesource.com/chromium/src
73ffbbeac851e..b8f612eed91b0 lkgr -> origin/lkgr
00d1e78160748..2ba1e3e28a0d6 lkgr-android-internal -> origin/lkgr-android-internal
8f7856e7753b2..ba9c145917abf main -> origin/main
f99c6274bf421..a11616b1cd639 refs/branch-heads/5005 -> branch-heads/5005
45cca538e50d2..2543b2981ebe4 refs/branch-heads/5060 -> branch-heads/5060
* [new ref] refs/branch-heads/5068 -> branch-heads/5068
remote: Finding sources: 100% (6/6)
remote: Total 6 (delta 0), reused 6 (delta 0)
Unpacking objects: 100% (6/6), 57.23 KiB | 139.00 KiB/s, done.
From https://chromium.googlesource.com/chromium/src
ba9c145917abf..d6627493b6a56 main -> origin/main
* [new tag] 104.0.5068.0 -> 104.0.5068.0
Updating files: 100% (95035/95035), done.
Previous HEAD position was 8f7856e7753b2 Roll ANGLE from 7d7ed2538b4f to d75bf9ad0ba6 (2 revisions)
HEAD is now at 205d1cab8eff2 Publish DEPS for 101.0.4951.67
Traceback (most recent call last):
File "automate\automate-git.py", line 1483, in <module>
run(command + build_path + target, chromium_src_dir, depot_tools_dir,
File "automate\automate-git.py", line 69, in run
return subprocess.check_call(
File "e:\code\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\lib\subprocess.py", line 364, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug_GN_x86', 'cefclient']' returned non-zero exit status 1.
E:\code>
delphirules
Techie
 
Posts: 39
Joined: Mon May 16, 2022 12:07 pm

Re: Error on build 4951

Postby magreenblatt » Wed May 18, 2022 2:20 am

Run the following commands in a cmd.exe shell and post the output:
Code: Select all
cd e:\code\chromium_git\chromium\src
ninja -C out\Debug_GN_x86 cef
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Error on build 4951

Postby delphirules » Wed May 18, 2022 11:12 am

I don't know why but i tried again yesterday and this time, it finished ok ! :D

Besides a new computer, Any suggestion to improve the process speed ?
delphirules
Techie
 
Posts: 39
Joined: Mon May 16, 2022 12:07 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 28 guests