Page 1 of 1

Branch 4183 - Build Problems

PostPosted: Thu Sep 24, 2020 9:43 am
by neosoul
I am trying building Branch 4183 with vs2017 using the following commands:

set CEF_USE_GN=1
set GYP_MSVS_VERSION=2017
set CEF_ARCHIVE_FORMAT=tar.bz2

set GN_DEFINES=use_jumbo_build=false is_official_build=true ffmpeg_branding=Chrome enable_precompiled_headers=false
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*

python automate-git.py --download-dir=C:\code\chromium_git --depot-tools-dir=C:\code\depot_tools --minimal-distrib --client-distrib --branch=4183 --no-debug-build --force-build --x64-build --force-clean

After a long runnng process I got the following results: Please see the snapshot attached and see the errors,

Anyone has any idea ?

Re: Branch 4183 - Build Problems

PostPosted: Thu Sep 24, 2020 10:58 am
by magreenblatt
I don't know what your exact problem is, but you shouldn't be using an Administrator command prompt. Try running the cef_create_projects.bat script directly after setting your environment variables, and then look at the scripts it calls to debug further.

Re: Branch 4183 - Build Problems

PostPosted: Thu Sep 24, 2020 1:04 pm
by ndesktop
Was the command with double backslashes?

Re: Branch 4183 - Build Problems

PostPosted: Thu Sep 24, 2020 1:57 pm
by neosoul
ndesktop wrote:Was the command with double backslashes?


No, with single backslahes

Re: Branch 4183 - Build Problems

PostPosted: Fri Sep 25, 2020 1:46 am
by ebahar
same issue for me..
and i also tried to run cef_create_projects.bat
(me last build was branch 4103, and it worked fine)

Re: Branch 4183 - Build Problems

PostPosted: Fri Sep 25, 2020 8:19 am
by neosoul
The same results with VS2019

Re: Branch 4183 - Build Problems

PostPosted: Fri Sep 25, 2020 9:44 am
by ndesktop
Something I don't get from your picture.
Looks like python is in C:\code\depot_tools\python3.bat, but the error is in C:\Users\Israel\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py.
Try to add to your commands/batch

set DEPOT_TOOLS=C:\code\depot_tools
set PATH=%DEPOT_TOOLS%;%PATH%
...

Re: Branch 4183 - Build Problems

PostPosted: Fri Sep 25, 2020 9:46 am
by ndesktop
The error is from gn, in RunGen function.

Re: Branch 4183 - Build Problems

PostPosted: Fri Sep 25, 2020 12:35 pm
by ebahar
Something I don't get from your picture.
Looks like python is in C:\code\depot_tools\python3.bat, but the error is in C:\Users\Israel\AppData\Local\Programs\Python\Python38-32\lib\subprocess.py.
Try to add to your commands/batch

set DEPOT_TOOLS=C:\code\depot_tools
set PATH=%DEPOT_TOOLS%;%PATH%


for me it run via epot_tools\python3.bat, but still same issue