Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[qt5-webengine] build failure #12477

Closed
traum100 opened this issue Jul 18, 2020 · 3 comments · Fixed by #12494
Closed

[qt5-webengine] build failure #12477

traum100 opened this issue Jul 18, 2020 · 3 comments · Fixed by #12494
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@traum100
Copy link

Host Environment

  • OS: Win10 64bit, 1909
  • Compiler: visual studio 2017

To Reproduce
Steps to reproduce the behavior:
vcpkg install qt5[all]:x64-windows

Failure logs
Starting package 53/59: qt5-webengine:x64-windows
Building package qt5-webengine[core]:x64-windows...
Could not locate cached archive: C:\Users\traum\AppData\Local\vcpkg\archives\b5\b54533a4d68b8bc85e468f7c4252b240fff85645.zip
-- qt5-webengine requires a lot of free disk space (>300GB), ram (>32 GB) and time (>4h per configuration) to be successfully build.
-- As such qt5-webengine is not properly tested.
-- 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 E:/vcpkg/packages/qt5-webengine_x64-windows
-- and just need to be copied into E:/vcpkg/installed/x64-windows
-- Downloading https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/gperf-3.0.1-bin.zip/download...
-- Downloading http://download.qt.io/official_releases/qt/5.15/5.15.0/submodules/qtwebengine-everywhere-src-5.15.0.tar.xz...
-- Extracting source E:/vcpkg/downloads/qtwebengine-everywhere-src-5.15.0.tar.xz
-- Applying patch common.pri.patch
-- Applying patch gl.patch
-- Applying patch build.patch
-- Using source at E:/vcpkg/buildtrees/qt5-webengine/src/5.15.0-c7b80f6f6f.clean
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Configuring x64-windows-dbg
-- Configuring x64-windows-dbg done
-- Package build-x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: E:/vcpkg/downloads/tools/jom/jom-1.1.3/jom.exe -j 13
Working Directory: E:/vcpkg/buildtrees/qt5-webengine/x64-windows-dbg
Error code: 2
See logs for more information:
E:\vcpkg\buildtrees\qt5-webengine\package-build-x64-windows-dbg-out.log
E:\vcpkg\buildtrees\qt5-webengine\package-build-x64-windows-dbg-err.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_qmake.cmake:31 (vcpkg_execute_required_process)
scripts/cmake/vcpkg_build_qmake.cmake:66 (run_jom)
installed/x64-windows/share/qt5/qt_build_submodule.cmake:12 (vcpkg_build_qmake)
installed/x64-windows/share/qt5/qt_submodule_installation.cmake:8 (qt_build_submodule)
ports/qt5-webengine/portfile.cmake:47 (qt_submodule_installation)
scripts/ports.cmake:76 (include)

Error: Building package qt5-webengine:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: qt5-webengine:x64-windows
Vcpkg version: 2020.06.15-nohash

package-build-x64-windows-dbg-err.log
package-build-x64-windows-dbg-out.log

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

@Neumann-A
Copy link
Contributor

error:

../../../../src/5.15.0-c7b80f6f6f.clean/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/systrace/systrace_trace_parser.cc(40): error C2672: 'std::isspace': no matching overloaded function found
../../../../src/5.15.0-c7b80f6f6f.clean/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/systrace/systrace_trace_parser.cc(40): error C2780: 'bool std::isspace(_Elem,const std::locale &)': expects 2 arguments - 1 provided
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\locale(253): note: see declaration of 'std::isspace'
../../../../src/5.15.0-c7b80f6f6f.clean/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/systrace/systrace_trace_parser.cc(42): error C2672: 'std::isspace': no matching overloaded function found
../../../../src/5.15.0-c7b80f6f6f.clean/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/systrace/systrace_trace_parser.cc(42): error C2780: 'bool std::isspace(_Elem,const std::locale &)': expects 2 arguments - 1 provided
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\locale(253): note: see declaration of 'std::isspace'

@Neumann-A
Copy link
Contributor

patch:
qt/qtwebengine-chromium@e748080

Neumann-A added a commit to Neumann-A/vcpkg that referenced this issue Jul 20, 2020
@NancyLi1013 NancyLi1013 added the category:port-bug The issue is with a library, which is something the port should already support label Jul 20, 2020
@NancyLi1013
Copy link
Contributor

@traum100
Thanks for posting this issue.
Could you please try to rebuild based on the patch @Neumann-A provided above?

strega-nil pushed a commit that referenced this issue Aug 1, 2020
* [qt5-webengine] fix vs2017 builds. closes #12477

* remove skip from ci baseline to test changes.

* add src/3rdparty/ subdir to patch

* put webengine back to skip. patch was succesfully applied
hellozee pushed a commit to hellozee/vcpkg that referenced this issue Sep 11, 2020
* [qt5-webengine] fix vs2017 builds. closes microsoft#12477

* remove skip from ci baseline to test changes.

* add src/3rdparty/ subdir to patch

* put webengine back to skip. patch was succesfully applied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants