Errors building CEF from source

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.

Errors building CEF from source

Postby thabin » Fri Apr 08, 2016 3:55 pm

I followed the instructions on how to build CEF from source that I found here:
https://bitbucket.org/chromiumembedded/ ... ndBuilding

I used the Automated Method.

The first error was that the script tried to download the depot_tools from here:
https://src.chromium.org/svn/trunk/tool ... _tools.zip

Which didn't work.

I changed that to:
https://storage.googleapis.com/chrome-i ... _tools.zip

But the script still didn't install the depot_tools correctly. So I manually downloaded and installed them following these instructions:
https://www.chromium.org/developers/how ... epot-tools

One bug with that script, if the path you are installing into has a space in the name (i.e. C:\Users\David Lilly\Projects\depot_tools) the script fails. So I moved the install to C:\depot_tools (which I added to my PATH)

I created a directory for CEF:
C:\work\git\cef
in this I dropped the automated script:
https://bitbucket.org/chromiumembedded/ ... ate-git.py
and ninja.exe which I downloaded from here:
https://github.com/ninja-build/ninja/re ... ja-win.zip
and put in my C:\work\git\cef directory.

Ran this in the command line:
C:\work\git\cef>python c:\work\git\cef\automate-git.py --download-dir=C:\work\git\cef\2623\32 --depot-tools-dir=C:\depot_tools --branch=2623
And got this error:
You must set the GYP_MSVS_VERSION environment variable on Windows.
So I ran this:
SET GYP_MSVS_VERSION=2013
reading more doc I decided to add this environment variable as well:
set GYP_GENERATORS=ninja,msvs-ninja

so I try to run it again:
C:\work\git\cef>python c:\work\git\cef\automate-git.py --download-dir=C:\work\git\cef\2623\32 --depot-tools-dir=C:\depot_tools --branch=2623

it looks to be working, but then eventually fails, this is where I am stuck now:
Code: Select all
C:\work\git\cef>python c:\work\git\cef\automate-git.py --download-dir=C:\work\git\cef\2623\32 --depot-tools-dir=C:\depot_tools --branch=2623
--> Download Directory: C:\work\git\cef\2623\32
--> Depot Tools Directory: C:\depot_tools
--> Updating depot_tools
-------- Running "update_depot_tools.bat" in "C:\depot_tools"...
--> CEF Branch: 2623
--> CEF URL: https://bitbucket.org/chromiumembedded/cef.git
--> CEF Source Directory: C:\work\git\cef\2623\32\cef
-------- Running "C:\depot_tools\git.bat clone https://bitbucket.org/chromiumembedded/cef.git C:\work\git\cef\2623\32\cef" in "C:\work\git\cef\2623\32"...
Cloning into 'C:\work\git\cef\2623\32\cef'...
remote: Counting objects: 33448, done.
remote: Compressing objects: 100% (7401/7401), done.
Receiving objects: 100% (33448/33448), 9.61 MiB | 881.00 KiB/s, done.
emote: Total 33448 (delta 27891), reused 31403 (delta 25950)
Resolving deltas: 100% (27891/27891), done.
Checking connectivity... done.
Checking out files: 100% (1321/1321), done.
-------- Running "C:\depot_tools\git.bat rev-parse HEAD" in "C:\work\git\cef\2623\32\cef"...
-------- Running "C:\depot_tools\git.bat rev-parse origin/2623" in "C:\work\git\cef\2623\32\cef"...
--> CEF Current Checkout: 84fe790035ff8ec2ceb280174b2e5751c9b3401e
--> CEF Desired Checkout: af139d7761c1fd6921ec020535d641e685f9ddad (origin/2623)
-------- Running "C:\depot_tools\git.bat checkout origin/2623" in "C:\work\git\cef\2623\32\cef"...
Note: checking out 'origin/2623'.

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 performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at af139d7... make_distrib.py: Look for libcef instead of cefclient when running with --allow-partial (issue #1804)
--> CEF Output Directory: C:\work\git\cef\2623\32\out_2623
--> Creating directory C:\work\git\cef\2623\32\chromium
--> Writing file: C:\work\git\cef\2623\32\chromium\.gclient
-------- Running "gclient sync --nohooks --with_branch_heads --jobs 16" in "C:\work\git\cef\2623\32\chromium"...

[0:01:10] Still working on:
[0:01:10]   src

<snip>

[0:39:02] Still working on:
[0:39:02]   src
Syncing projects:   0% ( 0/ 2)
[0:39:08] Still working on:
[0:39:08]   src
Syncing projects: 100% (84/84), done.
-------- Running "C:\depot_tools\git.bat config --get remote.origin.url" in "C:\work\git\cef\2623\32\chromium\src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "C:\depot_tools\git.bat rev-parse HEAD" in "C:\work\git\cef\2623\32\chromium\src"...
-------- Running "C:\depot_tools\git.bat rev-parse refs/tags/49.0.2623.110" in "C:\work\git\cef\2623\32\chromium\src"...
--> Chromium Current Checkout: c7a7a767d643aef68eb2af82f961c11872abe59d
--> Chromium Desired Checkout: 6345e75c7d4450f4ad929e338df8137f678a02cc (refs/tags/49.0.2623.110)
-------- Running "C:\depot_tools\git.bat fetch" in "C:\work\git\cef\2623\32\chromium\src"...
-------- Running "C:\depot_tools\git.bat fetch --tags" in "C:\work\git\cef\2623\32\chromium\src"...
-------- Running "C:\depot_tools\git.bat checkout refs/tags/49.0.2623.110" in "C:\work\git\cef\2623\32\chromium\src"...
Checking out files: 100% (74047/74047), done.
D       third_party/WebKit/LayoutTests/fast/images/resources/missing-plte-before-trns.png
Previous HEAD position was c7a7a76... Make IPC::ParamTraits<>GetSize work with base::Value as a result of JSON parsing.
HEAD is now at 6345e75... Publish DEPS for Chromium 49.0.2623.110
--> Chromium DEPS file: C:\work\git\cef\2623\32\chromium\src\DEPS
-------- Running "gclient sync --with_branch_heads --jobs 16" in "C:\work\git\cef\2623\32\chromium"...
Syncing projects: 100% (87/87), done.

________ running 'C:\depot_tools\python276_bin\python.exe src/build/landmines.py' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' in 'C:\work\git\cef\2623\32\chromium'
INFO: --Syncing nacl_arm_glibc to revision c32837267cc6dcdc9209dcaaf3131de6d6bc41ea--
INFO: Downloading package archive: binutils_arm_i686_w64_mingw32.tgz (1/6)
INFO: Downloading package archive: gcc_arm_i686_w64_mingw32.tgz (2/6)
INFO: Downloading package archive: gcc_libs_arm.tgz (3/6)
INFO: Downloading package archive: gdb_i686_w64_mingw32.tgz (4/6)
INFO: Downloading package archive: glibc_arm.tgz (5/6)
INFO: Downloading package archive: sdk_libs_arm.tgz (6/6)
INFO: --Syncing nacl_x86_glibc to revision 9ff1dc0c05b45941b86bed303a87a9eac17192ea--
INFO: Downloading package archive: core_sdk.tar.bz2 (1/3)
INFO: Downloading package archive: gdb_i686_w64_mingw32.tgz (2/3)
INFO: Downloading package archive: toolchain.tar.bz2 (3/3)
INFO: --Syncing nacl_x86_newlib to revision 11953a35fcd4f999b097a343bc49d89f94af21a8--
INFO: Downloading package archive: core_sdk.tgz (1/3)
INFO: Downloading package archive: gdb_i686_w64_mingw32.tgz (2/3)
INFO: Downloading package archive: naclsdk.tgz (3/3)
INFO: --Syncing pnacl_newlib to revision 3f81c4b7f4cc2bde2ac49873d9d666c02206d459--
INFO: Downloading package archive: binutils_pnacl_i686_w64_mingw32.tgz (1/48)
INFO: Downloading package archive: binutils_x86_i686_w64_mingw32.tgz (2/48)
INFO: Downloading package archive: compiler_rt_bc_arm_bc.tgz (3/48)
INFO: Downloading package archive: compiler_rt_bc_i686_bc.tgz (4/48)
INFO: Downloading package archive: compiler_rt_bc_le32.tgz (5/48)
INFO: Downloading package archive: compiler_rt_bc_x86_64_bc.tgz (6/48)
INFO: Downloading package archive: core_sdk_libs_arm.tgz (7/48)
INFO: Downloading package archive: core_sdk_libs_i686.tgz (8/48)
INFO: Downloading package archive: core_sdk_libs_le32.tgz (9/48)
INFO: Downloading package archive: core_sdk_libs_mipsel.tgz (10/48)
INFO: Downloading package archive: core_sdk_libs_x86_64.tgz (11/48)
INFO: Downloading package archive: driver_i686_w64_mingw32.tgz (12/48)
INFO: Downloading package archive: libcxx_arm.tgz (13/48)
INFO: Downloading package archive: libcxx_arm_bc.tgz (14/48)
INFO: Downloading package archive: libcxx_i686.tgz (15/48)
INFO: Downloading package archive: libcxx_i686_bc.tgz (16/48)
INFO: Downloading package archive: libcxx_le32.tgz (17/48)
INFO: Downloading package archive: libcxx_mipsel.tgz (18/48)
INFO: Downloading package archive: libcxx_x86_64.tgz (19/48)
INFO: Downloading package archive: libcxx_x86_64_bc.tgz (20/48)
INFO: Downloading package archive: libgcc_eh_arm.tgz (21/48)
INFO: Downloading package archive: libgcc_eh_mips32.tgz (22/48)
INFO: Downloading package archive: libgcc_eh_x86_32.tgz (23/48)
INFO: Downloading package archive: libgcc_eh_x86_64.tgz (24/48)
INFO: Downloading package archive: libs_support_arm.tgz (25/48)
INFO: Downloading package archive: libs_support_arm_bc.tgz (26/48)
INFO: Downloading package archive: libs_support_i686.tgz (27/48)
INFO: Downloading package archive: libs_support_i686_bc.tgz (28/48)
INFO: Downloading package archive: libs_support_le32.tgz (29/48)
INFO: Downloading package archive: libs_support_mipsel.tgz (30/48)
INFO: Downloading package archive: libs_support_translator_arm.tgz (31/48)
INFO: Downloading package archive: libs_support_translator_arm_nonsfi.tgz (32/48)
INFO: Downloading package archive: libs_support_translator_mips32.tgz (33/48)
INFO: Downloading package archive: libs_support_translator_x86_32.tgz (34/48)
INFO: Downloading package archive: libs_support_translator_x86_32_nonsfi.tgz (35/48)
INFO: Downloading package archive: libs_support_translator_x86_64.tgz (36/48)
INFO: Downloading package archive: libs_support_x86_64.tgz (37/48)
INFO: Downloading package archive: libs_support_x86_64_bc.tgz (38/48)
INFO: Downloading package archive: llvm_i686_w64_mingw32.tgz (39/48)
INFO: Downloading package archive: metadata.tgz (40/48)
INFO: Downloading package archive: newlib_arm.tgz (41/48)
INFO: Downloading package archive: newlib_arm_bc.tgz (42/48)
INFO: Downloading package archive: newlib_i686.tgz (43/48)
INFO: Downloading package archive: newlib_i686_bc.tgz (44/48)
INFO: Downloading package archive: newlib_le32.tgz (45/48)
INFO: Downloading package archive: newlib_mipsel.tgz (46/48)
INFO: Downloading package archive: newlib_x86_64.tgz (47/48)
INFO: Downloading package archive: newlib_x86_64_bc.tgz (48/48)
INFO: --Syncing pnacl_translator to revision 3f81c4b7f4cc2bde2ac49873d9d666c02206d459--
INFO: Downloading package archive: sandboxed_translators.tgz (1/1)
INFO: Extracting package (nacl_arm_glibc) to directory: C:\work\git\cef\2623\32\chromium\src\native_client\toolchain\win_x86\nacl_arm_glibc
INFO: Extracting binutils_arm_i686_w64_mingw32.tgz (1/6)
|------------------------------------------------|
..................................................
INFO: Extracting gcc_arm_i686_w64_mingw32.tgz (2/6)
|------------------------------------------------|
..................................................
INFO: Extracting gcc_libs_arm.tgz (3/6)
|------------------------------------------------|
.................................................
INFO: Extracting gdb_i686_w64_mingw32.tgz (4/6)
|------------------------------------------------|
.................................................
INFO: Extracting glibc_arm.tgz (5/6)
|------------------------------------------------|
.................................................
INFO: Extracting sdk_libs_arm.tgz (6/6)
|------------------------------------------------|
..................................................
INFO: Extracting package (nacl_x86_glibc) to directory: C:\work\git\cef\2623\32\chromium\src\native_client\toolchain\win_x86\
nacl_x86_glibc
INFO: Extracting core_sdk.tar.bz2 (1/3)
|------------------------------------------------|
..................................................
INFO: Extracting gdb_i686_w64_mingw32.tgz (2/3)
|------------------------------------------------|
..................................................
INFO: Extracting toolchain.tar.bz2 (3/3)
|------------------------------------------------|
..................................................
INFO: Extracting package (nacl_x86_newlib) to directory: C:\work\git\cef\2623\32\chromium\src\native_client\toolchain\win_x86
\nacl_x86_newlib
INFO: Extracting core_sdk.tgz (1/3)
|------------------------------------------------|
..............................................
INFO: Extracting gdb_i686_w64_mingw32.tgz (2/3)
|------------------------------------------------|
..................................................
INFO: Extracting naclsdk.tgz (3/3)
|------------------------------------------------|
..................................................
INFO: Extracting package (pnacl_newlib) to directory: C:\work\git\cef\2623\32\chromium\src\native_client\toolchain\win_x86\pn
acl_newlib
INFO: Extracting binutils_pnacl_i686_w64_mingw32.tgz (1/48)
|------------------------------------------------|
.................................................
INFO: Extracting binutils_x86_i686_w64_mingw32.tgz (2/48)
|------------------------------------------------|
..................................................
INFO: Extracting compiler_rt_bc_arm_bc.tgz (3/48)
|------------------------------------------------|
.....
INFO: Extracting compiler_rt_bc_i686_bc.tgz (4/48)
|------------------------------------------------|
.....
INFO: Extracting compiler_rt_bc_le32.tgz (5/48)
|------------------------------------------------|
.....
INFO: Extracting compiler_rt_bc_x86_64_bc.tgz (6/48)
|------------------------------------------------|
.....
INFO: Extracting core_sdk_libs_arm.tgz (7/48)
|------------------------------------------------|
..........................................
INFO: Extracting core_sdk_libs_i686.tgz (8/48)
|------------------------------------------------|
..........................................
INFO: Extracting core_sdk_libs_le32.tgz (9/48)
|------------------------------------------------|
.........................................
INFO: Extracting core_sdk_libs_mipsel.tgz (10/48)
|------------------------------------------------|
...........................................
INFO: Extracting core_sdk_libs_x86_64.tgz (11/48)
|------------------------------------------------|
..........................................
INFO: Extracting driver_i686_w64_mingw32.tgz (12/48)
|------------------------------------------------|
.................................................
INFO: Extracting libcxx_arm.tgz (13/48)
|------------------------------------------------|
.......
INFO: Extracting libcxx_arm_bc.tgz (14/48)
|------------------------------------------------|
....
INFO: Extracting libcxx_i686.tgz (15/48)
|------------------------------------------------|

INFO: Extracting libcxx_i686_bc.tgz (16/48)
|------------------------------------------------|
....
INFO: Extracting libcxx_le32.tgz (17/48)
|------------------------------------------------|
.....
INFO: Extracting libcxx_mipsel.tgz (18/48)
|------------------------------------------------|
.......
INFO: Extracting libcxx_x86_64.tgz (19/48)
|------------------------------------------------|
.......
INFO: Extracting libcxx_x86_64_bc.tgz (20/48)
|------------------------------------------------|
....
INFO: Extracting libgcc_eh_arm.tgz (21/48)
|------------------------------------------------|

INFO: Extracting libgcc_eh_mips32.tgz (22/48)
|------------------------------------------------|

INFO: Extracting libgcc_eh_x86_32.tgz (23/48)
|------------------------------------------------|
.
INFO: Extracting libgcc_eh_x86_64.tgz (24/48)
|------------------------------------------------|
.
INFO: Extracting libs_support_arm.tgz (25/48)
|------------------------------------------------|
..........
INFO: Extracting libs_support_arm_bc.tgz (26/48)
|------------------------------------------------|
..................................................
INFO: Extracting libs_support_i686.tgz (27/48)
|------------------------------------------------|
..........
INFO: Extracting libs_support_i686_bc.tgz (28/48)
|------------------------------------------------|
..................................................
INFO: Extracting libs_support_le32.tgz (29/48)
|------------------------------------------------|
................................
INFO: Extracting libs_support_mipsel.tgz (30/48)
|------------------------------------------------|
............
INFO: Extracting libs_support_translator_arm.tgz (31/48)
|------------------------------------------------|
.................................................
INFO: Extracting libs_support_translator_arm_nonsfi.tgz (32/48)
|------------------------------------------------|
..................
INFO: Extracting libs_support_translator_mips32.tgz (33/48)
|------------------------------------------------|
.................
INFO: Extracting libs_support_translator_x86_32.tgz (34/48)
|------------------------------------------------|
.......................
INFO: Extracting libs_support_translator_x86_32_nonsfi.tgz (35/48)
|------------------------------------------------|
...........................
INFO: Extracting libs_support_translator_x86_64.tgz (36/48)
|------------------------------------------------|
..................................................
INFO: Extracting libs_support_x86_64.tgz (37/48)
|------------------------------------------------|
............
INFO: Extracting libs_support_x86_64_bc.tgz (38/48)
|------------------------------------------------|
...............................
INFO: Extracting llvm_i686_w64_mingw32.tgz (39/48)
|------------------------------------------------|
.................................................
INFO: Extracting metadata.tgz (40/48)
|------------------------------------------------|
..........................................
INFO: Extracting newlib_arm.tgz (41/48)
|------------------------------------------------|
.................................................
INFO: Extracting newlib_arm_bc.tgz (42/48)
|------------------------------------------------|
..................................................
INFO: Extracting newlib_i686.tgz (43/48)
|------------------------------------------------|
..................................................
INFO: Extracting newlib_i686_bc.tgz (44/48)
|------------------------------------------------|
.................................................
INFO: Extracting newlib_le32.tgz (45/48)
|------------------------------------------------|
.................................................
INFO: Extracting newlib_mipsel.tgz (46/48)
|------------------------------------------------|
..................................................
INFO: Extracting newlib_x86_64.tgz (47/48)
|------------------------------------------------|
.................................................
INFO: Extracting newlib_x86_64_bc.tgz (48/48)
|------------------------------------------------|
..................................................
INFO: Extracting package (pnacl_translator) to directory: C:\work\git\cef\2623\32\chromium\src\native_client\toolchain\win_x86\pnacl_translator
INFO: Extracting sandboxed_translators.tgz (1/1)
|------------------------------------------------|
.................................................
Hook ''C:\depot_tools\python276_bin\python.exe' src/build/download_nacl_toolchains.py --mode nacl_core_sdk sync --extract' took 352.52 secs

________ running 'C:\depot_tools\python276_bin\python.exe src/build/android/play_services/update.py download' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/linux/sysroot_scripts/install-sysroot.py --running-as-hook' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/vs_toolchain.py update' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/third_party/binutils/download.py' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/tools/clang/scripts/update.py --if-needed' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/util/lastchange.py -o src/build/util/LASTCHANGE' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/util/lastchange.py --git-hash-only -s src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/ios/build/util/canary_version.py -o src/ios/build/util/CANARY_VERSION' in 'C:\work\git\cef\2623\32\chromium'

________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-gn -s src/buildtools/win/gn.exe.sha1' in 'C:\work\git\cef\2623\32\chromium'
0> Downloading src/buildtools/win/gn.exe...
Success!
Downloading 1 files took 27.257000 second(s)
Hook 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-gn -s src/buildtools/win/gn.exe.sha1' took 27.48 secs

________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-gn -s src/buildtools/mac/gn.sha1' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "darwin", skipping.

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-gn -s src/buildtools/linux64/gn.sha1' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "linux*", skipping.

________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-clang-format -s src/buildtools/win/clang-format.exe.sha1' in 'C:\work\git\cef\2623\32\chromium'
0> Downloading src/buildtools/win/clang-format.exe...
Success!
Downloading 1 files took 14.965000 second(s)
Hook 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-clang-format -s src/buildtools/win/clang-format.exe.sha1' took 15.19 secs

________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-clang-format -s src/buildtools/mac/clang-format.sha1' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "darwin", skipping.

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s src/buildtools/linux64/clang-format.sha1' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "linux*", skipping.

________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-libcpp -s src/third_party/libc++-static/libc++.a.sha1' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "darwin", skipping.

________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-luci -d src/tools/luci-go/win64' in 'C:\work\git\cef\2623\32\chromium'
0> Downloading src/tools/luci-go/win64\isolate.exe...
Success!
Downloading 1 files took 18.377000 second(s)
Hook 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-luci -d src/tools/luci-go/win64'
took 18.57 secs

________ running 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-luci -d src/tools/luci-go/mac64' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "darwin", skipping.

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-luci -d src/tools/luci-go/linux64' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "linux*", skipping.

________ running 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-eu-strip -s src/build/linux/bin/eu-strip.sha1' in 'C:\work\git\cef\2623\32\chromium'
The current platform doesn't match "linux*", skipping.

________ running 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-drmemory -s src/third_party/drmemory/drmemory-windows-sfx.exe.sha1' in 'C:\work\git\cef\2623\32\chromium'
0> Downloading src/third_party/drmemory/drmemory-windows-sfx.exe...
Success!
Downloading 1 files took 20.624000 second(s)
Hook 'download_from_google_storage --no_resume --platform=win32 --no_auth --bucket chromium-drmemory -s src/third_party/drmemory/drmemory-windows-sfx.exe.sha1' took 20.82 secs

________ running 'C:\depot_tools\python276_bin\python.exe src/build/get_syzygy_binaries.py --output-dir=src/third_party/syzygy/binaries --revision=24abcb05aa6cc35545111d244378ef37b5d5218c --overwrite' in 'C:\work\git\cef\2623\32\chromium'
INFO:get_syzygy_binaries.py:Installing revision 24abcb05aa6c Syzygy binaries.
Copying gs://syzygy-archive/builds/official/24abcb05aa6cc35545111d244378ef37b5d5218c/benchmark.zip...
Downloading ...idl~1\appdata\local\temp\tmp9rpidasyzygy_archive: 4.98 MiB/4.98 MiB
Copying gs://syzygy-archive/builds/official/24abcb05aa6cc35545111d244378ef37b5d5218c/binaries.zip...
Downloading ...idl~1\appdata\local\temp\tmpdt5qf8syzygy_archive: 6.07 MiB/6.07 MiB
Copying gs://syzygy-archive/builds/official/24abcb05aa6cc35545111d244378ef37b5d5218c/symbols.zip...
Downloading ...idl~1\appdata\local\temp\tmputav6ysyzygy_archive: 84.06 MiB/84.06 MiB
Hook ''C:\depot_tools\python276_bin\python.exe' src/build/get_syzygy_binaries.py --output-dir=src/third_party/syzygy/binaries --revision=24abcb05aa6cc35545111d244378ef37b5d5218c --overwrite' took 73.57 secs

________ running 'C:\depot_tools\python276_bin\python.exe src/build/get_syzygy_binaries.py --output-dir=src/third_party/kasko/binaries --revision=266a18d9209be5ca5c5dcd0620942b82a2d238f3 --resource=kasko.zip --resource=kasko_symbols.zip --overwrite'
in 'C:\work\git\cef\2623\32\chromium'
INFO:get_syzygy_binaries.py:Installing revision 266a18d9209b Syzygy binaries.
Copying gs://syzygy-archive/builds/official/266a18d9209be5ca5c5dcd0620942b82a2d238f3/kasko.zip...
Downloading ...idl~1\appdata\local\temp\tmpdib_rcsyzygy_archive: 189.3 KiB/189.3 KiB
Copying gs://syzygy-archive/builds/official/266a18d9209be5ca5c5dcd0620942b82a2d238f3/kasko_symbols.zip...
Downloading ...idl~1\appdata\local\temp\tmpd7kxabsyzygy_archive: 2.46 MiB/2.46 MiB
Hook ''C:\depot_tools\python276_bin\python.exe' src/build/get_syzygy_binaries.py --output-dir=src/third_party/kasko/binaries
--revision=266a18d9209be5ca5c5dcd0620942b82a2d238f3 --resource=kasko.zip --resource=kasko_symbols.zip --overwrite' took 27.46
 secs

________ running 'download_from_google_storage --no_resume --platform=win32 --directory --recursive --no_auth --num_threads=16 --bucket chromium-apache-win32 src/third_party/apache-win32' in 'C:\work\git\cef\2623\32\chromium'
0> Downloading src/third_party/apache-win32\bin\ApacheMonitor.exe...
13> Downloading src/third_party/apache-win32\modules\mod_authz_host.so...
1> Downloading src/third_party/apache-win32\bin\httpd.exe...
3> Downloading src/third_party/apache-win32\bin\libapriconv-1.dll...
11> Downloading src/third_party/apache-win32\modules\mod_alias.so...
12> Downloading src/third_party/apache-win32\modules\mod_asis.so...
6> Downloading src/third_party/apache-win32\bin\libhttpd.dll...
9> Downloading src/third_party/apache-win32\bin\ssleay32.dll...
8> Downloading src/third_party/apache-win32\bin\php5ts.dll...
4> Downloading src/third_party/apache-win32\bin\libaprutil-1.dll...
7> Downloading src/third_party/apache-win32\bin\openssl.exe...
5> Downloading src/third_party/apache-win32\bin\libeay32.dll...
14> Downloading src/third_party/apache-win32\modules\mod_autoindex.so...
15> Downloading src/third_party/apache-win32\modules\mod_cgi.so...
10> Downloading src/third_party/apache-win32\bin\zlib1.dll...
2> Downloading src/third_party/apache-win32\bin\libapr-1.dll...
12> Downloading src/third_party/apache-win32\modules\mod_headers.so...
10> Downloading src/third_party/apache-win32\modules\mod_ssl.so...
1> Downloading src/third_party/apache-win32\modules\mod_mime.so...
9> Downloading src/third_party/apache-win32\modules\mod_rewrite.so...
14> Downloading src/third_party/apache-win32\modules\mod_log_config.so...
0> Downloading src/third_party/apache-win32\modules\php5apache2_2.dll...
Success!
Downloading 22 files took 75.017000 second(s)
Hook 'download_from_google_storage --no_resume --platform=win32 --directory --recursive --no_auth --num_threads=16 --bucket chromium-apache-win32 src/third_party/apache-win32' took 75.38 secs

________ running 'C:\depot_tools\python276_bin\python.exe src/third_party/instrumented_libraries/scripts/download_binaries.py
' in 'C:\work\git\cef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/tools/remove_stale_pyc_files.py src/android_webview/tools src/gpu/gles2_conform_support src/infra src/ppapi src/printing src/third_party/closure_compiler/build src/tools' in 'C:\work\git\c
ef\2623\32\chromium'

________ running 'C:\depot_tools\python276_bin\python.exe src/build/gyp_chromium' in 'C:\work\git\cef\2623\32\chromium'
Skipping gyp_chromium due to GYP_CHROMIUM_NO_ACTION env var.

WARNING: 'src\third_party\libvpx\source\libvpx' is no longer part of this client.  It is recommended that you manually remove it.


WARNING: 'src\third_party\libphonenumber\dist' is no longer part of this client.  It is recommended that you manually remove
it.

--> Removing directory C:\work\git\cef\2623\32\chromium\src\out
--> Copying directory C:\work\git\cef\2623\32\cef to C:\work\git\cef\2623\32\chromium\src\cef
--> Creating directory C:\work\git\cef\2623\32\chromium\src\out
--> Writing file: C:\work\git\cef\2623\32\chromium\src\out\cef.branch
--> GYP_MSVS_VERSION=2013
--> DEPOT_TOOLS_WIN_TOOLCHAIN=0
--> GYP_GENERATORS=ninja
-------- Running "C:\work\git\cef\2623\32\chromium\src\cef\cef_create_projects.bat" in "C:\work\git\cef\2623\32\chromium\src\cef"...

Generating CEF version header file...

________ running 'C:\depot_tools\python276_bin\python.exe tools/make_version_header.py --header include/cef_version.h --cef_version VERSION --chrome_version ../chrome/VERSION --cpp_header_dir include' in 'C:\work\git\cef\2623\32\chromium\src\cef'
File include/cef_version.h updated.

Patching build configuration and source files for CEF...

________ running 'C:\depot_tools\python276_bin\python.exe tools/patcher.py --patch-config patch/patch.cfg' in 'C:\work\git\cef\2623\32\chromium\src\cef'
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/gritsettings.patch
--> successfully patched ../tools/gritsettings/resource_ids
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/build.patch
--> successfully patched ../build/common.gypi
--> successfully patched ../build/mac/strip_save_dsym
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/zlib.patch
--> successfully patched ../third_party/zlib/contrib/minizip/unzip.c
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/message_loop_443.patch
--> successfully patched ../base/message_loop/message_loop.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/gyp_331.patch
--> successfully patched ../tools/gyp/pylib/gyp/generator/ninja.py
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/webkit_popups.patch
--> successfully patched ../third_party/WebKit/Source/web/ChromeClientImpl.cpp
--> successfully patched ../third_party/WebKit/Source/web/WebViewImpl.cpp
--> successfully patched ../third_party/WebKit/Source/web/WebViewImpl.h
--> successfully patched ../third_party/WebKit/public/web/WebView.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/underlay_1051.patch
--> successfully patched ../ui/base/cocoa/underlay_opengl_hosting_window.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/views_widget_180_1677.patch
--> successfully patched ../content/browser/renderer_host/render_widget_host_view_aura.cc
--> successfully patched ../content/browser/renderer_host/render_widget_host_view_base.cc
--> successfully patched ../content/browser/renderer_host/render_widget_host_view_base.h
--> successfully patched ../content/public/browser/render_widget_host_view.h
--> successfully patched ../ui/views/widget/desktop_aura/desktop_screen_win.cc
--> successfully patched ../ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
--> successfully patched ../ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
--> successfully patched ../ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
--> successfully patched ../ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
--> successfully patched ../ui/views/widget/desktop_aura/x11_desktop_handler.cc
--> successfully patched ../ui/views/widget/widget.cc
--> successfully patched ../ui/views/widget/widget.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/content_nav_1129.patch
--> successfully patched ../content/public/renderer/content_renderer_client.cc
--> successfully patched ../content/public/renderer/content_renderer_client.h
--> successfully patched ../content/renderer/render_frame_impl.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/public_browser_1257.patch
--> successfully patched ../content/public/browser/web_contents.cc
--> successfully patched ../content/public/browser/web_contents.h
--> successfully patched ../content/public/browser/web_contents_delegate.cc
--> successfully patched ../content/public/browser/web_contents_delegate.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/compositor_1368.patch
--> successfully patched ../content/browser/compositor/gpu_process_transport_factory.cc
--> successfully patched ../ui/compositor/compositor.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/browser_web_contents_1257.patch
--> successfully patched ../content/browser/web_contents/web_contents_impl.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/chrome_browser_1257.patch
--> successfully patched ../chrome/browser/ui/browser.cc
--> successfully patched ../chrome/browser/ui/browser.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/ui_webview_1257.patch
--> successfully patched ../ui/views/controls/webview/web_dialog_view.cc
--> successfully patched ../ui/views/controls/webview/web_dialog_view.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/extensions_1257.patch
--> successfully patched ../extensions/browser/guest_view/extension_options/extension_options_guest.cc
--> successfully patched ../extensions/browser/guest_view/extension_options/extension_options_guest.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/mime_handler_view_1565.patch
--> successfully patched ../extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.cc
--> successfully patched ../extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest.h
--> successfully patched ../extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.cc
--> successfully patched ../extensions/browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/browser_plugin_guest_1565.patch
--> successfully patched ../content/browser/browser_plugin/browser_plugin_guest.cc
--> successfully patched ../content/public/browser/browser_plugin_guest_delegate.cc
--> successfully patched ../content/public/browser/browser_plugin_guest_delegate.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/prefs_content_1161.patch
--> successfully patched ../content/public/common/common_param_traits_macros.h
--> successfully patched ../content/public/common/web_preferences.cc
--> successfully patched ../content/public/common/web_preferences.h
--> successfully patched ../content/renderer/render_view_impl.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/ui_dragdrop_355390.patch
--> successfully patched ../ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/spellcheck_137.patch
--> successfully patched ../chrome/browser/spellchecker/spellcheck_factory.cc
--> successfully patched ../chrome/browser/spellchecker/spellcheck_factory.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/prefs_tab_helper_1680.patch
--> successfully patched ../chrome/browser/ui/prefs/prefs_tab_helper.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/net_urlrequest_1327.patch
--> successfully patched ../net/url_request/url_request.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/content_pepper_flash_1586.patch
--> successfully patched ../content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/chrome_pepper_flash_1586.patch
--> successfully patched ../chrome/common/pepper_flash.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/ime_1610.patch
--> successfully patched ../ui/base/ime/input_method_win.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/print_header_footer_1478_1565.patch
--> successfully patched ../components/printing/common/print_messages.cc
--> successfully patched ../components/printing/common/print_messages.h
--> successfully patched ../components/printing/renderer/print_web_view_helper.cc
--> successfully patched ../components/printing/renderer/print_web_view_helper.h
--> successfully patched ../components/printing/renderer/print_web_view_helper_mac.mm
--> successfully patched ../components/resources/printing_resources.grdp
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/process_title_1639.patch
--> successfully patched ../content/common/set_process_title.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/hwnd_message_handler_1481.patch
--> successfully patched ../ui/views/win/hwnd_message_handler.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/browser_frame_host_guest_1687.patch
--> successfully patched ../content/browser/frame_host/render_widget_host_view_guest.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/stream_context_1710.patch
--> successfully patched ../content/browser/streams/stream_context.cc
--> successfully patched ../content/browser/streams/stream_context.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/supports_user_data_1710.patch
--> successfully patched ../base/supports_user_data.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/render_widget_host_1070383005.patch
--> successfully patched ../content/browser/renderer_host/render_widget_host_view_mac.mm
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/renderer_preferences_util_545103.patch
--> successfully patched ../chrome/browser/renderer_preferences_util.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/font_family_cache_1501.patch
--> successfully patched ../chrome/browser/font_family_cache.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/pdfium_print_549365.patch
--> successfully patched ../third_party/pdfium/fpdfsdk/src/fpdfview.cpp
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/net_filter_515.patch
--> successfully patched ../net/base/network_delegate.h
--> successfully patched ../net/filter/filter.h
--> successfully patched ../net/url_request/url_request_job.cc
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/events_x_utils.patch
--> successfully patched ../ui/events/x/events_x_utils.h
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/webkit_overlay_scrollbar_color_588709.patch
--> successfully patched ../third_party/WebKit/Source/core/frame/FrameView.cpp
--> successfully patched ../third_party/WebKit/Source/core/frame/FrameView.h
--> successfully patched ../third_party/WebKit/Source/core/layout/LayoutBox.cpp
--> successfully patched ../third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
--> successfully patched ../third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp
--> successfully patched ../third_party/WebKit/Source/platform/scroll/ScrollableArea.h
--> successfully patched ../third_party/WebKit/Source/platform/scroll/ScrollableAreaTest.cpp
Reading patch file C:/work/git/cef/2623/32/chromium/src/cef/patch/patches/win_util_1783123003.patch
--> successfully patched ../base/win/win_util.cc

Generating CEF project files...

________ running 'C:\depot_tools\python276_bin\python.exe ../build/gyp_chromium cef.gyp -I cef.gypi' in 'C:\work\git\cef\2623\32\chromium\src\cef'
Enabled Psyco JIT.
Updating projects from gyp files...
-------- Running "ninja -C out\Debug cefclient" in "C:\work\git\cef\2623\32\chromium\src"...
ninja: Entering directory `out\Debug'
[1061/15562] ACTION Copying D3D Compiler DLL...
FAILED: C:\depot_tools\python276_bin\python.exe gyp-win-tool action-wrapper environment.x86 copy_compiler_dll_target_copy_dll_a30e198148542d4bce19a5c818c6884f..rsp ..\..\third_party\angle\src
[1061/15562] ACTION Generating resources from resources/components_resources.grd
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "c:\work\git\cef\automate-git.py", line 915, in <module>
    if options.buildlogfile else None)
  File "c:\work\git\cef\automate-git.py", line 56, in run
    shell=(sys.platform == 'win32'))
  File "C:\Python27\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Debug', 'cefclient']' returned non-zero exit status 1
thabin
Newbie
 
Posts: 4
Joined: Tue Mar 29, 2016 6:27 pm

Re: Errors building CEF from source

Postby magreenblatt » Sat Apr 09, 2016 8:06 am

Thanks for pointing out the problem with depot_tools download, I'll fix that.

Did you install the Windows 10.0.10586 SDK?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Errors building CEF from source

Postby magreenblatt » Sat Apr 09, 2016 8:10 am

Actually, for 2623 branch you need the 8.1 SDK and VS 2013 update 4. Make sure to install everything in the default location.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Errors building CEF from source

Postby thabin » Tue Apr 12, 2016 7:34 pm

Another issue, when I build this my virus checker keeps complaining about:

.\chromium\src\third_party\WebKit\LayoutTests\fast\images\resources\missing-plte-before-trns.png

It claims it is a virus named: EXPL_PNG.C
thabin
Newbie
 
Posts: 4
Joined: Tue Mar 29, 2016 6:27 pm

Re: Errors building CEF from source

Postby magreenblatt » Wed Apr 13, 2016 1:23 am

That file is a test case to make sure Chromium handles incorrect PNGs properly. Exclude the chromium directory from your virus checking. You will also get faster builds.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Errors building CEF from source

Postby thabin » Thu Apr 14, 2016 4:30 pm

Holy Hannah! It worked!

27th times the charm I guess :D

A combination of installing the Windows 8.1 SDK and having 47gb free for the build, and I finally got the build to complete successfully!

Thanks for your help!
thabin
Newbie
 
Posts: 4
Joined: Tue Mar 29, 2016 6:27 pm


Return to Support Forum

Who is online

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