apimall / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

Building on Linux x64 #1524

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running following command:
  phil@pcphil:~/cef3$ python /home/phil/cef3/automate-git.py --download-dir=/home/phil/cef3/download --branch=2272

Where automate-git.py is the recommended version Automated Method from 
https://code.google.com/p/chromiumembedded/wiki/BranchesAndBuilding

What is the expected output? What do you see instead?
The expected output is a successful build of cef3 without interrupting the 
build. Following output was printed to console:

... 7h went by

Syncing projects: 100% (89/89), done.                     
-------- Running "git config --get remote.origin.url" in 
"/home/phil/cef3/download/chromium/src"...
--> Chromium URL: https://chromium.googlesource.com/chromium/src.git
-------- Running "git rev-parse HEAD" in 
"/home/phil/cef3/download/chromium/src"...
-------- Running "git rev-parse refs/tags/41.0.2272.16" in 
"/home/phil/cef3/download/chromium/src"...
--> Chromium Current Checkout: 94ae1f37922badae0012395018c23342f33d13b7
-------- Running "git log --grep=^git-svn-id: -n 1 
94ae1f37922badae0012395018c23342f33d13b7" in 
"/home/phil/cef3/download/chromium/src"...
--> Chromium Current Revision: 291560
--> Chromium Desired Checkout: 860511c6e0a0cb1c877b82e21c8bf3af3833e2c0 
(refs/tags/41.0.2272.16)
-------- Running "git log --grep=^git-svn-id: -n 1 
860511c6e0a0cb1c877b82e21c8bf3af3833e2c0" in 
"/home/phil/cef3/download/chromium/src"...
--> Chromium Desired Revision: 291560
-------- Running "git fetch" in "/home/phil/cef3/download/chromium/src"...
remote: Counting objects: 92598, done
remote: Finding sources: 100% (316/316)
remote: Total 316 (delta 253), reused 316 (delta 253)
Empfange Objekte: 100% (316/316), 198.71 KiB | 0 bytes/s, done.
Löse Unterschiede auf: 100% (253/253), abgeschlossen mit 200 lokalen Objekten.
Von https://chromium.googlesource.com/chromium/src
   94ae1f3..4cb9b8c  git-svn    -> origin/git-svn
   cc6a8bf..5dec37c  lkcr       -> origin/lkcr
   94ae1f3..4cb9b8c  master     -> origin/master
   c409954..37b6540  refs/branch-heads/2272 -> branch-heads/2272
-------- Running "git fetch --tags" in 
"/home/phil/cef3/download/chromium/src"...
-------- Running "git checkout refs/tags/41.0.2272.16" in 
"/home/phil/cef3/download/chromium/src"...
Checking out files: 100% (17502/17502), done.
Vorherige Position von HEAD war 94ae1f3... Throttle resource message requests 
during user interaction
HEAD ist jetzt bei 860511c... Publish DEPS for Chromium 41.0.2272.16
--> Updating DEPS file: /home/phil/cef3/download/chromium/src/.DEPS.git
-------- Running "gclient sync --with_branch_heads --jobs 16" in 
"/home/phil/cef3/download/chromium"...
Syncing projects: 100% (95/95), done.                                         

________ running '/usr/bin/python src/build/landmines.py' in 
'/home/phil/cef3/download/chromium'

________ running '/usr/bin/python src/build/download_nacl_toolchains.py --mode 
nacl_core_sdk sync' in '/home/phil/cef3/download/chromium'
INFO: --Syncing nacl_x86_glibc to revision 14192--
INFO: Downloading package archive: core_sdk.tar.bz2 (1/3)
INFO: Downloading package archive: gdb_i686_linux.tgz (2/3)
INFO: Downloading package archive: toolchain.tar.bz2 (3/3)
INFO: --Syncing nacl_x86_newlib to revision 14191--
INFO: Downloading package archive: core_sdk.tgz (1/2)
INFO: Downloading package archive: naclsdk.tgz (2/2)
INFO: --Syncing pnacl_newlib to revision 14185--
INFO: Downloading package archive: binutils_pnacl_x86_64_linux.tgz (1/48)
INFO: Downloading package archive: binutils_x86_x86_64_linux.tgz (2/48)
INFO: Downloading package archive: compiler_rt_arm.tgz (3/48)
INFO: Downloading package archive: compiler_rt_arm_nonsfi.tgz (4/48)
INFO: Downloading package archive: compiler_rt_mips32.tgz (5/48)
INFO: Downloading package archive: compiler_rt_x86_32.tgz (6/48)
INFO: Downloading package archive: compiler_rt_x86_32_nonsfi.tgz (7/48)
INFO: Downloading package archive: compiler_rt_x86_64.tgz (8/48)
INFO: Downloading package archive: core_sdk_libs_i686.tgz (9/48)
INFO: Downloading package archive: core_sdk_libs_le32.tgz (10/48)
INFO: Downloading package archive: core_sdk_libs_x86_64.tgz (11/48)
INFO: Downloading package archive: driver_x86_64_linux.tgz (12/48)
INFO: Downloading package archive: libcxx_arm_bc.tgz (13/48)
INFO: Downloading package archive: libcxx_i686.tgz (14/48)
INFO: Downloading package archive: libcxx_i686_bc.tgz (15/48)
INFO: Downloading package archive: libcxx_le32.tgz (16/48)
INFO: Downloading package archive: libcxx_x86_64.tgz (17/48)
INFO: Downloading package archive: libcxx_x86_64_bc.tgz (18/48)
INFO: Downloading package archive: libcxx_x86_64_linux.tgz (19/48)
INFO: Downloading package archive: libgcc_eh_arm.tgz (20/48)
INFO: Downloading package archive: libgcc_eh_mips32.tgz (21/48)
INFO: Downloading package archive: libgcc_eh_x86_32.tgz (22/48)
INFO: Downloading package archive: libgcc_eh_x86_64.tgz (23/48)
INFO: Downloading package archive: libs_support_arm_bc.tgz (24/48)
INFO: Downloading package archive: libs_support_i686.tgz (25/48)
INFO: Downloading package archive: libs_support_i686_bc.tgz (26/48)
INFO: Downloading package archive: libs_support_le32.tgz (27/48)
INFO: Downloading package archive: libs_support_translator_arm.tgz (28/48)
INFO: Downloading package archive: libs_support_translator_arm_nonsfi.tgz 
(29/48)
INFO: Downloading package archive: libs_support_translator_mips32.tgz (30/48)
INFO: Downloading package archive: libs_support_translator_x86_32.tgz (31/48)
INFO: Downloading package archive: libs_support_translator_x86_32_nonsfi.tgz 
(32/48)
INFO: Downloading package archive: libs_support_translator_x86_64.tgz (33/48)
INFO: Downloading package archive: libs_support_x86_64.tgz (34/48)
INFO: Downloading package archive: libs_support_x86_64_bc.tgz (35/48)
INFO: Downloading package archive: libstdcxx_arm_bc.tgz (36/48)
INFO: Downloading package archive: libstdcxx_i686_bc.tgz (37/48)
INFO: Downloading package archive: libstdcxx_le32.tgz (38/48)
INFO: Downloading package archive: libstdcxx_x86_64_bc.tgz (39/48)
INFO: Downloading package archive: llvm_x86_64_linux.tgz (40/48)
INFO: Downloading package archive: metadata.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_x86_64.tgz (46/48)
INFO: Downloading package archive: newlib_x86_64_bc.tgz (47/48)
INFO: Downloading package archive: unsandboxed_irt_x86_32_linux.tgz (48/48)
INFO: --Syncing pnacl_translator to revision 14185--
INFO: Downloading package archive: pnacl-translator.tgz (1/1)
Hook '/usr/bin/python src/build/download_nacl_toolchains.py --mode 
nacl_core_sdk sync' took 404.21 secs

________ running '/usr/bin/python src/build/download_sdk_extras.py' in 
'/home/phil/cef3/download/chromium'

________ running '/usr/bin/python 
src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py 
--linux-only' in '/home/phil/cef3/download/chromium'

________ running '/usr/bin/python src/build/vs_toolchain.py update' in 
'/home/phil/cef3/download/chromium'

________ running '/usr/bin/python src/tools/clang/scripts/update.py 
--if-needed' in '/home/phil/cef3/download/chromium'
Trying to download prebuilt clang
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23.9M  100 23.9M    0     0   647k      0  0:00:37  0:00:37 --:--:--  653k
clang 223108 unpacked
Hook '/usr/bin/python src/tools/clang/scripts/update.py --if-needed' took 38.65 
secs

________ running '/usr/bin/python src/build/util/lastchange.py -o 
src/build/util/LASTCHANGE' in '/home/phil/cef3/download/chromium'

________ running '/usr/bin/python src/build/util/lastchange.py -s 
src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in 
'/home/phil/cef3/download/chromium'

________ running 'download_from_google_storage --no_resume --platform=win32 
--no_auth --bucket chromium-gn -s src/buildtools/win/gn.exe.sha1' in 
'/home/phil/cef3/download/chromium'

________ running 'download_from_google_storage --no_resume --platform=darwin 
--no_auth --bucket chromium-gn -s src/buildtools/mac/gn.sha1' in 
'/home/phil/cef3/download/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-gn -s src/buildtools/linux32/gn.sha1' in 
'/home/phil/cef3/download/chromium'
0> Downloading src/buildtools/linux32/gn...
Hook 'download_from_google_storage --no_resume '--platform=linux*' --no_auth 
--bucket chromium-gn -s src/buildtools/linux32/gn.sha1' took 14.28 secs

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-gn -s src/buildtools/linux64/gn.sha1' in 
'/home/phil/cef3/download/chromium'
0> Downloading src/buildtools/linux64/gn...

________ running 'download_from_google_storage --no_resume --platform=win32 
--no_auth --bucket chromium-clang-format -s 
src/buildtools/win/clang-format.exe.sha1' in '/home/phil/cef3/download/chromium'

________ running 'download_from_google_storage --no_resume --platform=darwin 
--no_auth --bucket chromium-clang-format -s 
src/buildtools/mac/clang-format.sha1' in '/home/phil/cef3/download/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-clang-format -s 
src/buildtools/linux64/clang-format.sha1' in '/home/phil/cef3/download/chromium'
0> Downloading src/buildtools/linux64/clang-format...

________ running '/usr/bin/python src/third_party/binutils/download.py' in 
'/home/phil/cef3/download/chromium'
0> Downloading 
/home/phil/cef3/download/chromium/src/third_party/binutils/Linux_x64/binutils.ta
r.bz2...
Downloading 
/home/phil/cef3/download/chromium/src/third_party/binutils/Linux_x64/binutils.ta
r.bz2
Extracting 
/home/phil/cef3/download/chromium/src/third_party/binutils/Linux_x64/binutils.ta
r.bz2
Hook '/usr/bin/python src/third_party/binutils/download.py' took 12.95 secs

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-eu-strip -s src/build/linux/bin/eu-strip.sha1' in 
'/home/phil/cef3/download/chromium'
0> Downloading src/build/linux/bin/eu-strip...

________ 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 
'/home/phil/cef3/download/chromium'

________ running '/usr/bin/python src/build/get_syzygy_binaries.py 
--output-dir=src/third_party/syzygy/binaries 
--revision=b92d590a9670f92b1223bcc9a334771ce95611cd --overwrite' in 
'/home/phil/cef3/download/chromium'
INFO:get_syzygy_binaries.py:Output directory does not exist, skipping cleanup.

________ 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 
'/home/phil/cef3/download/chromium'

________ running '/usr/bin/python 
src/mojo/public/tools/download_shell_binary.py' in 
'/home/phil/cef3/download/chromium'

________ running '/usr/bin/python src/build/gyp_chromium' in 
'/home/phil/cef3/download/chromium'
Updating projects from gyp files...
Hook '/usr/bin/python src/build/gyp_chromium' took 42.61 secs

________ running '/usr/bin/python src/tools/check_git_config.py 
--running-as-hook' in '/home/phil/cef3/download/chromium'

________ running '/usr/bin/python src/tools/remove_stale_pyc_files.py 
src/tools' in '/home/phil/cef3/download/chromium'
--> Removing directory /home/phil/cef3/download/chromium/src/out
--> Copying directory /home/phil/cef3/download/cef_2272 to 
/home/phil/cef3/download/chromium/src/cef
-------- Running 
"/home/phil/cef3/download/chromium/src/cef/cef_create_projects.sh" in 
"/home/phil/cef3/download/chromium/src/cef"...

Generating CEF version header file...

________ running '/usr/bin/python tools/make_version_header.py --header 
include/cef_version.h --cef_version VERSION --chrome_version ../chrome/VERSION 
--cpp_header_dir include' in '/home/phil/cef3/download/chromium/src/cef'
File include/cef_version.h updated.

Patching build configuration and source files for CEF...

________ running '/usr/bin/python tools/patcher.py --patch-config 
patch/patch.cfg' in '/home/phil/cef3/download/chromium/src/cef'
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/gritsettings.patch
WARNING:root:successfully patched ../tools/gritsettings/resource_ids
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/build.patch
WARNING:root:successfully patched ../build/common.gypi
WARNING:root:successfully patched ../build/mac/strip_save_dsym
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/zlib.patch
WARNING:root:successfully patched ../third_party/zlib/contrib/minizip/unzip.c
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/message_loop_443.patch
WARNING:root:successfully patched ../base/message_loop/message_loop.cc
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/gyp_331.patch
WARNING:root:successfully patched ../tools/gyp/pylib/gyp/generator/ninja.py
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/webkit_popups.patch
WARNING:root:successfully patched 
../third_party/WebKit/Source/web/ChromeClientImpl.cpp
WARNING:root:successfully patched 
../third_party/WebKit/Source/web/WebViewImpl.cpp
WARNING:root:successfully patched ../third_party/WebKit/Source/web/WebViewImpl.h
WARNING:root:successfully patched ../third_party/WebKit/public/web/WebView.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/underlay_1051.patch
WARNING:root:successfully patched 
../ui/base/cocoa/underlay_opengl_hosting_window.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/views_widget_180.patch
WARNING:root:successfully patched 
../ui/views/widget/desktop_aura/desktop_screen_win.cc
WARNING:root:successfully patched 
../ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
WARNING:root:successfully patched 
../ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
WARNING:root:successfully patched 
../ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h
WARNING:root:successfully patched ../ui/views/widget/widget.cc
WARNING:root:successfully patched ../ui/views/widget/widget.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/content_nav_1129.patch
WARNING:root:successfully patched 
../content/public/renderer/content_renderer_client.cc
WARNING:root:successfully patched 
../content/public/renderer/content_renderer_client.h
WARNING:root:successfully patched ../content/renderer/render_frame_impl.cc
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/public_browser_1161_1257
.patch
WARNING:root:successfully patched 
../content/public/browser/content_browser_client.cc
WARNING:root:successfully patched 
../content/public/browser/content_browser_client.h
WARNING:root:successfully patched ../content/public/browser/web_contents.cc
WARNING:root:successfully patched ../content/public/browser/web_contents.h
WARNING:root:successfully patched 
../content/public/browser/web_contents_delegate.cc
WARNING:root:successfully patched 
../content/public/browser/web_contents_delegate.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/compositor_1368.patch
WARNING:root:successfully patched 
../content/browser/compositor/gpu_process_transport_factory.cc
WARNING:root:successfully patched ../ui/compositor/compositor.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/browser_web_contents_125
7.patch
WARNING:root:successfully patched 
../content/browser/web_contents/web_contents_impl.cc
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/chrome_browser_1257.patc
h
WARNING:root:successfully patched ../chrome/browser/ui/browser.cc
WARNING:root:successfully patched ../chrome/browser/ui/browser.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/prefs_content_1161.patch
WARNING:root:successfully patched 
../content/public/common/common_param_traits_macros.h
WARNING:root:successfully patched ../content/public/common/web_preferences.cc
WARNING:root:successfully patched ../content/public/common/web_preferences.h
WARNING:root:successfully patched ../content/renderer/render_view_impl.cc
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/webkit_platform_mac_3288
14.patch
WARNING:root:successfully patched 
../third_party/WebKit/Source/platform/mac/ThemeMac.mm
WARNING:root:successfully patched 
../third_party/WebKit/Source/platform/mac/WebCoreNSCellExtras.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/ui_dragdrop_355390.patch
WARNING:root:successfully patched 
../ui/base/dragdrop/os_exchange_data_provider_aurax11.cc
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/spellcheck_137.patch
WARNING:root:successfully patched 
../chrome/browser/spellchecker/spellcheck_factory.cc
WARNING:root:successfully patched 
../chrome/browser/spellchecker/spellcheck_factory.h
Reading patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/render_process_host_1429
.patch
WARNING:root:successfully patched 
../content/browser/renderer_host/render_process_host_impl.cc
Skipping patch file 
/home/phil/cef3/download/chromium/src/cef/patch/patches/spi_webcore_364.patch
Writing file /home/phil/cef3/download/chromium/src/cef/patch/patch_state.h.

