I downloaded and installed Windows SDK 10.0.20348
I downloaded and updated depot_tools and set it as the first item in my path.
Then I ran
python automate\automate-git.py --download-dir=D:\CefBuild4951 --depot-tools-dir=D:\CefBuild4951\depot_tools --branch=4951 --x64-build
The build failed
- Code: Select all
Running hooks: 30% (37/122) apache_win32
________ running 'python3 src/third_party/depot_tools/download_from_google_storage.py --no_resume --directory --recursive --no_auth --num_threads=16 --bucket chromium-apache-win32 src/third_party/apache-win32' in 'D:\CefBuild4951\chromium'
Access is denied.
Failed to fetch file gs://chromium-apache-win32/50699041060d14576ed7bacbd44be9af80eb902a for src/third_party/apache-win32\bin\api-ms-win-core-processthreads-l1-1-0.dll. [Err: Access is denied.
]
Failed to fetch file gs://chromium-apache-win32/0bffb9ed366853e7019452644d26e8e8f236241b for src/third_party/apache-win32\bin\api-ms-win-core-processthreads-l1-1-1.dll. [Err: Access is denied.
]
followed by many many other similar errors.
I thought it might be a temporary problem with fetching apache-win32 so retried.
This time it ran through to building but then failed again
- Code: Select all
--> D:\CefBuild4951\chromium\src\out\Debug_GN_x64\args.gn contents:
chrome_pgo_phase=0
clang_use_chrome_plugins=false
dcheck_always_on=true
enable_background_mode=false
enable_basic_printing=true
enable_nacl=false
enable_print_preview=true
enable_resource_allowlist_generation=false
enable_widevine=true
ffmpeg_branding="Chrome"
is_component_build=false
is_debug=false
is_official_build=true
optimize_webui=true
proprietary_codecs=true
target_cpu="x64"
-------- Running "ninja -C out\Debug_GN_x64 cefclient" in "D:\CefBuild4951\chromium\src"...
ninja: Entering directory `out\Debug_GN_x64'
[420/51741] ACTION //chrome/browser/resources/feed:build_ts(//build/toolchain/win:win_clang_x64)
FAILED: gen/chrome/browser/resources/feed/tsconfig.json gen/chrome/browser/resources/feed/tsconfig.manifest gen/chrome/browser/resources/feed/tsc/feed.js
D:/CefBuild4951/depot_tools/bootstrap-2@3_8_10_chromium_23_bin/python3/bin/python3.exe ../../tools/typescript/ts_library.py --root_dir ../../chrome/browser/resources/feed --gen_dir gen/chrome/browser/resources/feed --out_dir gen/chrome/browser/resources/feed/tsc --in_files feed.ts --path_mappings chrome://resources/*|../../../../ui/webui/resources/preprocessed/* //resources/*|../../../../ui/webui/resources/preprocessed/* chrome://resources/polymer/v3_0/*|../../../../../../../third_party/polymer/v3_0/components-chromium/* //resources/polymer/v3_0/*|../../../../../../../third_party/polymer/v3_0/components-chromium/* chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js|../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts //resources/polymer/v3_0/polymer/polymer_bundled.min.js|../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts /tools/typescript/definitions/*|../../../../../../../tools/typescript/definitions/*
Traceback (most recent call last):
File "../../tools/typescript/ts_library.py", line 153, in <module>
main(sys.argv[1:])
File "../../tools/typescript/ts_library.py", line 117, in main
node.RunNode([
File "D:\CefBuild4951\chromium\src\out\Debug_GN_x64\..\..\third_party\node\node.py", line 25, in RunNode
process = subprocess.Popen(
File "D:\CefBuild4951\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\lib\subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\CefBuild4951\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python3\bin\lib\subprocess.py", line 1311, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
[433/51741] ACTION //chrome/browser/resources/download_she...rocess_web_components(//build/toolchain/win:win_clang_x64)
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "automate\automate-git.py", line 1485, in <module>
if options.buildlogfile else None)
File "automate\automate-git.py", line 70, in run
args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
File "D:\CefBuild4951\depot_tools\bootstrap-2@3_8_10_chromium_23_bin\python\bin\lib\subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug_GN_x64', 'cefclient']' returned non-zero exit status 1
I was unsure whether rerunning automate-git would have correctly fetched apache-win32 so two days later I deleted my entire CefBuild4951 hierarchy and tried again from scratch with exactly the same results.
I tried googling for issues fetching apache-win32 and didn't turn up anything
I compared my new D:\CefBuild4951\chromium\src\third_party\apache-win32\bin folder with my previous 4638 build and saw that it does not have the dlls that the previous one has, only the sha1 files so it appears that may be the problem.
Any ideas or suggestions?