5993 branch build fails (Win32)

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.

5993 branch build fails (Win32)

Postby naoki5 » Mon Oct 23, 2023 1:37 am

I tried to build the 5993 branch.
I followed the "Automated Method".
However, the build fails with an error.
The following is a part of the log at the time of failure.
Code: Select all
Apply runhooks.patch in f:\code\chromium_git\chromium\src
        9       5       build/toolchain/win/setup_toolchain.py
        11      0       build/vs_toolchain.py
... successfully applied (with warnings):
        warning: build/vs_toolchain.py has type 100644, expected 100755
-------- Running "gclient runhooks --jobs 16" in "f:\code\chromium_git\chromium"...
Running hooks: 100% (168/168), done.
--> Removing directory f:\code\chromium_git\chromium\src\out
--> Copying directory f:\code\chromium_git\cef to f:\code\chromium_git\chromium\src\cef
--> Creating directory f:\code\chromium_git\chromium\src\out
--> Writing f:\code\chromium_git\chromium\src\out\cef.branch
--> DEPOT_TOOLS_UPDATE=0
--> GN_DEFINES=proprietary_codecs=true ffmpeg_branding=Chrome is_official_build=true
--> DEPOT_TOOLS_WIN_TOOLCHAIN=0
-------- Running "f:\code\chromium_git\depot_tools\python.bat f:\code\chromium_git\chromium\src\cef\tools\gclient_hook.py" in "f:\code\chromium_git\chromium\src\cef"...
Traceback (most recent call last):
  File "f:\code\chromium_git\chromium\src\cef\tools\gclient_hook.py", line 9, in <module>
    from gclient_util import *
  File "f:\code\chromium_git\chromium\src\cef\tools\gclient_util.py", line 28, in <module>
    import gclient_utils
  File "f:\code\chromium_git\depot_tools\gclient_utils.py", line 74
    print('\n\nWarnings:', file=sys.stderr)
                               ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "automate\automate-git.py", line 1336, in <module>
    run('%s %s' % (python_exe, tool), cef_src_dir, depot_tools_dir)
  File "automate\automate-git.py", line 67, in run
    args, cwd=working_dir, env=env, shell=(sys.platform == 'win32'))
  File "F:\code\depot_tools\bootstrap-3_8_0_chromium_8_bin\python\bin\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['f:\\code\\chromium_git\\depot_tools\\python.bat', 'f:\\code\\chromium_git\\chromium\\src\\cef\\tools\\gclient_hook.py']' returned non-zero exit status 1


I ran the build as follows:

set GN_DEFINES=proprietary_codecs=true ffmpeg_branding=Chrome is_official_build=true
python automate\automate-git.py --download-dir=f:\code\chromium_git --branch=5993 --with-pgo-profiles

The following is the build environment.

Windows 11 Pro 22H2 (Japanese)
Visual Studio 2022 Version 17.7.5
Win SDK 10.0.22621.1778

I have successfully built branch 5938 on October 6.
The changes are
Changed to branch 5993.
Changed automate-git.py script to the latest version.

Do I need to do anything extra to build the 5993 branch?
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5993 branch build fails (Win32)

Postby magreenblatt » Mon Oct 23, 2023 9:05 am

Did you run automate-git.py with python3? See viewtopic.php?f=6&t=19580&start=10#p54220
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: 5993 branch build fails (Win32)

Postby naoki5 » Mon Oct 23, 2023 9:30 pm

magreenblatt wrote:Did you run automate-git.py with python3? See viewtopic.php?f=6&t=19580&start=10#p54220


The post you shared with me says that calling the "python" command solved the problem.
I am using a translation tool to read and write, so sorry if I am wrong.

As above, I am running automate-git.py with the "python" command.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5993 branch build fails (Win32)

Postby magreenblatt » Tue Oct 24, 2023 8:09 am

Your reading of the linked forum thread is incorrect. You need to run with the “python3” command.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: 5993 branch build fails (Win32)

Postby naoki5 » Wed Oct 25, 2023 9:32 pm

The syntax error no longer occurs with the "python3" command.
Thank you.

However, yet another error occurs.