Generating CEF project files...

________ running '/usr/bin/python ../build/gyp_chromium cef.gyp -I cef.gypi' in 
'/home/phil/cef3/download/chromium/src/cef'
Updating projects from gyp files...
--> Writing file: /home/phil/cef3/download/chromium/src/out/cef.branch
-------- Running "ninja -C out/Debug cefclient chrome_sandbox" in 
"/home/phil/cef3/download/chromium/src"...
ninja: Entering directory `out/Debug'
ninja: warning: multiple rules generate files/osr_test.html. builds involving 
this target will not be correct; continuing anyway
[1647/12515] RULE make_core_generated: bison_e1ded04c47a6dca5bac907ebcc5f4b89 
xml/XPathGrammar.y
FAILED: cd ../../third_party/WebKit/Source/core; python 
../build/scripts/rule_bison.py "xml/XPathGrammar.y" 
../../../../out/Debug/gen/blink/core bison
Traceback (most recent call last):
  File "../build/scripts/rule_bison.py", line 82, in <module>
    returnCode = subprocess.call([bisonExe, '-d', '-p', prefix, inputFile, '-o', outputCpp])
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
[1647/12515] ACTION make_core_generated: 
CSSPropertyNames_e1ded04c47a6dca5bac907ebcc5f4b89
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/phil/cef3/automate-git.py", line 898, in <module>
    if options.buildlogfile else None)
  File "/home/phil/cef3/automate-git.py", line 74, in run
    shell=(sys.platform == 'win32'))
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja', '-C', 'out/Debug', 
'cefclient', 'chrome_sandbox']' returned non-zero exit status 1

What version of the product are you using? On what operating system?
Kubuntu 14.04
G++ 4.9.2
ninja 0.1.3
python 2.7.6
git 1.9.1

Please provide any additional information below.
Is there any other way to get cef3 binaries with utf8 encoded CefStrings for 
linux?

Original issue reported on code.google.com by philip.l...@gmail.com on 5 Feb 2015 at 2:56

GoogleCodeExporter commented 9 years ago
It looks like you don't have bison installed. Did you run the 
install-build-deps.sh script? See 
https://code.google.com/p/chromium/wiki/LinuxBuildInstructions.

Original comment by magreenb...@gmail.com on 5 Feb 2015 at 6:39

GoogleCodeExporter commented 9 years ago
Thank you for the quick answer, you've solved my first error ;=)

Original comment by philip.l...@gmail.com on 5 Feb 2015 at 11:11