Skip to content

[qt5-webengine] Build Error, On Patch Failed #23449

@TaylorShi

Description

@TaylorShi

Host Environment

  • OS: Windows 11
  • Compiler: Visual Studio 2019 Professional

To Reproduce
Steps to reproduce the behavior:
vcpkg install qt5-webengine:x64-windows

Failure logs

❯ vcpkg install qt5-webengine:x64-windows
Computing installation plan...
The following packages will be built and installed:
    qt5-webengine[core]:x64-windows -> 5.15.3
Detecting compiler hash for triplet x64-windows...
-- Automatically setting HTTP(S)_PROXY environment variables to 127.0.0.1:7890
Restored 0 packages from C:\Users\TaylorShi\AppData\Local\vcpkg\archives in 137.1 us. Use --debug to see more details.
Starting package 1/1: qt5-webengine:x64-windows
Building package qt5-webengine[core]:x64-windows...
-- qt5-webengine requires a lot of free disk space (>100GB), ram (>8 GB) and time (>2h per configuration) to be successfully build.
-- As such qt5-webengine is currently experimental.
-- If qt5-webengine fails post build validation please open up an issue.
-- If it fails due to post validation the successfully installed files can be found in F:/v/packages/qt5-webengine_x64-windows
-- and just need to be copied into F:/v/installed/x64-windows
-- Found external ninja('1.10.2').
-- Using cached qtwebengine-everywhere-opensource-src-5.15.3.tar.xz.
-- Extracting source F:/v/downloads/qtwebengine-everywhere-opensource-src-5.15.3.tar.xz
-- Applying patch common.pri.patch
-- Applying patch gl.patch
-- Applying patch build_1.patch
CMake Error at scripts/cmake/z_vcpkg_apply_patches.cmake:61 (message):
  Applying patch failed: Checking patch
  src/3rdparty/chromium/third_party/angle/BUILD.gn...

  error: while searching for:

    # Enable more default warnings on Windows.
    if (is_win) {
      cflags += [
        "/we4244",  # Conversion: possible loss of data.
        "/we4456",  # Variable shadowing.
        "/we4458",  # declaration hides class member.
        "/we4715",  # not all control paths return a value



  error: patch failed: src/3rdparty/chromium/third_party/angle/BUILD.gn:126

  error: src/3rdparty/chromium/third_party/angle/BUILD.gn: patch does not
  apply

Call Stack (most recent call first):
  scripts/cmake/vcpkg_extract_source_archive.cmake:230 (z_vcpkg_apply_patches)
  scripts/cmake/vcpkg_extract_source_archive_ex.cmake:32 (vcpkg_extract_source_archive)
  installed/x64-windows/share/qt5/qt_download_submodule.cmake:32 (vcpkg_extract_source_archive_ex)
  installed/x64-windows/share/qt5/qt_submodule_installation.cmake:5 (qt_download_submodule)
  ports/qt5-webengine/portfile.cmake:58 (qt_submodule_installation)
  scripts/ports.cmake:145 (include)


Error: Building package qt5-webengine:x64-windows failed with: BUILD_FAILED

Additional context

no error log file

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions