Closed maxhora closed 4 years ago
I do have some upcoming updates but I don't think that is your issue. 3370 isn't a cef build, you mean 3770 maybe? Look at the branch listings at: https://bitbucket.org/chromiumembedded/cef/src/master/
Got it, thanks,
I meant that 3370
change was introduced with last commit https://github.com/mitchcapper/CefSharpDockerfiles/commit/c67f9fe1ec66304e5fff2874d8d3a80156cf4e42#diff-dc08dfee97300694e6e4f0a307f82574R1
So far I've rolled back to 3396
, but build failed for me with:
-------- Running "gclient sync --with_branch_heads --disable-syntax-validation --jobs 16" in "c:\code\chromium"...
--> Removing directory c:\code\chromium\src\out
--> Copying directory c:\code\cef to c:\code\chromium\src\cef
--> Creating directory c:\code\chromium\src\out
--> Writing file: c:\code\chromium\src\out\cef.branch
0
Running: c:/code/chromium/src/cef/cef_create_projects.bat in C:\code\chromium\src\cef
Generating CEF version header file...
File "tools\gclient_hook.py", line 34, in <module>
Traceback (most recent call last):
RunAction(cef_dir, cmd)
gclient_utils.CheckCallAndFilterAndHeader(command, cwd=dir, always=True)
AttributeError: 'module' object has no attribute 'CheckCallAndFilterAndHeader'
File "C:\code\chromium\src\cef\tools\gclient_util.py", line 39, in RunAction
1
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x64 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x64' - No such file or directory
ninja: Entering directory `out/Release_GN_x64'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: Entering directory `out/Release_GN_x86'
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: Entering directory `out/Release_GN_x86'
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: Entering directory `out/Release_GN_x86'
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
Running: c:/code/depot_tools/ninja.exe -C out/Release_GN_x86 cefclient in C:\code\chromium\src
ninja: fatal: chdir to 'out/Release_GN_x86' - No such file or directory
ninja: Entering directory `out/Release_GN_x86'
x64 build failed with 1
At C:\code\cef_build.ps1:77 char:2
+ throw "x64 build failed with $($px64.ExitCode)";
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g) [], RuntimeException
+ CategoryInfo : OperationStopped: (x64 build failed with 1:Strin
+ FullyQualifiedErrorId : x64 build failed with 1
The command 'powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; c:/code/cef_
build.ps1' returned a non-zero code: 1
Caught an exception: Process docker build --memory=30g --build-arg CEF_SAVE_SOURCES="0" --build-arg BINARY_EXT="zip" --b
uild-arg DUAL_BUILD="0" --build-arg GN_DEFINES="is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome" -
-build-arg GYP_DEFINES="" --build-arg CHROME_BRANCH="3396" -f Dockerfile_cef -t cef . exited with non zero code: 1 abort
ing!
Exception Type: System.Management.Automation.RuntimeException
Stack Trace: at RunProc, C:\build-cefsharp\functions.ps1: line 82
at <ScriptBlock>, C:\build-cefsharp\build.ps1: line 70
at <ScriptBlock>, <No file>: line 1
I might need to try to put 3770
to try to repro the origin build you had.
Ah that is my mistake in your versions.ps1 put $VAR_CHROME_BRANCH="3770";
I will try to get my update out this week as well.
Cool! Thanks! Trying with with 3770
now
All set.
Thank you for sharing amazing build scripts!
It seems that
3370
branch is not found in Chromium repo for some reasons.