CEF 3945 build errors, troubles with perfetto?

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.

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Fri Jul 17, 2020 10:16 am

The out directories suffixed with _sandbox are only for building the “cef_sandbox” target. The “corrupted record” error may be fixed by a clean build.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Tue Jul 21, 2020 11:48 pm

I repeated the process of getting the sources into a new folder, and tried to build the target cef_sandbox with the command:

ninja -C out \ Release_GN_x64_sandbox cef_sandbox

but only got the following output:

Code: Select all
ninja: Entering directory `out\Release_GN_x64_sandbox'
[507/507] LIB obj/cef/cef_sandbox.lib
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Wed Jul 22, 2020 12:23 am

I tried to build without sandbox suffix and got the following errors:

Code: Select all
C:\dev\cef_4147\chromium-git\chromium\src>ninja -C out\Release_GN_x64_sandbox cef
ninja: Entering directory `out\Release_GN_x64_sandbox'
[5570/39786] LINK flatc.exe flatc.exe.pdb
FAILED: flatc.exe flatc.exe.pdb
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /nologo "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\lib\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\lib\um\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\lib\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\lib\um\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "-libpath:..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /OUT:./flatc.exe /PDB:./flatc.exe.pdb @./flatc.exe.rsp
lld-link: error: duplicate symbol: bool const std::_Is_integral<bool>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<char>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<signed char>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned char>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<wchar_t>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<char16_t>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<char32_t>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<short>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned short>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<int>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned int>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<long>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned long>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<__int64>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned __int64>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_floating_point<float>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_floating_point<double>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_floating_point<long double>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::is_void_v<void>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::is_void_v<void const>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors)
[5587/39786] ACTION //third_party/devtools-fron...e_devtools(//build/toolchain/win:win_clang_x64)
ninja: build stopped: subcommand failed.
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Wed Jul 22, 2020 1:45 am

I tried to build CEF without sandbox in folder out\Release_GN_x64 and got the following errors:

Code: Select all
C:\dev\cef_4147\chromium-git\chromium\src>ninja -C out\Release_GN_x64 cef
ninja: Entering directory `out\Release_GN_x64'
[8408/40803] CC obj/third_party/libxslt/libxslt/attributes.obj
FAILED: obj/third_party/libxslt/libxslt/attributes.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes:user "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\include\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\include\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DUSE_AURA=1 -DOFFICIAL_BUILD "-DCR_CLANG_REVISION=\"n353803-99ac9ce7-1\"" -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_NO_AUTO_LINK -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_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DLIBXSLT_STATIC -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DUSE_CHROMIUM_ICU=1 -DU_ENABLE_TRACING=1 -DU_ENABLE_RESOURCE_TRACING=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=wchar_t -I../../third_party/libxslt/win32 -I../.. -Igen -I../../third_party/libxslt/src -I../../third_party/libxml/src/include -I../../third_party/libxml/win32/include -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n /wd4267 /wd4311 -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase /Zc:sizedDealloc- /X -fmsc-version=1916 /guard:cf,nochecks -m64 /Brepro -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -Xclang -debug-info-kind=constructor /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare /W3 /wd4800 /wd4267 /wd4996 -Wno-unused-variable -Wno-misleading-indentation /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-pointer-sign -Wno-unused-function -DLIBXML_STATIC= /TC -Wno-implicit-fallthrough /c ../../third_party/libxslt/src/libxslt/attributes.c /Foobj/third_party/libxslt/libxslt/attributes.obj /Fd"obj/third_party/libxslt/libxslt_c.pdb"
In file included from ../../third_party/libxslt/src/libxslt/attributes.c:46:
../../third_party/libxslt/src/libxslt/namespaces.h(1,1): error: null character ignored [-Werror,-Wnull-character]
<U+0000>
^
../../third_party/libxslt/src/libxslt/namespaces.h(1,2): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000>
        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,3): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000>
                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,4): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000>
                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,5): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000>
                                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,6): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,7): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,8): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,9): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,10): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,11): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,12): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,13): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,14): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,15): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                                                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,16): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                                                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,17): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                                                                ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,18): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                                                                        ^
../../third_party/libxslt/src/libxslt/namespaces.h(1,19): error: null character ignored [-Werror,-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
                                                                                                                                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[8425/40803] CC obj/third_party/libxml/libxml/parser.obj
ninja: build stopped: subcommand failed.
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Wed Jul 22, 2020 2:04 am

The environment that I used on all attempts:

Windows 10
Visual Studio 2019 Developer Command Prompt v16.2.3
SDK: 10.0.18362.0

set WIN_CUSTOM_TOOLCHAIN=0
set DEPOT_TOOLS_WIN_TOOLCHAIN=0

set GN_DEFINES=is_official_build=true is_component_build=false is_debug=false use_jumbo_build=false is_clang=true
set GYP_MSVS_VERSION=2019
set GYP_DEFINES=target_arch=x64
set CEF_ARCHIVE_FORMAT=tar.bz2
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*


To get the source, I use the command:

python ..\automate\automate-git.py --download-dir=c:\code\chromium_git --depot-tools-dir=c:\code\depot_tools --no-distrib --no-build --branch=4147

The command to create chromium projects is
cd C:\code\chromium_git\chromium\src\cef
call cef_create_projects.bat

I don't understand, what am I doing wrong?
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ndesktop » Wed Jul 22, 2020 4:59 am

Code: Select all
[8408/40803] CC obj/third_party/libxslt/libxslt/attributes.obj
FAILED: obj/third_party/libxslt/libxslt/attributes.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes:user "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\include\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt"
...

Looks like you are using SDK 10.0.18362.0.
Although it seems to be supported for 3945, it won't hurt to get the 10.0.19041 SDK.

But what is strange is
Code: Select all
In file included from ../../third_party/libxslt/src/libxslt/attributes.c:46:
../../third_party/libxslt/src/libxslt/namespaces.h(1,1): error: null character ignored [-Werror,-Wnull-character]
<U+0000>
^

This is almost always wrong, but caused by a some form of encoding mismatch, and at a first glance this could be a git CRLF thing.
I'd say you checked out with some git and settings other than what is it in depot_tools.
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby Czarek » Wed Jul 22, 2020 5:10 am

Why do you need "is_clang=true" GN option?
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Thu Jul 23, 2020 12:46 am

Thanks everyone for the answers.

Czarek wrote:Why do you need "is_clang=true" GN option?


without GN option "is_clang = true" I get the errors related to the missing headers for std::min, std::max, etc

ndesktop wrote:
Code: Select all
[8408/40803] CC obj/third_party/libxslt/libxslt/attributes.obj
FAILED: obj/third_party/libxslt/libxslt/attributes.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes:user "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\include\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt"
...

Looks like you are using SDK 10.0.18362.0.
Although it seems to be supported for 3945, it won't hurt to get the 10.0.19041 SDK.

But what is strange is
Code: Select all
In file included from ../../third_party/libxslt/src/libxslt/attributes.c:46:
../../third_party/libxslt/src/libxslt/namespaces.h(1,1): error: null character ignored [-Werror,-Wnull-character]
<U+0000>
^

This is almost always wrong, but caused by a some form of encoding mismatch, and at a first glance this could be a git CRLF thing.
I'd say you checked out with some git and settings other than what is it in depot_tools.



I'm currently trying to build branch 4147. I cleaned the build again and the non-sandbox version compiled without problems.

The problem remains compiling the sandboxed version.

This output is all that I will get after when compiling with the following command:
ninja -C out \ Release_GN_x64_sandbox cef_sandbox

Code: Select all
C:\code\chromium_git\chromium\src>ninja -C out\Release_GN_x64_sandbox cef_sandbox
ninja: Entering directory `out\Release_GN_x64_sandbox'
[507/507] LIB obj/cef/cef_sandbox.lib