Code: Select all
Generating CEF project files...
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x64 directory.
Done. Made 19184 targets from 3454 files in 22711ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x64\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x64 directory.
Done. Made 19182 targets from 3454 files in 20035ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x64\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x64_sandbox directory.
Done. Made 18121 targets from 3406 files in 19204ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x64_sandbox\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x64_sandbox directory.
Done. Made 18636 targets from 3405 files in 19364ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x64_sandbox\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x86 directory.
Done. Made 19656 targets from 3454 files in 21731ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x86\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x86 directory.
Done. Made 19654 targets from 3454 files in 22005ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x86\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x86_sandbox directory.
Done. Made 18328 targets from 3406 files in 21349ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x86_sandbox\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x86_sandbox directory.
Done. Made 18843 targets from 3405 files in 21293ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x86_sandbox\obj\cef\libcef.ninja
--> f:\code\chromium_git\chromium\src\out\Debug_GN_x86\args.gn contents:
alternate_cdm_storage_id_key="968b476909da4373b08903c28e859454"
clang_use_chrome_plugins=false
dcheck_always_on=true
disable_fieldtrial_testing_config=true
enable_background_mode=false
enable_basic_printing=true
enable_cdm_host_verification=true
enable_cdm_storage_id=true
enable_nacl=false
enable_print_preview=true
enable_resource_allowlist_generation=false
enable_rlz=true
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="x86"
v8_enable_sandbox=false
-------- Running "ninja -C out\Debug_GN_x86 cefclient" in "f:\code\chromium_git\chromium\src"...
ninja: Entering directory `out\Debug_GN_x86'
[60029/60029] LINK cefclient.exe cefclient.exe.pdb
--> f:\code\chromium_git\chromium\src\out\Debug_GN_x86_sandbox\args.gn contents:
alternate_cdm_storage_id_key="968b476909da4373b08903c28e859454"
clang_use_chrome_plugins=false
enable_background_mode=false
enable_backup_ref_ptr_support=false
enable_base_tracing=false
enable_basic_printing=true
enable_cdm_host_verification=true
enable_cdm_storage_id=true
enable_nacl=false
enable_print_preview=true
enable_resource_allowlist_generation=false
enable_rlz=true
enable_rust=false
enable_widevine=true
ffmpeg_branding="Chrome"
forbid_non_component_debug_builds=false
is_cef_sandbox_build=true
is_component_build=false
is_debug=true
is_official_build=false
optimize_webui=true
proprietary_codecs=true
target_cpu="x86"
use_allocator_shim=false
use_custom_libcxx=false
use_partition_alloc=false
use_partition_alloc_as_malloc=false
v8_enable_sandbox=false
-------- Running "ninja -C out\Debug_GN_x86_sandbox cef_sandbox" in "f:\code\chromium_git\chromium\src"...
ninja: Entering directory `out\Debug_GN_x86_sandbox'
[77/883] CXX obj/base/allocator/partition_allocator/allocator_base/cstring_builder.obj
FAILED: obj/base/allocator/partition_allocator/allocator_base/cstring_builder.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc /Foobj/base/allocator/partition_allocator/allocator_base/cstring_builder.obj /nologo /showIncludes:user "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\include" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 -D_HAS_NODISCARD -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS "-DCR_CLANG_REVISION=\"llvmorg-17-init-16420-g0c545a44-8\"" -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_HAS_ITERATOR_DEBUGGING=0 -DIS_PARTITION_ALLOC_IMPL -I../.. -Igen /W4 -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1934 -m32 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MTd -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /O2 /Ob2 /Oy- /Zc:inline /Gw -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare /std:c++20 -Wno-trigraphs /TP /GR- /Fd"obj/base/allocator/partition_allocator/allocator_base_cc.pdb"
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(64,26): error: no member named 'numeric_limits' in namespace 'std'
   64 |   char buffer[Log10(std::numeric_limits<T>::max()) + 3];
      |                     ~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(64,41): error: 'T' does not refer to a value
   64 |   char buffer[Log10(std::numeric_limits<T>::max()) + 3];
      |                                         ^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(58,20): note: declared here
   58 | template <typename T>
      |                    ^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(64,45): error: no member named 'max' in the global namespace
   64 |   char buffer[Log10(std::numeric_limits<T>::max()) + 3];
      |                                           ~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(162,47): error: no member named 'numeric_limits' in namespace 'std'
  162 |       PutNormalFloatingPoint(value > 0 ? std::numeric_limits<double>::min()
      |                                          ~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(162,68): error: expected '(' for function-style cast or type construction
  162 |       PutNormalFloatingPoint(value > 0 ? std::numeric_limits<double>::min()
      |                                                              ~~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(162,71): error: no member named 'min' in the global namespace
  162 |       PutNormalFloatingPoint(value > 0 ? std::numeric_limits<double>::min()
      |                                                                     ~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(163,48): error: no member named 'numeric_limits' in namespace 'std'
  163 |                                        : -std::numeric_limits<double>::min(),
      |                                           ~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(163,69): error: expected '(' for function-style cast or type construction
  163 |                                        : -std::numeric_limits<double>::min(),
      |                                                               ~~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(163,72): error: no member named 'min' in the global namespace
  163 |                                        : -std::numeric_limits<double>::min(),
      |                                                                      ~~^
9 errors generated.
[84/883] CXX obj/base/allocator/partition_allocator/allocator_base/time.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "automate\automate-git.py", line 1368, in <module>
    run(command + build_path + ' cef_sandbox', chromium_src_dir, depot_tools_dir,
  File "automate\automate-git.py", line 66, in run
    return subprocess.check_call(
  File "F:\code\depot_tools\bootstrap-3_8_0_chromium_8_bin\python3\bin\lib\subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug_GN_x86_sandbox', 'cef_sandbox']' returned non-zero exit status 1.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5993 branch build fails (Win32)

Postby naoki5 » Tue Oct 31, 2023 11:27 pm

VS2022 17.7.5 was released on October 10, so I tried it with 17.7.4 but it did not resolve the issue.

I tried installing the latest version of the Windows SDK (10.0.22621), but this did not solve the problem either.

Code: Select all
F:\code>set GN_DEFINES=proprietary_codecs=true ffmpeg_branding=Chrome is_official_build=true

F:\code>python3 automate\automate-git.py --download-dir=f:\code\chromium_git --branch=5993 --with-pgo-profiles --force-clean
--> Download Directory: f:\code\chromium_git
--> Depot Tools Directory: f:\code\chromium_git\depot_tools
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "f:\code\chromium_git\depot_tools"...
Updating depot_tools...
--> Removing directory f:\code\chromium_git\cef
--> CEF Branch: 5993
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: f:\code\chromium_git\cef
-------- Running "f:\code\chromium_git\depot_tools\git.bat clone https://bitbucket.org/chromiumembedded/cef.git f:\code\chromium_git\cef" in "f:\code\chromium_git"...
Cloning into 'f:\code\chromium_git\cef'...
Receiving objects: 100% (85107/85107), 31.21 MiB | 7.77 MiB/s, done.
Resolving deltas: 100% (73482/73482), done.
-------- Running "f:\code\chromium_git\depot_tools\git.bat rev-parse HEAD" in "f:\code\chromium_git\cef"...
-------- Running "f:\code\chromium_git\depot_tools\git.bat rev-parse origin/5993" in "f:\code\chromium_git\cef"...
--> CEF Current Checkout: 44323082b119d9278ca4d6478e2d16ffeba70e76
--> CEF Desired Checkout: 7e736457a0fea6f89f829386523ba11c11d082ef (origin/5993)
-------- Running "f:\code\chromium_git\depot_tools\git.bat checkout --force origin/5993" in "f:\code\chromium_git\cef"...
Note: switching to 'origin/5993'.

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 7e736457a Update to Chromium version 118.0.5993.119
--> Reading f:\code\chromium_git\cef\CHROMIUM_BUILD_COMPATIBILITY.txt
-------- Running "f:\code\chromium_git\depot_tools\git.bat checkout --force a45d2d4c90" in "f:\code\chromium_git\depot_tools"...
Previous HEAD position was 5388959f reclient_helper: delete directory synchronously
HEAD is now at a45d2d4c gclient: Handle missing .git/hooks directory
--> CEF Output Directory: f:\code\chromium_git\out_5993
-------- Running "f:\code\chromium_git\depot_tools\git.bat config --get remote.origin.url" in "f:\code\chromium_git\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "f:\code\chromium_git\depot_tools\git.bat fetch" in "f:\code\chromium_git\chromium\src"...
remote: Finding sources: 100% (646/646)
remote: Total 646 (delta 24), reused 617 (delta 24)
Receiving objects: 100% (646/646), 4.45 MiB | 11.99 MiB/s, done.
Resolving deltas: 100% (24/24), completed with 21 local objects.
From https://chromium.googlesource.com/chromium/src
   21face61fba57..ed1ff511a3a0b  lkgr                   -> origin/lkgr
   870e6f6c99aa8..dfd47b06bee43  lkgr-android-internal  -> origin/lkgr-android-internal
   1ef962b19de26..c740f96b4e2d6  main                   -> origin/main
   6db2a46e8a0de..4671b559aba06  refs/branch-heads/6045 -> branch-heads/6045
-------- Running "f:\code\chromium_git\depot_tools\git.bat fetch --tags" in "f:\code\chromium_git\chromium\src"...
-------- Running "f:\code\chromium_git\depot_tools\git.bat rev-parse HEAD" in "f:\code\chromium_git\chromium\src"...
-------- Running "f:\code\chromium_git\depot_tools\git.bat rev-parse refs/tags/118.0.5993.119" in "f:\code\chromium_git\chromium\src"...
--> Chromium Current Checkout: 69b5cf640534d221f4335af221eec671b7190570
--> Chromium Desired Checkout: 69b5cf640534d221f4335af221eec671b7190570 (refs/tags/118.0.5993.119)
--> Removing directory f:\code\chromium_git\chromium\src\cef
--> Removing directory f:\code\chromium_git\chromium\src\out
-------- Running "gclient revert --nohooks" in "f:\code\chromium_git\chromium"...
Syncing projects: 100% (144/144), done.
-------- Running "f:\code\chromium_git\depot_tools\git.bat checkout --force refs/tags/118.0.5993.119" in "f:\code\chromium_git\chromium\src"...
Updating files: 100% (74445/74445), done.
Previous HEAD position was c740f96b4e2d6 [AWC] Make display-state CSS work on all platforms
HEAD is now at 69b5cf640534d Incrementing VERSION to 118.0.5993.119
--> Chromium DEPS file: f:\code\chromium_git\chromium\src\DEPS
-------- Running "gclient sync --reset --nohooks --with_branch_heads --jobs 16" in "f:\code\chromium_git\chromium"...
Syncing projects: 100% (148/148), done.
-------- Running "f:\code\chromium_git\depot_tools\python3.bat f:\code\chromium_git\cef\tools\patcher.py --patch-file "f:\code\chromium_git\cef\patch\patches\runhooks" --patch-dir "f:\code\chromium_git\chromium\src"" in "f:\code\chromium_git\chromium\src"...

Apply runhooks.patch in f:\code\chromium_git\chromium\src
        9       5       build/toolchain/win/setup_toolchain.py
        11      0       build/vs_toolchain.py
... successfully applied (with warnings):
        warning: build/vs_toolchain.py has type 100644, expected 100755
-------- Running "gclient runhooks --jobs 16" in "f:\code\chromium_git\chromium"...
Hook 'python3 src/v8/tools/builtins-pgo/download_profiles.py download --depot-tools src/third_party/depot_tools' took 10.46 secs
Running hooks: 100% (168/168), done.
--> Removing directory f:\code\chromium_git\chromium\src\out
--> Copying directory f:\code\chromium_git\cef to f:\code\chromium_git\chromium\src\cef
--> Creating directory f:\code\chromium_git\chromium\src\out
--> Writing f:\code\chromium_git\chromium\src\out\cef.branch
--> GN_DEFINES=proprietary_codecs=true ffmpeg_branding=Chrome is_official_build=true
--> GCLIENT_PY3=1
--> DEPOT_TOOLS_WIN_TOOLCHAIN=0
--> DEPOT_TOOLS_UPDATE=0
-------- Running "f:\code\chromium_git\depot_tools\python3.bat f:\code\chromium_git\chromium\src\cef\tools\gclient_hook.py" in "f:\code\chromium_git\chromium\src\cef"...

Generating CEF version header file...

Patching build configuration and source files for CEF...

Apply gritsettings.patch in f:\code\chromium_git\chromium\src
        9       0       tools/gritsettings/resource_ids.spec
... successfully applied.

Apply gn_config.patch in f:\code\chromium_git\chromium\src
        2       0       .gn
        5       0       BUILD.gn
        6       8       build/config/win/visual_studio_version.gni
        5       0       chrome/chrome_paks.gni
        5       0       chrome/chrome_repack_locales.gni
        4       1       chrome/installer/mini_installer/BUILD.gn
        3       0       tools/grit/grit_args.gni
... successfully applied.

Apply runhooks.patch in f:\code\chromium_git\chromium\src
        9       5       build/toolchain/win/setup_toolchain.py
        11      0       build/vs_toolchain.py
... already applied (skipping).

Apply component_build.patch in f:\code\chromium_git\chromium\src
        1       1       content/browser/devtools/devtools_instrumentation.h
        2       1       content/browser/renderer_host/input/mouse_wheel_phase_handler.h
        3       1       content/browser/renderer_host/input/synthetic_gesture_target_base.h
        1       1       content/common/content_switches_internal.h
        3       0       third_party/blink/renderer/controller/BUILD.gn
        2       0       ui/events/keycodes/BUILD.gn
        2       1       ui/events/keycodes/keyboard_code_conversion_xkb.h
... successfully applied.

Apply message_loop.patch in f:\code\chromium_git\chromium\src
        12      1       base/message_loop/message_pump_win.cc
        2       0       base/task/current_thread.cc
        13      0       base/task/current_thread.h
... successfully applied (with warnings):
        message_loop.patch:18: trailing whitespace.
        warning: 1 line adds whitespace errors.

Apply trace_event.patch in f:\code\chromium_git\chromium\src
        2       0       base/trace_event/builtin_categories.h
... successfully applied.

Apply webkit_popups.patch in f:\code\chromium_git\chromium\src
        1       0       third_party/blink/public/web/web_view.h
        8       2       third_party/blink/renderer/core/exported/web_view_impl.cc
        4       1       third_party/blink/renderer/core/exported/web_view_impl.h
        1       1       third_party/blink/renderer/core/page/chrome_client_impl.cc
... successfully applied.

Apply webkit_runtime_enabled_features.patch in f:\code\chromium_git\chromium\src
        3       0       third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
... successfully applied.

Apply views_widget.patch in f:\code\chromium_git\chromium\src
        8       0       content/browser/renderer_host/render_widget_host_view_base.cc
        17      4       content/browser/renderer_host/render_widget_host_view_base.h
        23      0       content/browser/renderer_host/render_widget_host_view_event_handler.cc
        8       0       content/public/browser/render_widget_host_view.h
        2       1       ui/ozone/platform/x11/x11_window.cc
        2       0       ui/views/widget/desktop_aura/desktop_screen_win.cc
        14      0       ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
        7       0       ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h
        2       2       ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
        37      7       ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
        4       0       ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
        17      2       ui/views/widget/widget.cc
        2       0       ui/views/widget/widget.h
        4       0       ui/views/widget/widget_delegate.h
        2       1       ui/views/widget/widget_hwnd_utils.cc
        12      5       ui/views/win/hwnd_message_handler.cc
... successfully applied.

Apply web_contents_1257_1565.patch in f:\code\chromium_git\chromium\src
        22      0       content/browser/web_contents/web_contents_impl.cc
        6       0       content/public/browser/web_contents.h
        10      0       content/public/browser/web_contents_delegate.h
        7       0       content/public/browser/web_contents_observer.h
... successfully applied.

Apply mime_handler_view_guest_1565_2727.patch in f:\code\chromium_git\chromium\src
        1       1       content/browser/web_contents/web_contents_view.h
        14      0       extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.cc
        2       0       extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h
        10      0       extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h
... successfully applied.

Apply ui_dragdrop_355390.patch in f:\code\chromium_git\chromium\src
        2       1       ui/base/x/x11_os_exchange_data_provider.cc
... successfully applied.

Apply content_main_654986.patch in f:\code\chromium_git\chromium\src
        39      18      content/app/content_main.cc
        6       0       content/app/content_main_runner_impl.cc
        3       1       content/app/content_main_runner_impl.h
        1       1       content/common/set_process_title.cc
        7       0       content/public/app/content_main.h
... successfully applied.

Apply font_family_cache_1501.patch in f:\code\chromium_git\chromium\src
        2       0       chrome/browser/font_family_cache.h
... successfully applied.

Apply views_1749_2102_3330.patch in f:\code\chromium_git\chromium\src
        24      0       ui/base/models/menu_model.h
        21      0       ui/gfx/render_text.cc
        6       0       ui/gfx/render_text.h
        2       0       ui/views/animation/ink_drop_host.h
        6       0       ui/views/controls/button/label_button.cc
        3       0       ui/views/controls/button/label_button.h
        36      0       ui/views/controls/label.cc
        5       0       ui/views/controls/label.h
        13      3       ui/views/controls/menu/menu_controller.cc
        5       1       ui/views/controls/menu/menu_controller.h
        21      0       ui/views/controls/menu/menu_delegate.h
        4       1       ui/views/controls/menu/menu_host.cc
        2       0       ui/views/controls/menu/menu_host.h
        16      0       ui/views/controls/menu/menu_item_view.cc
        71      0       ui/views/controls/menu/menu_model_adapter.cc
        14      0       ui/views/controls/menu/menu_model_adapter.h
        2       1       ui/views/controls/menu/menu_runner.cc
        2       0       ui/views/controls/menu/menu_runner.h
        2       1       ui/views/controls/menu/menu_runner_impl.cc
        1       0       ui/views/controls/menu/menu_runner_impl.h
        2       1       ui/views/controls/menu/menu_runner_impl_adapter.cc
        1       0       ui/views/controls/menu/menu_runner_impl_adapter.h
        1       0       ui/views/controls/menu/menu_runner_impl_cocoa.h
        1       0       ui/views/controls/menu/menu_runner_impl_cocoa.mm
        2       0       ui/views/controls/menu/menu_runner_impl_interface.h
        5       0       ui/views/controls/menu/menu_scroll_view_container.cc
        3       0       ui/views/test/ui_controls_factory_desktop_aura_ozone.cc
        3       1       ui/views/view.h
... successfully applied.

Apply chrome_browser.patch in f:\code\chromium_git\chromium\src
        6       0       chrome/browser/BUILD.gn
... successfully applied.

Apply chrome_renderer.patch in f:\code\chromium_git\chromium\src
        6       0       chrome/renderer/BUILD.gn
... successfully applied.

Apply chrome_runtime.patch in f:\code\chromium_git\chromium\src
        17      2       chrome/app/chrome_main_delegate.cc
        3       1       chrome/app/chrome_main_delegate.h
        12      2       chrome/browser/chrome_browser_main.cc
        5       0       chrome/browser/chrome_browser_main_mac.mm
        18      5       chrome/browser/chrome_content_browser_client.cc
        4       2       chrome/browser/chrome_content_browser_client.h
        14      0       chrome/browser/prefs/browser_prefs.cc
... successfully applied.

Apply chrome_runtime_views.patch in f:\code\chromium_git\chromium\src
        12      2       chrome/browser/ui/browser_command_controller.cc
        97      9       chrome/browser/ui/toolbar/app_menu_model.cc
        3       0       chrome/browser/ui/toolbar/app_menu_model.h
        6       0       chrome/browser/ui/views/find_bar_host.cc
        35      2       chrome/browser/ui/views/frame/browser_frame.cc
        2       0       chrome/browser/ui/views/frame/browser_frame.h
        87      24      chrome/browser/ui/views/frame/browser_view.cc
        8       0       chrome/browser/ui/views/frame/browser_view.h
        11      0       chrome/browser/ui/views/frame/browser_view_layout.cc
        5       0       chrome/browser/ui/views/frame/contents_web_view.cc
        42      11      chrome/browser/ui/views/frame/picture_in_picture_browser_frame_view.cc
        6       0       chrome/browser/ui/views/page_action/page_action_icon_controller.cc
        12      0       chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc
        26      8       chrome/browser/ui/views/toolbar/toolbar_view.cc
        2       1       chrome/browser/ui/views/toolbar/toolbar_view.h
        28      3       chrome/browser/ui/web_applications/draggable_region_host_impl.cc
... successfully applied (with warnings):
        chrome_runtime_views.patch:992: trailing whitespace.
        warning: 1 line adds whitespace errors.

Apply chrome_browser_browser.patch in f:\code\chromium_git\chromium\src
        3       0       chrome/browser/browser_about_handler.cc
        9       2       chrome/browser/ui/BUILD.gn
        122     3       chrome/browser/ui/browser.cc
        41      0       chrome/browser/ui/browser.h
        11      0       chrome/browser/ui/browser_navigator.cc
        15      1       chrome/browser/ui/browser_tabstrip.cc
... successfully applied.

Apply chrome_browser_content_settings.patch in f:\code\chromium_git\chromium\src
        17      0       chrome/browser/content_settings/host_content_settings_map_factory.cc
        1       1       components/content_settings/renderer/content_settings_agent_impl.cc
... successfully applied.

Apply chrome_browser_context_menus.patch in f:\code\chromium_git\chromium\src
        31      0       chrome/browser/renderer_context_menu/render_view_context_menu.cc
        9       0       chrome/browser/renderer_context_menu/render_view_context_menu.h
        3       0       chrome/browser/ui/views/renderer_context_menu/render_view_context_menu_views.cc
        11      0       components/renderer_context_menu/render_view_context_menu_base.cc
        6       0       components/renderer_context_menu/render_view_context_menu_base.h
        5       0       components/renderer_context_menu/render_view_context_menu_observer.cc
        6       0       components/renderer_context_menu/render_view_context_menu_observer.h
... successfully applied.

Apply chrome_browser_dialogs_native.patch in f:\code\chromium_git\chromium\src
        48      6       chrome/browser/file_select_helper.cc
        7       2       chrome/browser/file_select_helper.h
        2       0       chrome/browser/ui/chrome_select_file_policy.h
        5       10      ui/shell_dialogs/execute_select_file_win.cc
        4       2       ui/shell_dialogs/select_file_dialog.cc
        20      3       ui/shell_dialogs/select_file_dialog.h
        2       0       ui/shell_dialogs/select_file_dialog_factory.h
        4       0       ui/shell_dialogs/select_file_dialog_mac.mm
        2       0       ui/shell_dialogs/select_file_dialog_win.cc
... successfully applied.

Apply chrome_browser_dialogs_widget.patch in f:\code\chromium_git\chromium\src
        1       1       chrome/browser/ui/views/chrome_javascript_app_modal_view_factory_views.cc
        19      5       components/constrained_window/constrained_window_views.cc
        14      3       components/constrained_window/native_web_contents_modal_dialog_manager_views.cc
        4       0       components/web_modal/modal_dialog_host.h
        14      8       ui/views/window/dialog_delegate.cc
        11      4       ui/views/window/dialog_delegate.h
... successfully applied.

Apply chrome_browser_extensions.patch in f:\code\chromium_git\chromium\src
        10      0       chrome/browser/extensions/api/chrome_extensions_api_client.cc
... successfully applied.

Apply chrome_browser_frame_mac.patch in f:\code\chromium_git\chromium\src
        16      0       chrome/browser/ui/views/frame/browser_frame_mac.h
        30      6       chrome/browser/ui/views/frame/browser_frame_mac.mm
... successfully applied.

Apply chrome_browser_net_proxy.patch in f:\code\chromium_git\chromium\src
        8       0       chrome/browser/net/proxy_config_monitor.cc
... successfully applied.

Apply chrome_browser_permission_prompt.patch in f:\code\chromium_git\chromium\src
        3       1       chrome/browser/background_fetch/background_fetch_permission_context.cc
        5       0       chrome/browser/background_sync/periodic_background_sync_permission_context.cc
        6       0       chrome/browser/permissions/chrome_permissions_client.cc
        3       0       chrome/browser/permissions/permission_manager_factory.cc
        5       1       chrome/browser/storage/durable_storage_permission_context.cc
        7       0       chrome/browser/ui/permission_bubble/permission_prompt.h
        17      0       chrome/browser/ui/views/permissions/permission_prompt_factory.cc
        8       0       components/embedder_support/permission_context_utils.cc
... successfully applied.

Apply chrome_browser_policy.patch in f:\code\chromium_git\chromium\src
        5       4       chrome/browser/policy/browser_dm_token_storage_linux.cc
        17      9       chrome/browser/policy/browser_dm_token_storage_mac.mm
        85      11      chrome/browser/policy/chrome_browser_policy_connector.cc
        23      0       chrome/browser/policy/chrome_browser_policy_connector.h
        5       8       chrome/browser/policy/policy_path_parser_mac.mm
        8       1       chrome/browser/policy/policy_path_parser_win.cc
        2       1       chrome/common/chrome_paths.cc
        2       1       chrome/common/chrome_paths.h
        8       3       components/policy/tools/generate_policy_source.py
... successfully applied (with warnings):
        warning: components/policy/tools/generate_policy_source.py has type 100644, expected 100755

Apply chrome_browser_themes.patch in f:\code\chromium_git\chromium\src
        13      0       chrome/browser/themes/theme_service.cc
        13      0       chrome/browser/themes/theme_service_factory.cc
... successfully applied.

Apply chrome_browser_profiles.patch in f:\code\chromium_git\chromium\src
        3       1       chrome/browser/profiles/off_the_record_profile_impl.cc
        13      0       chrome/browser/profiles/profile.cc
        6       1       chrome/browser/profiles/profile.h
        3       1       chrome/browser/profiles/profile_impl.cc
        1       1       chrome/browser/profiles/profile_manager.cc
        2       2       chrome/browser/profiles/profile_manager.h
        4       0       chrome/browser/profiles/renderer_updater.cc
        3       0       chrome/browser/profiles/renderer_updater_factory.cc
... successfully applied.

Apply chrome_browser_profile_menu.patch in f:\code\chromium_git\chromium\src
        3       1       chrome/browser/ui/bookmarks/bookmark_stats.cc
        3       1       chrome/browser/ui/views/incognito_clear_browsing_data_dialog.cc
        4       0       chrome/browser/ui/views/incognito_clear_browsing_data_dialog_coordinator.cc
        3       1       chrome/browser/ui/views/profiles/incognito_menu_view.cc
        3       1       chrome/browser/ui/views/profiles/profile_menu_coordinator.cc
... successfully applied.

Apply chrome_utility_client.patch in f:\code\chromium_git\chromium\src
        3       1       chrome/utility/chrome_content_utility_client.cc
... successfully applied.

Apply embedder_product_override.patch in f:\code\chromium_git\chromium\src
        13      0       components/embedder_support/user_agent_utils.cc
... successfully applied.

Apply chrome_browser_safe_browsing.patch in f:\code\chromium_git\chromium\src
        1       0       chrome/browser/safe_browsing/BUILD.gn
... successfully applied.

Apply chrome_plugins.patch in f:\code\chromium_git\chromium\src
        4       0       chrome/browser/plugins/plugin_info_host_impl.cc
        7       3       chrome/browser/plugins/plugin_utils.cc
        7       3       chrome/renderer/chrome_content_renderer_client.cc
        2       1       content/browser/browser_plugin/browser_plugin_embedder.h
        2       0       content/browser/browser_plugin/browser_plugin_guest.cc
        4       0       content/browser/browser_plugin/browser_plugin_guest.h
... successfully applied.

Apply storage_incognito_2289.patch in f:\code\chromium_git\chromium\src
        2       1       content/browser/blob_storage/chrome_blob_storage_context.cc
        3       2       content/browser/browser_context.cc
        3       1       content/public/browser/storage_partition_config.cc
        1       1       storage/browser/database/database_tracker.cc
... successfully applied.

Apply webui_2037.patch in f:\code\chromium_git\chromium\src
        13      1       chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc
        4       1       chrome/browser/memory_details.cc
... successfully applied.

Apply crashpad_1995.patch in f:\code\chromium_git\chromium\src
        13      3       chrome/chrome_elf/BUILD.gn
        9       0       chrome/chrome_elf/crash/crash_helper.cc
        6       4       chrome/common/crash_keys.cc
        4       0       chrome/common/crash_keys.h
        25      6       components/crash/core/app/crash_reporter_client.cc
        19      1       components/crash/core/app/crash_reporter_client.h
        2       1       components/crash/core/app/crashpad.cc
        26      7       components/crash/core/app/crashpad_linux.cc
        42      15      components/crash/core/app/crashpad_mac.mm
        20      10      components/crash/core/app/crashpad_win.cc
... successfully applied.

Apply crashpad_tp_1995.patch in f:\code\chromium_git\chromium\src
        9       3       third_party/crashpad/crashpad/client/prune_crash_reports.cc
        2       1       third_party/crashpad/crashpad/client/prune_crash_reports.h
        57      1       third_party/crashpad/crashpad/client/settings.cc
        5       0       third_party/crashpad/crashpad/client/settings.h
        13      0       third_party/crashpad/crashpad/handler/BUILD.gn
        2       0       third_party/crashpad/crashpad/handler/crash_report_upload_thread.cc
        9       3       third_party/crashpad/crashpad/handler/crash_report_upload_thread.h
        46      1       third_party/crashpad/crashpad/handler/handler_main.cc
... successfully applied.

Apply rwh_background_color_1984.patch in f:\code\chromium_git\chromium\src
        17      4       content/browser/renderer_host/render_widget_host_view_aura.cc
... successfully applied.

Apply content_2015.patch in f:\code\chromium_git\chromium\src
        1       1       content/browser/devtools/devtools_http_handler.cc
        11      0       content/browser/loader/navigation_url_loader_impl.cc
        2       1       content/public/browser/content_browser_client.cc
        19      1       content/public/browser/content_browser_client.h
        7       0       content/public/renderer/content_renderer_client.h
        2       0       content/renderer/render_thread_impl.cc
        9       0       content/renderer/renderer_blink_platform_impl.cc
        3       0       content/renderer/renderer_blink_platform_impl.h
        2       1       content/shell/browser/shell_content_browser_client.cc
        1       1       content/shell/browser/shell_content_browser_client.h
        2       1       headless/lib/browser/headless_content_browser_client.cc
        1       1       headless/lib/browser/headless_content_browser_client.h
... successfully applied.

Apply webkit_plugin_info_2015.patch in f:\code\chromium_git\chromium\src
        5       0       third_party/blink/public/platform/platform.h
        3       0       third_party/blink/renderer/core/inspector/devtools_session.cc
... successfully applied.

Apply printing_context_2196.patch in f:\code\chromium_git\chromium\src
        1       0       chrome/browser/printing/printer_query.cc
        11      0       printing/printing_context.h
... successfully applied.

Apply build.patch in f:\code\chromium_git\chromium\src
        0       2       build/config/compiler/BUILD.gn
... successfully applied.

Apply extensions_1947.patch in f:\code\chromium_git\chromium\src
        19      3       chrome/browser/extensions/api/streams_private/streams_private_api.cc
        43      4       extensions/browser/extension_host.cc
        9       2       extensions/browser/extension_host.h
        10      0       extensions/browser/extension_registry.cc
        10      0       extensions/browser/extensions_browser_client.h
        9       1       extensions/browser/process_manager.cc
        1       1       extensions/common/extensions_client.cc
... successfully applied.

Apply mac_event_observer_2539.patch in f:\code\chromium_git\chromium\src
        4       2       content/browser/scheduler/responsiveness/native_event_observer_mac.mm
... successfully applied.

Apply mac_fling_scheduler_2540.patch in f:\code\chromium_git\chromium\src
        4       0       content/browser/renderer_host/input/fling_scheduler_mac.mm
... successfully applied.

Apply resource_bundle_2512.patch in f:\code\chromium_git\chromium\src
        11      0       ui/base/resource/resource_bundle.cc
        5       0       ui/base/resource/resource_bundle.h
... successfully applied.

Apply message_pump_mac_2495.patch in f:\code\chromium_git\chromium\src
        4       2       base/message_loop/message_pump_apple.mm
... successfully applied.

Apply linux_assets_path_1936.patch in f:\code\chromium_git\chromium\src
        1       1       content/browser/child_process_launcher_helper_linux.cc
        1       1       sandbox/linux/suid/client/setuid_sandbox_host.cc
        1       1       ui/ozone/common/egl_util.cc
... successfully applied.

Apply linux_blink_thread_local.patch in f:\code\chromium_git\chromium\src
        1       1       third_party/blink/renderer/platform/heap/thread_local.h
... successfully applied.

Apply linux_chrome_widevine_3149.patch in f:\code\chromium_git\chromium\src
        23      4       chrome/common/media/component_widevine_cdm_hint_file_linux.cc
... successfully applied.

Apply services_network_2622.patch in f:\code\chromium_git\chromium\src
        4       0       chrome/browser/enterprise/connectors/analysis/content_analysis_delegate.cc
        27      8       chrome/browser/net/profile_network_context_service.cc
        2       0       chrome/browser/signin/identity_manager_factory.cc
        19      0       net/cookies/cookie_monster.cc
        2       0       net/cookies/cookie_monster.h
        5       0       net/cookies/cookie_store.h
        3       8       services/network/cookie_manager.cc
        11      7       services/network/network_context.cc
        3       0       services/network/public/mojom/network_context.mojom
... successfully applied.

Apply services_network_2718.patch in f:\code\chromium_git\chromium\src
        10      13      content/browser/storage_partition_impl.cc
... successfully applied.

Apply net_cookie_flags.patch in f:\code\chromium_git\chromium\src
        3       0       net/base/load_flags_list.h
        2       1       net/url_request/url_request_http_job.cc
        2       1       services/network/public/cpp/resource_request.cc
... successfully applied.

Apply set_resize_background_color.patch in f:\code\chromium_git\chromium\src
        4       0       ui/views/controls/webview/webview.cc
        4       0       ui/views/controls/webview/webview.h
... successfully applied.

Apply browser_scheduler.patch in f:\code\chromium_git\chromium\src
        1       1       content/browser/scheduler/browser_task_executor.cc
... successfully applied.

Apply browser_web_ui_controller_factory.patch in f:\code\chromium_git\chromium\src
        0       3       content/public/browser/web_ui_controller_factory.h
        4       0       content/public/browser/webui_config_map.h
... successfully applied.

Apply chrome_pref_watcher.patch in f:\code\chromium_git\chromium\src
        1       1       chrome/browser/ui/prefs/pref_watcher.h
... successfully applied.

Apply viz_osr_2575.patch in f:\code\chromium_git\chromium\src
        9       1       components/viz/host/host_display_client.cc
        3       2       components/viz/host/host_display_client.h
        1       1       components/viz/host/layered_window_updater_impl.cc
        1       1       components/viz/host/layered_window_updater_impl.h
        2       0       components/viz/service/BUILD.gn
        16      0       components/viz/service/display_embedder/output_surface_provider_impl.cc
        3       2       components/viz/service/display_embedder/software_output_device_win.cc
        7       2       content/browser/compositor/viz_process_transport_factory.cc
        3       0       mojo/public/cpp/bindings/sync_call_restrictions.h
        3       1       services/viz/privileged/mojom/compositing/display_private.mojom
        1       1       services/viz/privileged/mojom/compositing/layered_window_updater.mojom
        15      0       ui/compositor/compositor.h
... successfully applied.

Apply print_preview_123.patch in f:\code\chromium_git\chromium\src
        10      0       chrome/browser/download/download_prefs.cc
        1       0       chrome/browser/printing/print_preview_dialog_controller.cc
        1       4       chrome/browser/resources/print_preview/ui/destination_dialog.html
        3       0       chrome/browser/ui/webui/constrained_web_dialog_ui.cc
        9       1       chrome/browser/ui/webui/print_preview/print_preview_ui.cc
... successfully applied.

Apply base_command_line_1872.patch in f:\code\chromium_git\chromium\src
        1       2       base/command_line.cc
... successfully applied.

Apply base_sandbox_2743.patch in f:\code\chromium_git\chromium\src
        12      1       base/BUILD.gn
        2       1       base/allocator/dispatcher/dispatcher.cc
        2       1       base/hash/md5.h
        3       1       base/hash/sha1.h
        3       2       base/rand_util.h
        11      0       base/rand_util_win.cc
        3       2       base/unguessable_token.cc
        10      0       base/win/sid.cc
... successfully applied.

Apply base_sandbox_3519.patch in f:\code\chromium_git\chromium\src
        4       0       base/ranges/ranges.h
        8       0       base/win/registry.cc
... successfully applied.

Apply osr_fling_2745.patch in f:\code\chromium_git\chromium\src
        3       0       content/browser/renderer_host/input/fling_scheduler.cc
        11      0       content/browser/renderer_host/input/fling_scheduler_base.h
        5       0       content/browser/renderer_host/render_widget_host_impl.cc
        1       0       content/browser/renderer_host/render_widget_host_impl.h
... successfully applied.

Apply win_cpp17_msvc_sandbox_2819.patch in f:\code\chromium_git\chromium\src
        5       0       base/third_party/double_conversion/BUILD.gn
        3       0       base/win/BUILD.gn
... successfully applied.

Apply libxml_visibility.patch in f:\code\chromium_git\chromium\src
        1       0       third_party/libxml/BUILD.gn
... successfully applied.

Apply renderer_host_1070713.patch in f:\code\chromium_git\chromium\src
        2       0       content/browser/renderer_host/render_view_host_impl.cc
... successfully applied.

Apply browser_security_policy_1081397.patch in f:\code\chromium_git\chromium\src
        10      0       content/browser/child_process_security_policy_impl.cc
        22      1       content/browser/renderer_host/navigation_request.cc
... successfully applied.

Apply chrome_browser_background_mode_1100085.patch in f:\code\chromium_git\chromium\src
        1       1       chrome/browser/browser_process.h
        1       5       chrome/browser/browser_process_impl.cc
        1       1       chrome/browser/browser_process_impl.h
        2       0       chrome/browser/lifetime/browser_close_manager.cc
... successfully applied.

Apply linux_atk_1123214.patch in f:\code\chromium_git\chromium\src
        1       1       build/config/linux/atk/BUILD.gn
        1       1       build/config/linux/atspi2/BUILD.gn
... successfully applied.

Apply win_sandbox_3210.patch in f:\code\chromium_git\chromium\src
        7       0       sandbox/policy/win/sandbox_win.cc
... successfully applied.

Apply win_sandbox_policy.patch in f:\code\chromium_git\chromium\src
        1       1       sandbox/win/src/sandbox_policy.h
        6       6       sandbox/win/src/sandbox_policy_base.cc
        4       4       sandbox/win/src/sandbox_policy_base.h
... successfully applied.

Apply win_shell_dialogs_3294.patch in f:\code\chromium_git\chromium\src
        6       0       ui/shell_dialogs/base_shell_dialog_win.cc
... successfully applied.

Apply linux_bluetooth_1319006.patch in f:\code\chromium_git\chromium\src
        6       4       device/bluetooth/BUILD.gn
... successfully applied.

Apply linux_printing_context.patch in f:\code\chromium_git\chromium\src
        6       6       printing/printing_context_linux.cc
        18      0       ui/linux/linux_ui.cc
        23      9       ui/linux/linux_ui.h
... successfully applied.

Apply net_test_server_3798752.patch in f:\code\chromium_git\chromium\src
        2       2       net/test/embedded_test_server/embedded_test_server.cc
... successfully applied.

Apply linux_glib_deprecated_volatile.patch in f:\code\chromium_git\chromium\src
        4       0       ui/accessibility/platform/BUILD.gn
        4       0       ui/gtk/BUILD.gn
... successfully applied.

Apply blink_web_element_4200240.patch in f:\code\chromium_git\chromium\src
        3       0       third_party/blink/public/web/web_element.h
        18      0       third_party/blink/renderer/core/exported/web_element.cc
... successfully applied.

Apply metrics_system_profile.patch in f:\code\chromium_git\chromium\src
        4       0       components/metrics/persistent_system_profile.cc
        4       0       components/metrics/persistent_system_profile.h
... successfully applied.

Apply base_test_4396276.patch in f:\code\chromium_git\chromium\src
        3       33      base/test/BUILD.gn
        5       0       base/test/test_trace_processor_export.h
        0       1       content/shell/BUILD.gn
... successfully applied.

Apply ui_views_widget_type.patch in f:\code\chromium_git\chromium\src
        2       0       chrome/browser/ui/views/chrome_views_delegate_linux.cc
        2       1       ui/views/test/desktop_test_views_delegate_aura.cc
... successfully applied.

Apply screen_1443650.patch in f:\code\chromium_git\chromium\src
        2       2       ui/display/screen.cc
        2       2       ui/display/win/screen_win.cc
... successfully applied.

Apply mac_platform_style_bubble_893292.patch in f:\code\chromium_git\chromium\src
        2       2       chrome/browser/ui/views/profiles/profile_menu_view_base.cc
        1       1       ui/views/style/platform_style_mac.mm
... successfully applied.

Apply mac_keyboard_conversion_1467329.patch in f:\code\chromium_git\chromium\src
        1       1       ui/events/keycodes/keyboard_code_conversion_mac.mm
... successfully applied.

Apply light_mode_3534.patch in f:\code\chromium_git\chromium\src
        10      0       base/win/dark_mode_support.cc
        16      3       ui/native_theme/native_theme_mac.mm
        8       4       ui/native_theme/native_theme_win.cc
... successfully applied.

87 patches total (86 applied, 1 skipped, 0 failed)

Generating CEF project files...
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x64 directory.
Done. Made 19184 targets from 3454 files in 25328ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x64\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x64 directory.
Done. Made 19182 targets from 3454 files in 22035ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x64\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x64_sandbox directory.
Done. Made 18121 targets from 3406 files in 22196ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x64_sandbox\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x64_sandbox directory.
Done. Made 18636 targets from 3405 files in 21239ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x64_sandbox\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x86 directory.
Done. Made 19656 targets from 3454 files in 25916ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x86\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x86 directory.
Done. Made 19654 targets from 3454 files in 25344ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x86\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Debug_GN_x86_sandbox directory.
Done. Made 18328 targets from 3406 files in 23725ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Debug_GN_x86_sandbox\obj\cef\libcef.ninja
Creating f:\code\chromium_git\chromium\src\out\Release_GN_x86_sandbox directory.
Done. Made 18843 targets from 3405 files in 23605ms
Applying issue #1999 fix to f:\code\chromium_git\chromium\src\out\Release_GN_x86_sandbox\obj\cef\libcef.ninja
--> f:\code\chromium_git\chromium\src\out\Debug_GN_x86\args.gn contents:
alternate_cdm_storage_id_key="968b476909da4373b08903c28e859454"
clang_use_chrome_plugins=false
dcheck_always_on=true
disable_fieldtrial_testing_config=true
enable_background_mode=false
enable_basic_printing=true
enable_cdm_host_verification=true
enable_cdm_storage_id=true
enable_nacl=false
enable_print_preview=true
enable_resource_allowlist_generation=false
enable_rlz=true
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="x86"
v8_enable_sandbox=false
-------- Running "ninja -C out\Debug_GN_x86 cefclient" in "f:\code\chromium_git\chromium\src"...
ninja: Entering directory `out\Debug_GN_x86'
[60029/60029] LINK cefclient.exe cefclient.exe.pdb
--> f:\code\chromium_git\chromium\src\out\Debug_GN_x86_sandbox\args.gn contents:
alternate_cdm_storage_id_key="968b476909da4373b08903c28e859454"
clang_use_chrome_plugins=false
enable_background_mode=false
enable_backup_ref_ptr_support=false
enable_base_tracing=false
enable_basic_printing=true
enable_cdm_host_verification=true
enable_cdm_storage_id=true
enable_nacl=false
enable_print_preview=true
enable_resource_allowlist_generation=false
enable_rlz=true
enable_rust=false
enable_widevine=true
ffmpeg_branding="Chrome"
forbid_non_component_debug_builds=false
is_cef_sandbox_build=true
is_component_build=false
is_debug=true
is_official_build=false
optimize_webui=true
proprietary_codecs=true
target_cpu="x86"
use_allocator_shim=false
use_custom_libcxx=false
use_partition_alloc=false
use_partition_alloc_as_malloc=false
v8_enable_sandbox=false
-------- Running "ninja -C out\Debug_GN_x86_sandbox cef_sandbox" in "f:\code\chromium_git\chromium\src"...
ninja: Entering directory `out\Debug_GN_x86_sandbox'
[76/883] CXX obj/base/allocator/partition_allocator/allocator_base/cstring_builder.obj
FAILED: obj/base/allocator/partition_allocator/allocator_base/cstring_builder.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /c ../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc /Foobj/base/allocator/partition_allocator/allocator_base/cstring_builder.obj /nologo /showIncludes:user "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-imsvcC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\include" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -DDCHECK_ALWAYS_ON=1 -DUSE_AURA=1 -D_HAS_NODISCARD -D_CRT_NONSTDC_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS "-DCR_CLANG_REVISION=\"llvmorg-17-init-16420-g0c545a44-8\"" -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_NI -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -D_HAS_ITERATOR_DEBUGGING=0 -DIS_PARTITION_ALLOC_IMPL -I../.. -Igen /W4 -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety /WX -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-nonportable-include-path -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 /clang:-ffp-contract=off -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase -ffile-reproducible /Zc:sizedDealloc- /D__WRL_ENABLE_FUNCTION_STATICS__ -fmsc-version=1934 -m32 -msse3 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -ffile-compilation-dir=. -no-canonical-prefixes -ftrivial-auto-var-init=pattern /Z7 -gno-codeview-command-line -gcodeview-ghash -Xclang -fuse-ctor-homing /guard:cf,nochecks /MTd -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /O2 /Ob2 /Oy- /Zc:inline /Gw -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare /std:c++20 -Wno-trigraphs /TP /GR- /Fd"obj/base/allocator/partition_allocator/allocator_base_cc.pdb"
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(64,26): error: no member named 'numeric_limits' in namespace 'std'
   64 |   char buffer[Log10(std::numeric_limits<T>::max()) + 3];
      |                     ~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(64,41): error: 'T' does not refer to a value
   64 |   char buffer[Log10(std::numeric_limits<T>::max()) + 3];
      |                                         ^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(58,20): note: declared here
   58 | template <typename T>
      |                    ^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(64,45): error: no member named 'max' in the global namespace
   64 |   char buffer[Log10(std::numeric_limits<T>::max()) + 3];
      |                                           ~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(162,47): error: no member named 'numeric_limits' in namespace 'std'
  162 |       PutNormalFloatingPoint(value > 0 ? std::numeric_limits<double>::min()
      |                                          ~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(162,68): error: expected '(' for function-style cast or type construction
  162 |       PutNormalFloatingPoint(value > 0 ? std::numeric_limits<double>::min()
      |                                                              ~~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(162,71): error: no member named 'min' in the global namespace
  162 |       PutNormalFloatingPoint(value > 0 ? std::numeric_limits<double>::min()
      |                                                                     ~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(163,48): error: no member named 'numeric_limits' in namespace 'std'
  163 |                                        : -std::numeric_limits<double>::min(),
      |                                           ~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(163,69): error: expected '(' for function-style cast or type construction
  163 |                                        : -std::numeric_limits<double>::min(),
      |                                                               ~~~~~~^
../../base/allocator/partition_allocator/partition_alloc_base/strings/cstring_builder.cc(163,72): error: no member named 'min' in the global namespace
  163 |                                        : -std::numeric_limits<double>::min(),
      |                                                                      ~~^
9 errors generated.
[83/883] CXX obj/base/allocator/partition_allocator/allocator_base/time.obj
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "automate\automate-git.py", line 1368, in <module>
    run(command + build_path + ' cef_sandbox', chromium_src_dir, depot_tools_dir,
  File "automate\automate-git.py", line 66, in run
    return subprocess.check_call(
  File "F:\code\depot_tools\bootstrap-3_8_0_chromium_8_bin\python3\bin\lib\subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug_GN_x86_sandbox', 'cef_sandbox']' returned non-zero exit status 1.

After building Debug_GN_x86, an error occurs in the build of Debug_GN_x86_sandbox.
Error in 'cstring_builder.cc'.
I am guessing from the error message that the compiler is not referencing the correct headers.
if anyone know something, please give me advice.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5993 branch build fails (Win32)

Postby naoki5 » Wed Nov 08, 2023 1:08 am

I tried building 5938 as a test, but no error occurred.

This person is unable to build 6045 with the same error.
However, unlike me, this person can build 5993.
viewtopic.php?f=6&t=19606
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5993 branch build fails (Win32)

Postby naoki5 » Wed Nov 08, 2023 9:21 pm

I have tried the 6045 build and it still fails with the same error.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Re: 5993 branch build fails (Win32)

Postby magreenblatt » Thu Nov 09, 2023 9:27 am

Did you install all required Visual Studio components? See https://chromium.googlesource.com/chrom ... ual-Studio
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: 5993 branch build fails (Win32)

Postby naoki5 » Thu Nov 09, 2023 11:11 pm

magreenblatt wrote:Did you install all required Visual Studio components? See https://chromium.googlesource.com/chrom ... ual-Studio


I will check my environment.
Thanks.
naoki5
Expert
 
Posts: 107
Joined: Wed Jul 17, 2019 2:44 am

Next

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 172 guests