chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.27k stars 457 forks source link

Build failed for Ninja release on Windows 11 x64 for branch 6045 #3652

Closed ARSOFT1 closed 7 months ago

ARSOFT1 commented 7 months ago

Describe the bug Tried to build branch 6045 with the following batch script:

set GN_DEFINES=is_official_build=true use_thin_lto=false proprietary_codecs=true ffmpeg_branding=Chrome media_use_ffmpeg=true media_use_libvpx=true rtc_use_h264=true
set GYP_MSVS_VERSION=2022
set CEF_ARCHIVE_FORMAT=tar.bz2
python3 .\automate\automate-git.py --download-dir=H:\cef-6045 --branch=6045 --minimal-distrib --force-clean --client-distrib --x64-build --with-pgo-profiles --no-debug-build --no-debug-tests --no-release-tests

To Reproduce Steps to reproduce the behavior:

  1. Create file create.bat with above script
  2. Created a folder named automate and created file automate/automate-git.py.
  3. Run .\create.bat
  4. After some hours, I received the following error:
    -------- Running "ninja -C out\Release_GN_x64 cefclient" in "H:\cef-6045\chromium\src"...
    ninja: Entering directory `out\Release_GN_x64'
    [19174/61554] ACTION //chrome/browser/ui/webui/tab_search:...indings_ts__generator(//build/toolchain/win:win_clang_x64)
    FAILED: gen/chrome/browser/ui/webui/tab_search/tab_search.mojom-webui.ts
    H:/cef-6045/depot_tools/bootstrap-2@3_11_6_chromium_30_bin/python3/bin/python3.exe ../../mojo/public/tools/bindings/mojom_bindings_generator.py --use_bundled_pylibs -o gen generate -d ../../ -I ../../ --bytecode_path gen/mojo/public/tools/bindings --filelist=__chrome_browser_ui_webui_tab_search_mojo_bindings_ts__generator___build_toolchain_win_win_clang_x64__rule..rsp -g typescript --scrambled_message_id_salt_path ../../chrome/VERSION
    Traceback (most recent call last):
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\mojom_bindings_generator.py", line 418, in <module>
    ret = main()
          ^^^^^^
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\mojom_bindings_generator.py", line 413, in main
    return args.func(args, remaining_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\mojom_bindings_generator.py", line 275, in _Generate
    processor._GenerateModule(
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\mojom_bindings_generator.py", line 243, in _GenerateModule
    generator.GenerateFiles(filtered_args)
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\generators\mojom_ts_generator.py", line 280, in GenerateFiles
    self.WriteWithComment(self._GenerateWebUiModule(),
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\cef-6045\chromium\src\mojo\public\tools\mojom\mojom\generate\template_expander.py", line 34, in GeneratorInternal
    parameters = generator(*args, **kwargs2)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\generators\mojom_ts_generator.py", line 266, in _GenerateWebUiModule
    return self._GetParameters()
           ^^^^^^^^^^^^^^^^^^^^^
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\generators\mojom_ts_generator.py", line 228, in _GetParameters
    self._GetJsModuleImports(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "H:\cef-6045\chromium\src\mojo\public\tools\bindings\generators\mojom_ts_generator.py", line 633, in _GetJsModuleImports
    os.path.relpath(
    File "<frozen ntpath>", line 766, in relpath
    ValueError: path is on mount '\\\\tab_group_types.mojom-webui.js', start on mount 'H:'
    [19191/61554] ACTION //chrome/app:generated_resources_grit(//build/toolchain/win:win_clang_x64)
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
    File "H:\cef-6045\automate\automate-git.py", line 1378, in <module>
    run(command + build_path + target, chromium_src_dir, depot_tools_dir,
    File "H:\cef-6045\automate\automate-git.py", line 66, in run
    return subprocess.check_call(
           ^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.752.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['ninja', '-C', 'out\\Release_GN_x64', 'cefclient']' returned non-zero exit status 1.

Versions (please complete the following information):

magreenblatt commented 7 months ago

Duplicate of #3506