Only cef_sandbox.lib is created. The expected result is a fully compiled build in the folder out\Release_GN_x64_sandbox
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Thu Jul 23, 2020 2:13 am

I repeated the build process and the situation with the sandbox version build was exactly the same

it's a full log

Code: Select all
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.2.3
** Copyright (c) 2019 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

c:\dev\cef_4147>buildBranch.bat 4147
'buildBranch.bat' is not recognized as an internal or external command,
operable program or batch file.

c:\dev\cef_4147>cd ..

c:\dev>buildBranch.bat 4147

c:\dev>if [4147] == [] (echo "Branch verison required. Use buildBranch.bat <branch_number>" )  else (
mkdir cef_4147
 cd cef_4147
 mkdir automate
 mkdir chromium-git
 copy ..\update_dt.bat update_dt.bat
 copy ..\update.bat chromium-git\update.bat
 copy ..\build.bat chromium-git\build.bat
 copy ..\make_distrib_x64.bat chromium-git\make_distrib_x64.bat
 call update_dt.bat
 cd chromium-git
 call build.bat 4147
)
A subdirectory or file cef_4147 already exists.
A subdirectory or file automate already exists.
A subdirectory or file chromium-git already exists.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.
        1 file(s) copied.

c:\dev\cef_4147\chromium-git>call update.bat 4147

c:\dev\cef_4147\chromium-git>curl https://bitbucket.org/chromiumembedded/cef/raw/master/tools/automate/automate-git.py  1>..\automate\automate-git.py
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 55791  100 55791    0     0  55791      0  0:00:01  0:00:01 --:--:-- 49592

c:\dev\cef_4147\chromium-git>call :NORMALIZEPATH "..\depot_tools"

c:\dev\cef_4147\chromium-git>SET RETVAL=c:\dev\cef_4147\depot_tools

c:\dev\cef_4147\chromium-git>EXIT /B

c:\dev\cef_4147\chromium-git>set DEPOT_PATH=c:\dev\cef_4147\depot_tools

c:\dev\cef_4147\chromium-git>call :NORMALIZEPATH "..\chromium-git"

c:\dev\cef_4147\chromium-git>SET RETVAL=c:\dev\cef_4147\chromium-git

c:\dev\cef_4147\chromium-git>EXIT /B

c:\dev\cef_4147\chromium-git>set CHR_GIT_PATH=c:\dev\cef_4147\chromium-git

c:\dev\cef_4147\chromium-git>set PATH=c:\dev\cef_4147\depot_tools;c:\dev\cef_4147\depot_tools;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.7.2 Tools\x64\;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Users\lkuku\AppData\Local\Microsoft\WindowsApps;;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja

c:\dev\cef_4147\chromium-git>set WIN_CUSTOM_TOOLCHAIN=0

c:\dev\cef_4147\chromium-git>set DEPOT_TOOLS_WIN_TOOLCHAIN=0

c:\dev\cef_4147\chromium-git>set CEF_USE_GN=1

