automate-git.py v8_use_external_startup_data problem

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: automate-git.py v8_use_external_startup_data problem

Postby Teno » Mon Jan 19, 2015 3:24 am

magreenblatt wrote:Try running commands from the Windows shell (cmd.exe) instead of git bash.


I was running the commands from cmd.exe
I was referring to the instructions at https://www.googlesource.com/new-password.
where it is stated:
Paste the following script into Git Bash.
Teno
Newbie
 
Posts: 6
Joined: Mon Jan 12, 2015 4:59 am

Re: automate-git.py v8_use_external_startup_data problem

Postby gbaltare » Fri Mar 06, 2015 11:58 am

Hi Teno and magreenblatt,

I have come across the same issues when attempting to build CEF/Chromium for CEF branch 1750. Did you manage to come up with a solution outside of the forum, or is this issue still unresolved?

Thanks
gbaltare
Newbie
 
Posts: 9
Joined: Thu Jan 15, 2015 1:18 pm

Re: automate-git.py v8_use_external_startup_data problem

Postby marquedej » Mon Mar 09, 2015 5:50 pm

Hi,

I'm running into this issue, too.

When I drop to a previous version of depot_tools (per Marshall's suggestion):

It's possible that your checkout of depot_tools is too new (depot_tools keeps updating and after a while can no longer build older branches successfully). Try checking out an older version of depot_tools:
Code: Select all
cd C:\Users\User\Desktop\depot_tools
git checkout d5a1ab12


And then run automate-git.py with the additional `--no-update --force-build --force-distrib` command-line flags.


I get the following error:

    G:\CEF3\source>python automate-git.py --download-dir=. --branch=1750 --build-log-file --no-update --force-build --force-distrib
    --> Download Directory: G:\CEF3\source
    --> Depot Tools Directory: G:\CEF3\source\depot_tools
    -------- Running "G:\CEF3\source\depot_tools\git.bat config --get remote.origin.url" in "G:\CEF3\source\cef_1750"...
    --> CEF Branch: 1750
    --> CEF URL: https://chromiumembedded@bitbucket.org/ ... 0-cef3.git
    --> CEF Source Directory: G:\CEF3\source\cef_1750
    --> CEF Output Directory: G:\CEF3\source\out_1750
    -------- Running "G:\CEF3\source\depot_tools\git.bat config --get remote.origin.url" in "G:\CEF3\source\chromium\src"...
    --> Chromium URL: https://chromium.googlesource.com/chromium/src.git
    --> DEPOT_TOOLS_WIN_TOOLCHAIN=0
    --> GYP_DEFINES="proprietary_codecs=1 ffmpeg_branding=Chrome"
    --> GYP_MSVS_VERSION=2010
    --> GYP_GENERATORS=ninja
    -------- Running "G:\CEF3\source\chromium\src\cef\cef_create_projects.bat" in "G:\CEF3\source\chromium\src\cef"...

    Checking CEF and Chromium revisions...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe tools/check_revision.py' in 'G:\CEF3\source\chromium\src\cef'
    Not an SVN checkout.

    Generating CEF version header file...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe tools/make_version_header.py --header include/cef_version.h --cef_versi
    on VERSION --chrome_version ../chrome/VERSION --cpp_header_dir include' in 'G:\CEF3\source\chromium\src\cef'
    File include/cef_version.h is already up to date.

    Patching build configuration and source files for CEF...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe tools/patcher.py --patch-config patch/patch.cfg' in 'G:\CEF3\source\chr
    omium\src\cef'
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/gritsettings.patch
    WARNING:root:already patched ../tools/gritsettings/resource_ids
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/build.patch
    WARNING:root:already patched ../build/common.gypi
    WARNING:root:already patched ../build/mac/strip_save_dsym
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/zlib.patch
    WARNING:root:already patched ../third_party/zlib/contrib/minizip/unzip.c
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/message_loop_443.patch
    WARNING:root:already patched ../base/message_loop/message_loop.cc
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/webkit_933.patch
    WARNING:root:already patched ../third_party/WebKit/Source/web/WebNode.cpp
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/gyp_331.patch
    WARNING:root:file is not patched - failed hunk: 1
    WARNING:root:source file is different - ../tools/gyp/pylib/gyp/generator/ninja.py
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/webkit_popups.patch
    WARNING:root:already patched ../third_party/WebKit/public/web/WebView.h
    WARNING:root:already patched ../third_party/WebKit/Source/web/ChromeClientImpl.cpp
    WARNING:root:already patched ../third_party/WebKit/Source/web/WebViewImpl.cpp
    WARNING:root:already patched ../third_party/WebKit/Source/web/WebViewImpl.h
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/underlay_1051.patch
    WARNING:root:already patched ../ui/base/cocoa/underlay_opengl_hosting_window.h
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/views_widget_180.patch
    WARNING:root:already patched ../ui/views/widget/desktop_aura/desktop_root_window_host_win.cc
    WARNING:root:already patched ../ui/views/widget/desktop_aura/desktop_screen_win.cc
    WARNING:root:already patched ../ui/views/widget/widget.cc
    WARNING:root:already patched ../ui/views/widget/widget.h
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/native_theme_180.patch
    WARNING:root:already patched ../ui/native_theme/native_theme_aura.cc
    WARNING:root:already patched ../ui/native_theme/native_theme_win.cc
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/content_nav_1129.patch
    WARNING:root:already patched ../content/public/renderer/content_renderer_client.cc
    WARNING:root:already patched ../content/public/renderer/content_renderer_client.h
    WARNING:root:already patched ../content/renderer/render_view_impl.cc
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/tracing_1157.patch
    WARNING:root:already patched ../content/browser/tracing/trace_message_filter.cc
    WARNING:root:already patched ../content/browser/tracing/tracing_controller_impl.cc
    WARNING:root:already patched ../content/browser/tracing/tracing_controller_impl.h
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/renderer_host_1161.patch
    WARNING:root:already patched ../content/browser/renderer_host/compositing_iosurface_layer_mac.mm
    WARNING:root:already patched ../content/browser/renderer_host/compositing_iosurface_mac.mm
    WARNING:root:already patched ../content/browser/renderer_host/compositing_iosurface_shader_programs_mac.cc
    WARNING:root:already patched ../content/browser/renderer_host/compositing_iosurface_shader_programs_mac.h
    WARNING:root:already patched ../content/browser/renderer_host/render_widget_host_view_aura.cc
    WARNING:root:already patched ../content/browser/renderer_host/render_widget_host_view_mac.mm
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/public_browser_1161.patch
    WARNING:root:already patched ../content/public/browser/content_browser_client.cc
    WARNING:root:already patched ../content/public/browser/content_browser_client.h
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/prefs_content_1161.patch
    WARNING:root:already patched ../content/public/common/common_param_traits_macros.h
    WARNING:root:already patched ../content/renderer/web_preferences.cc
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/prefs_webkit_1161.patch
    WARNING:root:already patched ../webkit/common/webpreferences.cc
    WARNING:root:already patched ../webkit/common/webpreferences.h
    Reading patch file G:/CEF3/source/chromium/src/cef/patch/patches/web_contents_1262.patch
    WARNING:root:already patched ../content/browser/web_contents/web_contents_view_aura.cc
    Skipping patch file G:/CEF3/source/chromium/src/cef/patch/patches/spi_webcore_364.patch

    Pulling clang (Mac only)...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe ../tools/clang/scripts/update.py --mac-only' in 'G:\CEF3\source\chromiu
    m\src\cef'

    Updating cygwin mount (Windows only)...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe ../build/win/setup_cygwin_mount.py --win-only' in 'G:\CEF3\source\chrom
    ium\src\cef'

    Updating LASTCHANGE...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe ../build/util/lastchange.py -o ../build/util/LASTCHANGE' in 'G:\CEF3\so
    urce\chromium\src\cef'

    Updating LASTCHANGE.blink...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe ../build/util/lastchange.py -s ../third_party/WebKit -o ../build/util/L
    ASTCHANGE.blink' in 'G:\CEF3\source\chromium\src\cef'

    Generating CEF project files...

    ________ running 'G:\CEF3\source\chromium\src\third_party\python_26\python.exe tools/gyp_cef cef.gyp -I cef.gypi' in 'G:\CEF3\source\chromium\src\cef'

    Updating projects from gyp files...
    gyp: name 'v8_use_external_startup_data' is not defined while evaluating condition 'v8_use_external_startup_data==1' in ..\v8\tools\gyp\v8.gyp
    Traceback (most recent call last):
    File "tools\gclient_hook.py", line 58, in <module>
    RunAction(cef_dir, gyper)
    File "G:\CEF3\source\chromium\src\cef\tools\gclient_util.py", line 39, in RunAction
    command, cwd=dir, always=True)
    File "G:\CEF3\source\depot_tools\gclient_utils.py", line 281, in CheckCallAndFilterAndHeader
    return CheckCallAndFilter(args, **kwargs)
    File "G:\CEF3\source\depot_tools\gclient_utils.py", line 526, in CheckCallAndFilter
    rv, args, kwargs.get('cwd', None), None, None)
    subprocess2.CalledProcessError: Command G:\CEF3\source\chromium\src\third_party\python_26\python.exe tools/gyp_cef cef.gyp -I cef.gypi returned non-ze
    ro exit status 1 in G:\CEF3\source\chromium\src\cef
    Traceback (most recent call last):
    File "automate-git.py", line 907, in <module>
    run(path, cef_src_dir, depot_tools_dir)
    File "automate-git.py", line 59, in run
    shell=(sys.platform == 'win32'))
    File "G:\CEF3\source\depot_tools\python276_bin\lib\subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['G:\\CEF3\\source\\chromium\\src\\cef\\cef_create_projects.bat']' returned non-zero exit status 1

    G:\CEF3\source>

What else do I need to do to get this release to build?

Thanks,

-- Mark
marquedej
Techie
 
Posts: 23
Joined: Wed Dec 04, 2013 7:51 pm

Re: automate-git.py v8_use_external_startup_data problem

Postby gezero » Wed Jul 22, 2015 4:08 am

I am now trying to do the same thing and got the the same point with the git crashing. Did you manage to get past the issue somehow?
gezero
Newbie
 
Posts: 1
Joined: Wed Jul 22, 2015 4:05 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 90 guests

cron