c:\dev\cef_4147\chromium-git>set GN_DEFINES=is_official_build=true is_component_build=false is_debug=false use_jumbo_build=false is_clang=true

c:\dev\cef_4147\chromium-git>set GYP_MSVS_VERSION=2019

c:\dev\cef_4147\chromium-git>set GYP_DEFINES=target_arch=x64

c:\dev\cef_4147\chromium-git>set CEF_ARCHIVE_FORMAT=tar.bz2

c:\dev\cef_4147\chromium-git>set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*

c:\dev\cef_4147\chromium-git>python ..\automate\automate-git.py --download-dir=c:\dev\cef_4147\chromium-git --depot-tools-dir=c:\dev\cef_4147\depot_tools --no-distrib --no-build  --branch=4147 --force-clean --x64-build
--> Download Directory: c:\dev\cef_4147\chromium-git
--> Depot Tools Directory: c:\dev\cef_4147\depot_tools
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "c:\dev\cef_4147\depot_tools"...
--> Removing directory c:\dev\cef_4147\chromium-git\cef
--> CEF Branch: 4147
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: c:\dev\cef_4147\chromium-git\cef
-------- Running "c:\dev\cef_4147\depot_tools\git.bat clone https://bitbucket.org/chromiumembedded/cef.git c:\dev\cef_4147\chromium-git\cef" in "c:\dev\cef_4147\chromium-git"...
Cloning into 'c:\dev\cef_4147\chromium-git\cef'...
remote: Counting objects: 63350, done.
remote: Compressing objects: 100% (7447/7447), done.
remote: Total 63350 (delta 5800), reused 0 (delta 0)
Receiving objects: 100% (63350/63350), 22.34 MiB | 3.06 MiB/s, done.
Resolving deltas: 100% (53571/53571), done.
Updating files: 100% (1956/1956), done.
-------- Running "c:\dev\cef_4147\depot_tools\git.bat rev-parse HEAD" in "c:\dev\cef_4147\chromium-git\cef"...
-------- Running "c:\dev\cef_4147\depot_tools\git.bat rev-parse origin/4147" in "c:\dev\cef_4147\chromium-git\cef"...
--> CEF Current Checkout: 845322b5fb7b8cab2298f29da42db050d1eb17c7
--> CEF Desired Checkout: ffc2f0ea62c39764f6bfed388fb062e423367040 (origin/4147)
-------- Running "c:\dev\cef_4147\depot_tools\git.bat checkout --force origin/4147" in "c:\dev\cef_4147\chromium-git\cef"...
Note: switching to 'origin/4147'.

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 ffc2f0ea cmake: Update documentation of build requirements and examples
--> Reading c:\dev\cef_4147\chromium-git\cef\CHROMIUM_BUILD_COMPATIBILITY.txt
-------- Running "c:\dev\cef_4147\depot_tools\git.bat checkout --force 233589f2e7" in "c:\dev\cef_4147\depot_tools"...
Previous HEAD position was cebfb4e6 Adding --skip-title option to git cl upload
HEAD is now at 233589f2 [dirmd] Roll to the latest version
--> CEF Output Directory: c:\dev\cef_4147\chromium-git\out_4147
-------- Running "gclient sync --nohooks --with_branch_heads --jobs 16" in "c:\dev\cef_4147\chromium-git\chromium"...
1>________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git C:\dev\cef_4147\chromium-git\chromium\_gclient_src_qkqgz6yc' in 'C:\dev\cef_4147\chromium-git\chromium'
1>Cloning into 'C:\dev\cef_4147\chromium-git\chromium\_gclient_src_qkqgz6yc'...
1>remote: Counting objects: 303025, done     Counting objects: 1
1>remote: Finding sources: 100% (3790/3790)
1>remote: Total 14502618 (delta 10881058), reused 14501540 (delta 10881058)
1>Receiving objects: 100% (14502618/14502618), 21.28 GiB | 3.77 MiB/s, done.
1>Resolving deltas: 100% (10881058/10881058), done.

1>Syncing projects:   0% ( 0/ 2)
[2:18:18] Still working on:
[2:18:18]   src
Syncing projects:  13% (15/110) src/third_party/blink/web_tests/wpt_internal/webgpu/third_party/glslang_js:Syncing projects:  14% (16/110) src/buildtools/clang_format/script                                         Syncing projects:  57% (63/110) src/third_party/openxr/src

[2:56:31] Still working on:
[2:56:31]   src/v8
Syncing projects: 100% (118/118), done.
-------- Running "c:\dev\cef_4147\depot_tools\git.bat config --get remote.origin.url" in "c:\dev\cef_4147\chromium-git\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "c:\dev\cef_4147\depot_tools\git.bat fetch" in "c:\dev\cef_4147\chromium-git\chromium\src"...
remote: Counting objects: 251781, done
remote: Finding sources: 100% (168/168)
remote: Total 168 (delta 28), reused 121 (delta 28)
Receiving objects: 100% (168/168), 915.78 KiB | 2.01 MiB/s, done.
Resolving deltas: 100% (28/28), completed with 26 local objects.
From https://chromium.googlesource.com/chromium/src
   0498040d2dc1..b78c57f62a6a  lkgr                  -> origin/lkgr
   d0effefbaf6e..eb6317a2625d  lkgr-android-internal -> origin/lkgr-android-internal
   d0effefbaf6e..eb6317a2625d  lkgr-ios-internal     -> origin/lkgr-ios-internal
   d9e9e4295456..6f851a2e2fbb  master                -> origin/master
-------- Running "c:\dev\cef_4147\depot_tools\git.bat fetch --tags" in "c:\dev\cef_4147\chromium-git\chromium\src"...
remote: Counting objects: 318631, done
remote: Finding sources: 100% (3/3)
remote: Total 3 (delta 2), reused 3 (delta 2)
Unpacking objects: 100% (3/3), done.
From https://chromium.googlesource.com/chromium/src
 * [new tag]                   86.0.4210.1 -> 86.0.4210.1
-------- Running "c:\dev\cef_4147\depot_tools\git.bat rev-parse HEAD" in "c:\dev\cef_4147\chromium-git\chromium\src"...
-------- Running "c:\dev\cef_4147\depot_tools\git.bat rev-parse refs/tags/84.0.4147.89" in "c:\dev\cef_4147\chromium-git\chromium\src"...
--> Chromium Current Checkout: d9e9e4295456aac3bff9b6110ab6ce5f61ed7f8c
--> Chromium Desired Checkout: a4c2a1876a86e9d6247402907b48100e648cbfdc (refs/tags/84.0.4147.89)
-------- Running "c:\dev\cef_4147\depot_tools\git.bat checkout --force refs/tags/84.0.4147.89" in "c:\dev\cef_4147\chromium-git\chromium\src"...
Updating files: 100% (69474/69474), done.
Previous HEAD position was d9e9e4295456 [Sheriff]: Update expectations for failing tests on Mac 10.14
HEAD is now at a4c2a1876a86 Publish DEPS for 84.0.4147.89
--> Chromium DEPS file: c:\dev\cef_4147\chromium-git\chromium\src\DEPS
-------- Running "gclient sync --reset --nohooks --with_branch_heads --jobs 16" in "c:\dev\cef_4147\chromium-git\chromium"...
Syncing projects:  14% (15/106) src/third_party/blink/web_tests/wpt_internal/webgpu/third_party/glslang_js:chromium/thirSyncing projects:  15% (16/106) src/media/cdm/api                                                                       Syncing projects: 100% (114/114), done.

WARNING: 'src\third_party\nearby\src' is no longer part of this client.
It is recommended that you manually remove it or use 'gclient sync -D' next time.

WARNING: 'src\third_party\securemessage\src' is no longer part of this client.
It is recommended that you manually remove it or use 'gclient sync -D' next time.

WARNING: 'src\third_party\tint\src' is no longer part of this client.
It is recommended that you manually remove it or use 'gclient sync -D' next time.

WARNING: 'src\third_party\ukey2\src' is no longer part of this client.
It is recommended that you manually remove it or use 'gclient sync -D' next time.
-------- Running "c:\dev\cef_4147\depot_tools\python.bat c:\dev\cef_4147\chromium-git\cef\tools\patcher.py --patch-file "c:\dev\cef_4147\chromium-git\cef\patch\patches\runhooks" --patch-dir "c:\dev\cef_4147\chromium-git\chromium\src"" in "c:\dev\cef_4147\chromium-git\chromium\src"...

Apply runhooks.patch in c:\dev\cef_4147\chromium-git\chromium\src
        15      7       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 "c:\dev\cef_4147\chromium-git\chromium"...
Hook 'vpython.bat src/build/landmines.py' took 76.05 secs
Hook 'vpython.bat src/third_party/depot_tools/update_depot_tools_toggle.py --disable' took 10.78 secs
Running hooks:   5% ( 5/93) nacltools
________ running 'vpython.bat src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' in 'C:\dev\cef_4147\chromium-git\chromium'
INFO: Extracting package (nacl_arm_glibc) to directory: C:\dev\cef_4147\chromium-git\chromium\src\native_client\toolchain\win_x86\nacl_arm_glibc
INFO: Extracting binutils_arm_i686_w64_mingw32.tgz (1/6)
INFO: Extracting package (pnacl_translator) to directory: C:\dev\cef_4147\chromium-git\chromium\src\native_client\toolchain\win_x86\pnacl_translator
INFO: Extracting sandboxed_translators.tgz (1/1)
|------------------------------------------------|
.................................................
Hook 'vpython.bat src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' took 256.28 secs
Running hooks:  16% (15/93) clang
________ running 'vpython.bat src/tools/clang/scripts/update.py' in 'C:\dev\cef_4147\chromium-git\chromium'
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-n353803-99ac9ce7-1.tgz .......... Done.
Hook 'vpython.bat src/tools/clang/scripts/update.py' took 20.62 secs
Running hooks:  24% (23/93) clang_format_win
________ running 'vpython.bat src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-clang-format -s src/buildtools/win/clang-format.exe.sha1' in 'C:\dev\cef_4147\chromium-git\chromium'
0> Downloading src/buildtools/win/clang-format.exe@d4afd4eba27022f5f6d518133aebde57281677c9...
Downloading 1 files took 37.264000 second(s)
Hook 'vpython.bat src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-clang-format -s src/buildtools/win/clang-format.exe.sha1' took 38.19 secs
Running hooks:  27% (26/93) rc_win
________ running 'vpython.bat src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-browser-clang/rc -s src/build/toolchain/win/rc/win/rc.exe.sha1' in 'C:\dev\cef_4147\chromium-git\chromium'
0> Downloading src/build/toolchain/win/rc/win/rc.exe@ba51d69039ffb88310b72b6568efa9f0de148f8f...
Downloading 1 files took 7.155000 second(s)
Running hooks:  31% (29/93) test_fonts
________ running 'download_from_google_storage --no_resume --extract --no_auth --bucket chromium-fonts -s src/third_party/test_fonts/test_fonts.tar.gz.sha1' in 'C:\dev\cef_4147\chromium-git\chromium'
0> Downloading src/third_party/test_fonts/test_fonts.tar.gz@a22de844e32a3f720d219e3911c3da3478039f89...
0> Extracting 30 entries from src/third_party/test_fonts/test_fonts.tar.gz to src/third_party/test_fonts/test_fonts
Downloading 1 files took 23.497000 second(s)
Hook 'download_from_google_storage --no_resume --extract --no_auth --bucket chromium-fonts -s src/third_party/test_fonts/test_fonts.tar.gz.sha1' took 23.73 secs
Hook 'download_from_google_storage --no_auth --quiet --bucket chromium-webrtc-resources -d src/third_party/opus/tests/resources' took 17.95 secs
Running hooks:  33% (31/93) orderfiles_win
________ running 'vpython.bat src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --num_threads=4 --bucket chromium-browser-clang/orderfiles -d src/chrome/build' in 'C:\dev\cef_4147\chromium-git\chromium'
1> Downloading src/chrome/build\chrome.x86.orderfile@d00f8f154ccdf38ef8a3018ea5bb165e8b279c22...
0> Downloading src/chrome/build\chrome.x64.orderfile@d5482a02f41670416a7302b49e5e3f9dede25e61...
Downloading 2 files took 8.328000 second(s)
Hook 'vpython.bat src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --num_threads=4 --bucket chromium-browser-clang/orderfiles -d src/chrome/build' took 12.09 secs
Running hooks:  35% (33/93) apache_win32
Running hooks: 100% (93/93), done.
--> Removing directory c:\dev\cef_4147\chromium-git\chromium\src\out
--> Copying directory c:\dev\cef_4147\chromium-git\cef to c:\dev\cef_4147\chromium-git\chromium\src\cef
--> Creating directory c:\dev\cef_4147\chromium-git\chromium\src\out
--> Writing c:\dev\cef_4147\chromium-git\chromium\src\out\cef.branch

Generating CEF version header file...

Patching build configuration and source files for CEF...

Apply gritsettings.patch in c:\dev\cef_4147\chromium-git\chromium\src
        9       0       tools/gritsettings/resource_ids.spec
... successfully applied.

Apply gn_config.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       0       .gn
        1       0       BUILD.gn
        5       7       build/config/win/visual_studio_version.gni
        1       1       chrome/chrome_paks.gni
        1       1       chrome/installer/mini_installer/BUILD.gn
... successfully applied.

Apply runhooks.patch in c:\dev\cef_4147\chromium-git\chromium\src
        15      7       build/toolchain/win/setup_toolchain.py
        11      0       build/vs_toolchain.py
... already applied (skipping).

Apply component_build.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       1       content/browser/devtools/devtools_instrumentation.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
        3       1       ui/events/keycodes/keysym_to_unicode.h
... successfully applied.

Apply message_loop.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       0       base/message_loop/message_loop_current.cc
        13      0       base/message_loop/message_loop_current.h
        12      3       base/message_loop/message_pump_win.cc
... successfully applied.

Apply trace_event.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       0       base/trace_event/builtin_categories.h
... successfully applied.

Apply webkit_popups.patch in c:\dev\cef_4147\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 underlay_1051.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       ui/base/cocoa/underlay_opengl_hosting_window.h
... successfully applied.

Apply views_widget_180_1481_1565_1677_1749.patch in c:\dev\cef_4147\chromium-git\chromium\src
        8       0       content/browser/renderer_host/render_widget_host_view_base.cc
        16      0       content/browser/renderer_host/render_widget_host_view_base.h
        12      0       content/browser/renderer_host/render_widget_host_view_event_handler.cc
        8       0       content/public/browser/render_widget_host_view.h
        5       1       ui/base/x/x11_window.cc
        2       0       ui/base/x/x11_window.h
        1       0       ui/platform_window/x11/x11_window.cc
        2       0       ui/views/widget/desktop_aura/desktop_screen_win.cc
        2       0       ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
        11      3       ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
        4       0       ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
        15      0       ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
        19      0       ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
        14      2       ui/views/widget/widget.cc
        2       0       ui/views/widget/widget.h
        4       0       ui/views/widget/widget_delegate.h
        1       1       ui/views/widget/widget_hwnd_utils.cc
        7       4       ui/views/win/hwnd_message_handler.cc
... successfully applied (with warnings):
        views_widget_180_1481_1565_1677_1749.patch:183: trailing whitespace.
        return nullptr;
        warning: 1 line adds whitespace errors.

Apply web_contents_1257_1565.patch in c:\dev\cef_4147\chromium-git\chromium\src
        27      8       content/browser/web_contents/web_contents_impl.cc
        1       0       content/public/browser/web_contents.cc
        6       0       content/public/browser/web_contents.h
        10      0       content/public/browser/web_contents_delegate.h
        4       0       content/public/browser/web_contents_observer.h
... successfully applied.

Apply mime_handler_view_guest_1565_2727.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       content/browser/web_contents/web_contents_view.h
        10      0       extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.cc
        1       0       extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h
        9       1       extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h
... successfully applied.

Apply prefs_content_1161.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       0       content/public/common/common_param_traits_macros.h
        1       0       content/public/common/web_preferences.cc
        1       0       content/public/common/web_preferences.h
        2       0       content/renderer/render_view_impl.cc
... successfully applied.

Apply ui_dragdrop_355390.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       1       ui/base/x/x11_os_exchange_data_provider.cc
... successfully applied.

Apply content_pepper_flash_1586.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc
... successfully applied.

Apply ime_1610.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       1       ui/base/ime/win/input_method_win_base.cc
... successfully applied.

Apply service_manager_654986.patch in c:\dev\cef_4147\chromium-git\chromium\src
        56      22      services/service_manager/embedder/main.cc
        18      1       services/service_manager/embedder/main.h
        1       1       services/service_manager/embedder/set_process_title.cc
... successfully applied.

Apply renderer_preferences_util_545103.patch in c:\dev\cef_4147\chromium-git\chromium\src
        4       2       chrome/browser/renderer_preferences_util.cc
... successfully applied.

Apply font_family_cache_1501.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       0       chrome/browser/font_family_cache.h
... successfully applied.

Apply views_1749_2102.patch in c:\dev\cef_4147\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_view.h
        6       0       ui/views/controls/button/label_button.cc
        3       0       ui/views/controls/button/label_button.h
        35      1       ui/views/controls/label.cc
        5       0       ui/views/controls/label.h
        9       2       ui/views/controls/menu/menu_controller.cc
        21      0       ui/views/controls/menu/menu_delegate.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
        5       0       ui/views/controls/menu/menu_scroll_view_container.cc
        0       4       ui/views/test/ui_controls_factory_desktop_aurax11.cc
        2       0       ui/views/view.h
... successfully applied.

Apply browser_compositor_mac.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       0       content/browser/renderer_host/browser_compositor_view_mac.h
        6       0       content/browser/renderer_host/browser_compositor_view_mac.mm
... successfully applied.

Apply chrome_widevine.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       0       third_party/widevine/cdm/BUILD.gn
... successfully applied.

Apply chrome_browser.patch in c:\dev\cef_4147\chromium-git\chromium\src
        6       0       chrome/browser/BUILD.gn
... successfully applied.

Apply chrome_renderer.patch in c:\dev\cef_4147\chromium-git\chromium\src
        6       0       chrome/renderer/BUILD.gn
... successfully applied.

Apply chrome_browser_content_settings.patch in c:\dev\cef_4147\chromium-git\chromium\src
        17      0       chrome/browser/content_settings/host_content_settings_map_factory.cc
... successfully applied.

Apply chrome_browser_themes.patch in c:\dev\cef_4147\chromium-git\chromium\src
        11      0       chrome/browser/themes/theme_service.cc
        11      0       chrome/browser/themes/theme_service_factory.cc
... successfully applied.

Apply chrome_browser_profiles.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       chrome/browser/profiles/profile_manager.cc
        3       3       chrome/browser/profiles/profile_manager.h
        5       0       chrome/browser/profiles/renderer_updater.cc
... successfully applied.

Apply chrome_browser_net_export.patch in c:\dev\cef_4147\chromium-git\chromium\src
        7       0       chrome/browser/ui/BUILD.gn
        71      2       chrome/browser/ui/webui/net_export_ui.cc
... successfully applied.

Apply chrome_browser_product_override.patch in c:\dev\cef_4147\chromium-git\chromium\src
        8       4       chrome/browser/chrome_content_browser_client.cc
        2       1       chrome/browser/chrome_content_browser_client.h
... successfully applied.

Apply chrome_browser_safe_browsing.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       0       chrome/browser/safe_browsing/BUILD.gn
... successfully applied.

Apply chrome_plugins.patch in c:\dev\cef_4147\chromium-git\chromium\src
        48      5       chrome/browser/plugins/plugin_info_host_impl.cc
        12      0       chrome/browser/plugins/plugin_utils.cc
        10      0       chrome/common/google_url_loader_throttle.cc
        9       4       chrome/renderer/chrome_content_renderer_client.cc
        5       2       chrome/renderer/plugins/chrome_plugin_placeholder.cc
... successfully applied.

Apply storage_incognito_2289.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       1       content/browser/blob_storage/chrome_blob_storage_context.cc
        2       2       content/browser/browser_context.cc
        1       1       storage/browser/database/database_tracker.cc
... successfully applied.

Apply webview_plugin_2020.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       chrome/app/generated_resources.grd
... successfully applied.

Apply webui_2037.patch in c:\dev\cef_4147\chromium-git\chromium\src
        14      0       chrome/browser/feedback/system_logs/log_sources/chrome_internal_log_source.cc
        5       1       chrome/browser/memory_details.cc
... successfully applied.

Apply crashpad_1995.patch in c:\dev\cef_4147\chromium-git\chromium\src
        13      3       chrome/chrome_elf/BUILD.gn
        9       0       chrome/chrome_elf/crash/crash_helper.cc
        4       2       chrome/common/crash_keys.cc
        4       0       chrome/common/crash_keys.h
        23      4       components/crash/core/app/breakpad_linux.cc
        3       0       components/crash/core/app/breakpad_linux.h
        30      4       components/crash/core/app/crash_reporter_client.cc
        26      1       components/crash/core/app/crash_reporter_client.h
        2       1       components/crash/core/app/crashpad.cc
        39      13      components/crash/core/app/crashpad_mac.mm
        18      10      components/crash/core/app/crashpad_win.cc
... successfully applied.

Apply crashpad_tp_1995.patch in c:\dev\cef_4147\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
        44      1       third_party/crashpad/crashpad/handler/handler_main.cc
... successfully applied.

Apply rwh_background_color_1984.patch in c:\dev\cef_4147\chromium-git\chromium\src
        15      4       content/browser/renderer_host/render_widget_host_view_aura.cc
... successfully applied.

Apply content_2015.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       chrome/browser/download/download_target_determiner.cc
        1       0       chrome/browser/plugins/chrome_plugin_service_filter.cc
        1       0       chrome/browser/plugins/chrome_plugin_service_filter.h
        1       1       chrome/browser/plugins/pdf_iframe_navigation_throttle.cc
        1       1       chrome/browser/ui/views/frame/browser_root_view.cc
        1       1       content/browser/devtools/devtools_http_handler.cc
        4       2       content/browser/frame_host/render_frame_message_filter.cc
        1       0       content/browser/frame_host/render_frame_message_filter.h
        8       1       content/browser/loader/navigation_url_loader_impl.cc
        3       1       content/browser/plugin_service_impl.cc
        1       0       content/browser/plugin_service_impl.h
        4       1       content/browser/renderer_host/plugin_registry_impl.cc
        3       1       content/browser/renderer_host/plugin_registry_impl.h
        2       1       content/common/frame_messages.h
        1       1       content/public/browser/content_browser_client.cc
        13      0       content/public/browser/content_browser_client.h
        1       0       content/public/browser/plugin_service.h
        1       0       content/public/browser/plugin_service_filter.h
        7       0       content/public/renderer/content_renderer_client.h
        2       1       content/renderer/render_frame_impl.cc
        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
        1       0       content/shell/browser/shell_plugin_service_filter.cc
        1       0       content/shell/browser/shell_plugin_service_filter.h
        1       0       content/test/fake_plugin_service.cc
        1       0       content/test/fake_plugin_service.h
... successfully applied.

Apply webkit_plugin_info_2015.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       third_party/blink/public/mojom/plugins/plugin_registry.mojom
        5       0       third_party/blink/public/platform/platform.h
        2       2       third_party/blink/renderer/core/dom/document_init.cc
        1       1       third_party/blink/renderer/core/frame/local_frame.cc
        3       0       third_party/blink/renderer/core/inspector/devtools_session.cc
        33      11      third_party/blink/renderer/core/page/page.cc
        4       2       third_party/blink/renderer/core/page/page.h
        5       3       third_party/blink/renderer/core/page/plugin_data.cc
        2       1       third_party/blink/renderer/core/page/plugin_data.h
... successfully applied.

Apply printing_context_2196.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       0       chrome/browser/printing/print_job_worker.cc
        11      0       printing/printing_context.h
... successfully applied.

Apply build.patch in c:\dev\cef_4147\chromium-git\chromium\src
        0       2       build/config/compiler/BUILD.gn
... successfully applied.

Apply extensions_1947.patch in c:\dev\cef_4147\chromium-git\chromium\src
        3       0       chrome/browser/extensions/api/streams_private/streams_private_api.cc
        47      4       extensions/browser/extension_host.cc
        9       2       extensions/browser/extension_host.h
        9       0       extensions/browser/extensions_browser_client.h
        10      3       extensions/browser/process_manager.cc
... successfully applied.

Apply win_rt_2274.patch in c:\dev\cef_4147\chromium-git\chromium\src
        4       1       services/service_manager/sandbox/win/sandbox_win.cc
... successfully applied.

Apply webkit_pointer_event_781966.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       third_party/blink/renderer/core/input/pointer_event_manager.cc
... successfully applied.

Apply mac_gpu.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       5       ui/gl/init/gl_initializer_mac.cc
... successfully applied.

Apply mac_event_observer_2539.patch in c:\dev\cef_4147\chromium-git\chromium\src
        4       2       content/browser/scheduler/responsiveness/native_event_observer_mac.mm
... successfully applied.

Apply mac_fling_scheduler_2540.patch in c:\dev\cef_4147\chromium-git\chromium\src
        4       0       content/browser/renderer_host/input/fling_scheduler_mac.mm
... successfully applied.

Apply linux_poll_2466.patch in c:\dev\cef_4147\chromium-git\chromium\src
        9       6       base/files/file_path_watcher_linux.cc
... successfully applied.

Apply resource_bundle_2512.patch in c:\dev\cef_4147\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 c:\dev\cef_4147\chromium-git\chromium\src
        4       2       base/message_loop/message_pump_mac.mm
... successfully applied.

Apply linux_assets_path_1936.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       content/browser/child_process_launcher_helper_linux.cc
        1       1       sandbox/linux/suid/client/setuid_sandbox_host.cc
        2       2       ui/gl/init/gl_initializer_x11.cc
... successfully applied.

Apply services_network_2622.patch in c:\dev\cef_4147\chromium-git\chromium\src
        15      0       chrome/browser/net/profile_network_context_service.cc
        5       0       chrome/browser/profiles/profile.h
        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
        12      3       services/network/network_context.cc
        3       0       services/network/public/mojom/network_context.mojom
... successfully applied.

Apply services_network_2718.patch in c:\dev\cef_4147\chromium-git\chromium\src
        10      11      content/browser/storage_partition_impl.cc
... successfully applied.

Apply win_base_msvc_sandbox.patch in c:\dev\cef_4147\chromium-git\chromium\src
        0       14      base/values.cc
... successfully applied.

Apply set_resize_background_color.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       ui/views/controls/native/native_view_host.cc
        9       0       ui/views/controls/native/native_view_host.h
        4       0       ui/views/controls/webview/webview.cc
        4       0       ui/views/controls/webview/webview.h
... successfully applied.

Apply web_url_loader_cancel_1617042.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       2       content/renderer/loader/web_url_loader_impl.h
        4       0       third_party/blink/public/platform/web_url_loader.h
... successfully applied.

Apply browser_scheduler.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       content/browser/scheduler/browser_task_executor.cc
... successfully applied.

Apply chrome_pref_watcher.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       chrome/browser/ui/prefs/pref_watcher.h
... successfully applied.

Apply viz_osr_2575.patch in c:\dev\cef_4147\chromium-git\chromium\src
        7       2       components/viz/host/host_display_client.cc
        3       3       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
        3       0       components/viz/service/BUILD.gn
        15      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 c:\dev\cef_4147\chromium-git\chromium\src
        9       0       chrome/browser/download/download_prefs.cc
        4       0       chrome/browser/printing/print_preview_dialog_controller.cc
        1       3       chrome/browser/resources/print_preview/ui/destination_dialog.html
        0       4       chrome/browser/resources/print_preview/ui/destination_select.html
        4       0       chrome/browser/ui/webui/constrained_web_dialog_ui.cc
        46      0       chrome/browser/ui/webui/print_preview/pdf_printer_handler.cc
        16      0       chrome/browser/ui/webui/print_preview/pdf_printer_handler.h
        7       1       chrome/browser/ui/webui/print_preview/print_preview_handler.cc
        5       0       chrome/browser/ui/webui/print_preview/print_preview_ui.cc
... successfully applied.

Apply base_sandbox_2743.patch in c:\dev\cef_4147\chromium-git\chromium\src
        6       1       base/BUILD.gn
        2       1       base/hash/md5.h
... successfully applied.

Apply content_app_shutdown_2798.patch in c:\dev\cef_4147\chromium-git\chromium\src
        6       0       content/app/content_main_runner_impl.cc
        2       0       content/app/content_main_runner_impl.h
        4       0       content/app/content_service_manager_main_delegate.cc
        4       1       content/app/content_service_manager_main_delegate.h
... successfully applied.

Apply osr_fling_2745.patch in c:\dev\cef_4147\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 c:\dev\cef_4147\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 c:\dev\cef_4147\chromium-git\chromium\src
        1       0       third_party/libxml/BUILD.gn
... successfully applied.

Apply win_screenlock_1058556.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       content/browser/screenlock_monitor/screenlock_monitor_device_source_win.cc
... successfully applied.

Apply renderer_host_1070713.patch in c:\dev\cef_4147\chromium-git\chromium\src
        2       0       content/browser/renderer_host/render_view_host_impl.cc
... successfully applied.

Apply browser_security_policy_1081397.patch in c:\dev\cef_4147\chromium-git\chromium\src
        10      0       content/browser/child_process_security_policy_impl.cc
... successfully applied.

Apply linux_chrome_views_1085806.patch in c:\dev\cef_4147\chromium-git\chromium\src
        1       1       chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc
... successfully applied.

68 patches total (67 applied, 1 skipped, 0 failed)

Generating CEF project files...
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x86 directory.
Generating Visual Studio projects took 31103ms
Done. Made 13152 targets from 2279 files in 47767ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x86\obj\cef\libcef.ninja
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x64 directory.
Generating Visual Studio projects took 32557ms
Done. Made 12593 targets from 2279 files in 46188ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x64\obj\cef\libcef.ninja
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x64_sandbox directory.
Generating Visual Studio projects took 32941ms
Done. Made 12615 targets from 2283 files in 46509ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x64_sandbox\obj\cef\libcef.ninja
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x86 directory.
Generating Visual Studio projects took 28351ms
Done. Made 13153 targets from 2279 files in 41595ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x86\obj\cef\libcef.ninja
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x86_sandbox directory.
Generating Visual Studio projects took 30959ms
Done. Made 13187 targets from 2282 files in 44576ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x86_sandbox\obj\cef\libcef.ninja
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x64 directory.
Generating Visual Studio projects took 31461ms
Done. Made 12593 targets from 2279 files in 44622ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x64\obj\cef\libcef.ninja
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x64_sandbox directory.
Generating Visual Studio projects took 31312ms
Done. Made 12612 targets from 2282 files in 44446ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Release_GN_x64_sandbox\obj\cef\libcef.ninja
Creating c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x86_sandbox directory.
Generating Visual Studio projects took 32753ms
Done. Made 13191 targets from 2283 files in 46519ms
Applying issue #1999 fix to c:\dev\cef_4147\chromium-git\chromium\src\out\Debug_GN_x86_sandbox\obj\cef\libcef.ninja

Generating CEF buildinfo header file...
File include/cef_config.h updated.
../../../../patches/chromium/misisng_native_client_plugin_path_3987.patch:13: trailing whitespace.
  plugin.name = "Native Client";
warning: 1 line adds whitespace errors.
ninja: Entering directory `out\Release_GN_x64_sandbox'
[507/507] LIB obj/cef/cef_sandbox.lib

c:\dev\cef_4147\chromium-git\chromium\src>
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby Czarek » Thu Jul 23, 2020 2:35 am

Try a new clean build from a new cmd window and use only commands from the wiki: https://bitbucket.org/chromiumembedded/ ... figuration
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

PreviousNext

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 78 guests