microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.26k stars 6.41k forks source link

[qt5-webengine] Build error #27300

Closed anver closed 1 year ago

anver commented 2 years ago

Package: qt5-webengine[core]:x64-windows -> 5.15.6#1

Host Environment

To Reproduce

vcpkg install qt5-webengine[core]:x64-windows

Failure logs

-- 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 try manually reducing VCPKG_MAX_CONCURRENCY and open up an issue if it still cannot build. 
-- If it fails due to post validation the successfully installed files can be found in C:/vc/packages/qt5-webengine_x64-windows 
-- and just need to be copied into C:/vc/installed/x64-windows
-- Downloading https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/gperf-3.0.1-bin.zip/download -> gperf-3.0.1-bin.zip...
-- Downloading https://www.python.org/ftp/python/2.7.18/python-2.7.18.amd64.msi -> python-2.7.18.amd64.msi...
-- Found external ninja('1.10.2').
-- Downloading https://download.qt.io/official_releases/qt/5.15/5.15.6/submodules/qtwebengine-everywhere-opensource-src-5.15.6.tar.xz;https://mirrors.ocf.berkeley.edu/qt/official_releases/qt/5.15/5.15.6/submodules/qtwebengine-everywhere-opensource-src-5.15.6.tar.xz -> qtwebengine-everywhere-opensource-src-5.15.6.tar.xz...
-- Extracting source C:/vc/downloads/qtwebengine-everywhere-opensource-src-5.15.6.tar.xz
-- Applying patch common.pri.patch
-- Applying patch gl.patch
-- Applying patch build_1.patch
-- Applying patch build_2.patch
-- Applying patch workaround-msvc2022-ice.patch
-- Using source at C:/vc/buildtrees/qt5-webengine/src/5.15.6-cd4fc1058e.clean
-- Getting CMake variables for x64-windows
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-9.0.0.6373.5be8fcd83-1-any.pkg.tar.zst.
-- Using msys root at C:/vc/downloads/tools/msys2/9a1ec3f33446b195
-- 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_build_process.cmake:131 (message):
    Command failed: C:/vc/downloads/tools/jom/jom-1.1.3/jom.exe -j 9
    Working Directory: C:/vc/buildtrees/qt5-webengine/x64-windows-dbg
    See logs for more information:
      C:\vc\buildtrees\qt5-webengine\package-build-x64-windows-dbg-out.log
      C:\vc\buildtrees\qt5-webengine\package-build-x64-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_qmake.cmake:3 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_build_qmake.cmake:73 (z_run_jom_build)
  installed/x64-windows/share/qt5/qt_build_submodule.cmake:11 (vcpkg_build_qmake)
  installed/x64-windows/share/qt5/qt_submodule_installation.cmake:9 (qt_build_submodule)
  ports/qt5-webengine/portfile.cmake:62 (qt_submodule_installation)
  scripts/ports.cmake:147 (include)
C:\vc\buildtrees\qt5-webengine\package-build-x64-windows-dbg-out.log ``` cd src\ && ( if not exist Makefile C:\vc\installed\x64-windows\tools\qt5\bin\qmake.exe -o Makefile C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\src.pro "CONFIG-=release" "CONFIG+=debug" "QMAKE_CC=cl.exe" "QMAKE_CXX=cl.exe" "QMAKE_AR=lib.exe" "QMAKE_RANLIB=:" "QMAKE_STRIP=" "QMAKE_NM=" "QMAKE_RC=rc.exe" "QMAKE_MT=mt.exe" "QMAKE_LIB=lib.exe" "QMAKE_LINK=link.exe" "QMAKE_LIBS+=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" "QMAKE_RC+=-c65001 -DWIN32 -D_DEBUG" "QMAKE_CFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_CXXFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -GR -EHsc -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_LFLAGS+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_SHLIB+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_PLUGIN+=-machine:x64 -debug -INCREMENTAL" "QMAKE_LIBFLAGS_DEBUG+=-machine:x64 -nologo" "CONFIG-=static" "CONFIG*=shared" "CONFIG*=separate_debug_info" -qtconf C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/qt.conf ) && C:\vc\downloads\tools\jom\jom-1.1.3\jom.exe -f Makefile cd buildtools\ && ( if not exist Makefile C:\vc\installed\x64-windows\tools\qt5\bin\qmake.exe -o Makefile C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\buildtools\buildtools.pro "CONFIG-=release" "CONFIG+=debug" "QMAKE_CC=cl.exe" "QMAKE_CXX=cl.exe" "QMAKE_AR=lib.exe" "QMAKE_RANLIB=:" "QMAKE_STRIP=" "QMAKE_NM=" "QMAKE_RC=rc.exe" "QMAKE_MT=mt.exe" "QMAKE_LIB=lib.exe" "QMAKE_LINK=link.exe" "QMAKE_LIBS+=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" "QMAKE_RC+=-c65001 -DWIN32 -D_DEBUG" "QMAKE_CFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_CXXFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -GR -EHsc -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_LFLAGS+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_SHLIB+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_PLUGIN+=-machine:x64 -debug -INCREMENTAL" "QMAKE_LIBFLAGS_DEBUG+=-machine:x64 -nologo" "CONFIG-=static" "CONFIG*=shared" "CONFIG*=separate_debug_info" -qtconf C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/qt.conf ) && C:\vc\downloads\tools\jom\jom-1.1.3\jom.exe -f Makefile ( if not exist Makefile.ninja C:\vc\installed\x64-windows\tools\qt5\bin\qmake.exe -o Makefile.ninja C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\buildtools\ninja.pro "CONFIG-=release" "CONFIG+=debug" "QMAKE_CC=cl.exe" "QMAKE_CXX=cl.exe" "QMAKE_AR=lib.exe" "QMAKE_RANLIB=:" "QMAKE_STRIP=" "QMAKE_NM=" "QMAKE_RC=rc.exe" "QMAKE_MT=mt.exe" "QMAKE_LIB=lib.exe" "QMAKE_LINK=link.exe" "QMAKE_LIBS+=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" "QMAKE_RC+=-c65001 -DWIN32 -D_DEBUG" "QMAKE_CFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_CXXFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -GR -EHsc -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_LFLAGS+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_SHLIB+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_PLUGIN+=-machine:x64 -debug -INCREMENTAL" "QMAKE_LIBFLAGS_DEBUG+=-machine:x64 -nologo" "CONFIG-=static" "CONFIG*=shared" "CONFIG*=separate_debug_info" -qtconf C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/qt.conf ) && C:\vc\downloads\tools\jom\jom-1.1.3\jom.exe -f Makefile.ninja ... Skipped 35386 lines ... Receiver=base::RepeatingCallback ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind.h(204): note: see reference to function template instantiation 'base::internal::BindState> *base::internal::BindState>::Create(base::internal::BindStateBase::InvokeFuncStorage,ForwardFunctor &&,_Ty &&)' being compiled with [ _Ty=base::RepeatingCallback, ForwardFunctor=void (__cdecl *)(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind.h(234): note: see reference to function template instantiation 'base::internal::BindState> *base::internal::BindState>::Create(base::internal::BindStateBase::InvokeFuncStorage,ForwardFunctor &&,_Ty &&)' being compiled with [ _Ty=base::RepeatingCallback, ForwardFunctor=void (__cdecl *)(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind.h(259): note: see reference to function template instantiation 'CallbackType base::internal::BindImpl(Functor &&,_Ty &&)' being compiled with [ _Ty=base::RepeatingCallback, Functor=void (__cdecl *)(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\mojo/public/cpp/system/simple_watcher.h(135): note: see reference to function template instantiation 'base::RepeatingCallback base::BindRepeating>(Functor &&,base::RepeatingCallback &&)' being compiled with [ Functor=void (__cdecl *)(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] lib.exe -machine:x64 -nologo -machine:x64 -nologo /OUT:debug\qtwebenginecoreapid.lib @C:\Users\khade\AppData\Local\Temp\qtwebenginecoreapid.lib.2988.4328.jom if exist debug\qtwebenginecoreapid.lib.objects del debug\qtwebenginecoreapid.lib.objects for %%a in (.obj\debug\qtwebenginecoreglobal.obj .obj\debug\qwebengineclientcertificatestore.obj .obj\debug\qwebenginecookiestore.obj .obj\debug\qwebenginefindtextresult.obj .obj\debug\qwebenginehttprequest.obj .obj\debug\qwebenginemessagepumpscheduler.obj .obj\debug\qwebenginenotification.obj .obj\debug\qwebenginequotarequest.obj .obj\debug\qwebengineregisterprotocolhandlerrequest.obj .obj\debug\qwebengineurlrequestinfo.obj .obj\debug\qwebengineurlrequestjob.obj .obj\debug\qwebengineurlscheme.obj .obj\debug\qwebengineurlschemehandler.obj .obj\debug\moc_qwebenginecookiestore.obj .obj\debug\moc_qwebenginemessagepumpscheduler_p.obj .obj\debug\moc_qwebenginequotarequest.obj .obj\debug\moc_qwebengineregisterprotocolhandlerrequest.obj .obj\debug\moc_qwebengineurlrequestinterceptor.obj .obj\debug\moc_qwebengineurlrequestjob.obj .obj\debug\moc_qwebengineurlscheme.obj .obj\debug\moc_qwebengineurlschemehandler.obj) do echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\%%a >> debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qtwebenginecoreglobal.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebengineclientcertificatestore.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebenginecookiestore.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebenginefindtextresult.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebenginehttprequest.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebenginemessagepumpscheduler.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebenginenotification.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebenginequotarequest.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebengineregisterprotocolhandlerrequest.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebengineurlrequestinfo.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebengineurlrequestjob.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebengineurlscheme.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\qwebengineurlschemehandler.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebenginecookiestore.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebenginemessagepumpscheduler_p.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebenginequotarequest.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebengineregisterprotocolhandlerrequest.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebengineurlrequestinterceptor.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebengineurlrequestjob.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebengineurlscheme.obj 1>>debug\qtwebenginecoreapid.lib.objects C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\.obj\debug\moc_qwebengineurlschemehandler.obj 1>>debug\qtwebenginecoreapid.lib.objects ( if not exist Makefile.core_module C:\vc\installed\x64-windows\tools\qt5\bin\qmake.exe -o Makefile.core_module C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\core\core_module.pro "CONFIG-=release" "CONFIG+=debug" "QMAKE_CC=cl.exe" "QMAKE_CXX=cl.exe" "QMAKE_AR=lib.exe" "QMAKE_RANLIB=:" "QMAKE_STRIP=" "QMAKE_NM=" "QMAKE_RC=rc.exe" "QMAKE_MT=mt.exe" "QMAKE_LIB=lib.exe" "QMAKE_LINK=link.exe" "QMAKE_LIBS+=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" "QMAKE_RC+=-c65001 -DWIN32 -D_DEBUG" "QMAKE_CFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_CXXFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -GR -EHsc -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_LFLAGS+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_SHLIB+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_PLUGIN+=-machine:x64 -debug -INCREMENTAL" "QMAKE_LIBFLAGS_DEBUG+=-machine:x64 -nologo" "CONFIG-=static" "CONFIG*=shared" "CONFIG*=separate_debug_info" -qtconf C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/qt.conf ) && C:\vc\downloads\tools\jom\jom-1.1.3\jom.exe -f Makefile.core_module C:\vc\downloads\tools\jom\jom-1.1.3\jom.exe -f Makefile.core_module.Debug rc.exe -c65001 -DWIN32 -D_DEBUG -D_DEBUG -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_WEBENGINECORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -DQT_WEBENGINECOREHEADERS_LIB -D_WINDLL -fo .obj\debug\Qt5WebEngineCored_resource.res Qt5WebEngineCored_resource.rc Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384 Copyright (C) Microsoft Corporation. All rights reserved. link.exe /NOLOGO /DYNAMICBASE /NXCOMPAT -machine:x64 -nologo -debug -INCREMENTAL -machine:x64 -nologo -debug -INCREMENTAL @C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/src/core/debug/QtWebEngineCore_o.rsp @C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/src/core/debug/QtWebEngineCore_a.rsp /WX /DEBUG /MACHINE:X64 /FIXED:NO /ignore:4199 /ignore:4221 /NXCOMPAT /DYNAMICBASE /time /verbose:incr /INCREMENTAL:NO /SUBSYSTEM:CONSOLE,5.02 /guard:cf /NOLOGO /DYNAMICBASE /NXCOMPAT -machine:x64 -nologo -debug -INCREMENTAL -machine:x64 -nologo -debug -INCREMENTAL /DEBUG /DLL /SUBSYSTEM:WINDOWS /DELAYLOAD:cfgmgr32.dll /DELAYLOAD:powrprof.dll /DELAYLOAD:setupapi.dll /NATVIS:C:/vc/buildtrees/qt5-webengine/src/5.15.6-cd4fc1058e.clean/src/3rdparty/chromium/tools/win/DebugVisualizers/chrome.natvis /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /DELAYLOAD:mfreadwrite.dll /DELAYLOAD:BluetoothApis.dll /DELAYLOAD:Bthprops.cpl /DELAYLOAD:setupapi.dll /NATVIS:C:/vc/buildtrees/qt5-webengine/src/5.15.6-cd4fc1058e.clean/src/3rdparty/chromium/tools/win/DebugVisualizers/blink.natvis /DELAYLOAD:advapi32.dll /DELAYLOAD:cfgmgr32.dll /DELAYLOAD:ole32.dll /DELAYLOAD:setupapi.dll /DELAYLOAD:winusb.dll /OPT:REF @C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/src/core/api/debug\qtwebenginecoreapid.lib.objects /DEBUG /DLL /SUBSYSTEM:WINDOWS -machine:x64 -nologo -debug -INCREMENTAL -machine:x64 -nologo -debug -INCREMENTAL /VERSION:5.15 /MANIFEST:embed /OUT:..\..\lib\Qt5WebEngineCored.dll @C:\Users\khade\AppData\Local\Temp\Qt5WebEngineCored.dll.13084.31.jom LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:REF' specification LINK : error LNK1218: warning treated as error; no output file generated Final: Total time = 1.031s ```
C:\vc\buildtrees\qt5-webengine\package-build-x64-windows-dbg-err.log ``` jom 1.1.3 - empower your cores Project MESSAGE: C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\gn\build\gen.py --no-last-commit-position --out-path C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/src/3rdparty/gn/out/Release --cc "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x64\cl.exe" --cxx "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x64\cl.exe" --ld "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\Hostx64\x64\link.exe" --use-lto Project MESSAGE: Running: C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\3rdparty\gn\out\Release\gn.exe gen C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\debug --script-executable=C:\vc\downloads\tools\python\python-2.7.18-x64\python.exe --args="use_qt=true init_stack_vars=false is_component_build=false is_shared=true enable_debugallocation=false enable_media_remoting=false enable_message_center=false enable_nacl=false enable_remoting=false enable_reporting=false enable_resource_allowlist_generation=false enable_swiftshader=false enable_swiftshader_vulkan=false angle_enable_swiftshader=false enable_web_speech=false enable_widevine=true forbid_non_component_debug_builds=false has_native_accessibility=false safe_browsing_mode=0 skia_use_dawn=false toolkit_views=false treat_warnings_as_errors=false use_allocator_shim=false use_allocator=\"none\" use_custom_libcxx=false chrome_pgo_phase=0 enable_hangout_services_extension=true optimize_webui=false enable_js_type_check=false v8_use_external_startup_data=false strip_absolute_paths_from_debug_symbols=false jumbo_build_excluded=[\"browser\"] enable_precompiled_headers=false is_official_build=false is_unsafe_developer_build=false from_here_uses_location_builtins=false is_debug=true use_debug_fission=false enable_iterator_debugging=true v8_optimized_debug=false blink_symbol_level=0 remove_v8base_debug_symbols=true use_sysroot=false enable_session_service=false ninja_use_custom_environment_files=false win_linker_timing=true com_init_check_hook_disabled=true heterogeneous_executables=true enable_vr=false is_clang=false use_lld=false use_incremental_linking=false visual_studio_version=2019 visual_studio_path=\"C:/Program Files/Microsoft Visual Studio/2022/Community\" windows_sdk_path=\"C:/Program Files ^(x86^)/Windows Kits/10\" target_cpu=\"x64\" enable_basic_printing=true enable_print_preview=true enable_pdf=true enable_plugins=true enable_spellcheck=true enable_webrtc=true proprietary_codecs=false enable_extensions=true use_kerberos=true use_browser_spellchecker=false qtwebengine_target=\"C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\debug:QtWebEngineCore\"" --root=C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium Project MESSAGE: Running: C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\3rdparty\gn\out\Release\gn.exe gen C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\release --script-executable=C:\vc\downloads\tools\python\python-2.7.18-x64\python.exe --args="use_qt=true init_stack_vars=false is_component_build=false is_shared=true enable_debugallocation=false enable_media_remoting=false enable_message_center=false enable_nacl=false enable_remoting=false enable_reporting=false enable_resource_allowlist_generation=false enable_swiftshader=false enable_swiftshader_vulkan=false angle_enable_swiftshader=false enable_web_speech=false enable_widevine=true forbid_non_component_debug_builds=false has_native_accessibility=false safe_browsing_mode=0 skia_use_dawn=false toolkit_views=false treat_warnings_as_errors=false use_allocator_shim=false use_allocator=\"none\" use_custom_libcxx=false chrome_pgo_phase=0 enable_hangout_services_extension=true optimize_webui=false enable_js_type_check=false v8_use_external_startup_data=false strip_absolute_paths_from_debug_symbols=false jumbo_build_excluded=[\"browser\"] enable_precompiled_headers=false is_official_build=true is_debug=false symbol_level=0 blink_symbol_level=0 remove_v8base_debug_symbols=true use_sysroot=false enable_session_service=false ninja_use_custom_environment_files=false win_linker_timing=true com_init_check_hook_disabled=true heterogeneous_executables=true enable_vr=false is_clang=false use_lld=false use_incremental_linking=false visual_studio_version=2019 visual_studio_path=\"C:/Program Files/Microsoft Visual Studio/2022/Community\" windows_sdk_path=\"C:/Program Files ^(x86^)/Windows Kits/10\" target_cpu=\"x64\" enable_basic_printing=true enable_print_preview=true enable_pdf=true enable_plugins=true enable_spellcheck=true enable_webrtc=true proprietary_codecs=false enable_extensions=true use_kerberos=true use_browser_spellchecker=false qtwebengine_target=\"C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\release:QtWebEngineCore\"" --root=C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' cl : Command line warning D9025 : overriding '/Zi' with '/Z7' jom: C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\Makefile.core_module.Debug [..\..\lib\Qt5WebEngineCored.dll] Error 4075 jom: C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\Makefile.core_module [debug] Error 2 jom: C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\Makefile [sub-core_module-pro-make_first] Error 2 jom: C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\Makefile [sub-core-make_first] Error 2 jom: C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\Makefile [sub-src-make_first] Error 2 ```

Additional context

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

last few lines of c:\vc\buildtrees\qt5-webengine\package-build-x64-windows-dbg-err.log file This file is more than 110 mb in size so can't upload that

C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/memory/scoped_refptr.h(336): warning C4100: 'null': unreferenced formal parameter C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/memory/scoped_refptr.h(357): note: see reference to function template instantiation 'bool operator ==(const scoped_refptr &,std::nullptr_t)' being compiled C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\mojo/public/cpp/bindings/connection_group.h(42): note: see reference to function template instantiation 'bool operator !=(const scoped_refptr &,std::nullptr_t)' being compiled C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind_internal.h(795): warning C4100: 'receiver': unreferenced formal parameter C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind_internal.h(850): note: see reference to function template instantiation 'void base::internal::BanUnconstructedRefCountedReceiver<ForwardFunctor,_Ty,>(const Receiver &)' being compiled with [ ForwardFunctor=void (cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &), _Ty=base::RepeatingCallback<void (MojoResult)>, Receiver=base::RepeatingCallback<void (MojoResult)> ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind.h(204): note: see reference to function template instantiation 'base::internal::BindState<void (__cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),base::RepeatingCallback<void (MojoResult)>> base::internal::BindState<void (__cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),base::RepeatingCallback<void (MojoResult)>>::Create<void(__cdecl *)(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),_Ty>(base::internal::BindStateBase::InvokeFuncStorage,ForwardFunctor &&,_Ty &&)' being compiled with [ _Ty=base::RepeatingCallback<void (MojoResult)>, ForwardFunctor=void (cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind.h(234): note: see reference to function template instantiation 'base::internal::BindState<void (__cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),base::RepeatingCallback<void (MojoResult)>> base::internal::BindState<void (__cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),base::RepeatingCallback<void (MojoResult)>>::Create<void(cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),_Ty>(base::internal::BindStateBase::InvokeFuncStorage,ForwardFunctor &&,_Ty &&)' being compiled with [ _Ty=base::RepeatingCallback<void (MojoResult)>, ForwardFunctor=void (__cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\base/bind.h(259): note: see reference to function template instantiation 'CallbackType base::internal::BindImpl<base::RepeatingCallback,void(__cdecl *)(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),_Ty>(Functor &&,_Ty &&)' being compiled with [ _Ty=base::RepeatingCallback<void (MojoResult)>, Functor=void (cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\3rdparty\chromium\mojo/public/cpp/system/simple_watcher.h(135): note: see reference to function template instantiation 'base::RepeatingCallback<void (MojoResult,const mojo::HandleSignalsState &)> base::BindRepeating<void(__cdecl )(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &),base::RepeatingCallback<void (MojoResult)>>(Functor &&,base::RepeatingCallback<void (MojoResult)> &&)' being compiled with [ Functor=void (__cdecl *)(const mojo::SimpleWatcher::ReadyCallback &,MojoResult,const mojo::HandleSignalsState &) ] lib.exe -machine:x64 -nologo -machine:x64 -nologo /OUT:debug\qtwebenginecoreapid.lib @C:\Users\khade\AppData\Local\Temp\qtwebenginecoreapid.lib.2988.4328.jom if exist debug\qtwebenginecoreapid.lib.objects del debug\qtwebenginecoreapid.lib.objects for %%a in (.obj\debug\qtwebenginecoreglobal.obj .obj\debug\qwebengineclientcertificatestore.obj .obj\debug\qwebenginecookiestore.obj .obj\debug\qwebenginefindtextresult.obj .obj\debug\qwebenginehttprequest.obj .obj\debug\qwebenginemessagepumpscheduler.obj .obj\debug\qwebenginenotification.obj .obj\debug\qwebenginequotarequest.obj .obj\debug\qwebengineregisterprotocolhandlerrequest.obj .obj\debug\qwebengineurlrequestinfo.obj .obj\debug\qwebengineurlrequestjob.obj .obj\debug\qwebengineurlscheme.obj .obj\debug\qwebengineurlschemehandler.obj .obj\debug\moc_qwebenginecookiestore.obj .obj\debug\moc_qwebenginemessagepumpscheduler_p.obj .obj\debug\moc_qwebenginequotarequest.obj .obj\debug\moc_qwebengineregisterprotocolhandlerrequest.obj .obj\debug\moc_qwebengineurlrequestinterceptor.obj .obj\debug\moc_qwebengineurlrequestjob.obj .obj\debug\moc_qwebengineurlscheme.obj .obj\debug\moc_qwebengineurlschemehandler.obj) do echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api\%%a >> debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qtwebenginecoreglobal.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebengineclientcertificatestore.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebenginecookiestore.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebenginefindtextresult.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebenginehttprequest.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebenginemessagepumpscheduler.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebenginenotification.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebenginequotarequest.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebengineregisterprotocolhandlerrequest.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebengineurlrequestinfo.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebengineurlrequestjob.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebengineurlscheme.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\qwebengineurlschemehandler.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebenginecookiestore.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebenginemessagepumpscheduler_p.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebenginequotarequest.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebengineregisterprotocolhandlerrequest.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebengineurlrequestinterceptor.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebengineurlrequestjob.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebengineurlscheme.obj 1>>debug\qtwebenginecoreapid.lib.objects

C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api>echo C:\vc\buildtrees\qt5-webengine\x64-windows-dbg\src\core\api.obj\debug\moc_qwebengineurlschemehandler.obj 1>>debug\qtwebenginecoreapid.lib.objects ( if not exist Makefile.core_module C:\vc\installed\x64-windows\tools\qt5\bin\qmake.exe -o Makefile.core_module C:\vc\buildtrees\qt5-webengine\src\5.15.6-cd4fc1058e.clean\src\core\core_module.pro "CONFIG-=release" "CONFIG+=debug" "QMAKE_CC=cl.exe" "QMAKE_CXX=cl.exe" "QMAKE_AR=lib.exe" "QMAKE_RANLIB=:" "QMAKE_STRIP=" "QMAKE_NM=" "QMAKE_RC=rc.exe" "QMAKE_MT=mt.exe" "QMAKE_LIB=lib.exe" "QMAKE_LINK=link.exe" "QMAKE_LIBS+=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" "QMAKE_RC+=-c65001 -DWIN32 -D_DEBUG" "QMAKE_CFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_CXXFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -GR -EHsc -MP -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_LFLAGS+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_SHLIB+=-machine:x64 -nologo -debug -INCREMENTAL" "QMAKE_LFLAGS_PLUGIN+=-machine:x64 -debug -INCREMENTAL" "QMAKE_LIBFLAGS_DEBUG+=-machine:x64 -nologo" "CONFIG-=static" "CONFIG=shared" "CONFIG=separate_debug_info" -qtconf C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/qt.conf ) && C:\vc\downloads\tools\jom\jom-1.1.3\jom.exe -f Makefile.core_module C:\vc\downloads\tools\jom\jom-1.1.3\jom.exe -f Makefile.core_module.Debug rc.exe -c65001 -DWIN32 -D_DEBUG -D_DEBUG -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_WEBENGINECORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -DQT_WEBENGINECOREHEADERS_LIB -D_WINDLL -fo .obj\debug\Qt5WebEngineCored_resource.res Qt5WebEngineCored_resource.rc Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384 Copyright (C) Microsoft Corporation. All rights reserved.

link.exe /NOLOGO /DYNAMICBASE /NXCOMPAT -machine:x64 -nologo -debug -INCREMENTAL -machine:x64 -nologo -debug -INCREMENTAL @C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/src/core/debug/QtWebEngineCore_o.rsp @C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/src/core/debug/QtWebEngineCore_a.rsp /WX /DEBUG /MACHINE:X64 /FIXED:NO /ignore:4199 /ignore:4221 /NXCOMPAT /DYNAMICBASE /time /verbose:incr /INCREMENTAL:NO /SUBSYSTEM:CONSOLE,5.02 /guard:cf /NOLOGO /DYNAMICBASE /NXCOMPAT -machine:x64 -nologo -debug -INCREMENTAL -machine:x64 -nologo -debug -INCREMENTAL /DEBUG /DLL /SUBSYSTEM:WINDOWS /DELAYLOAD:cfgmgr32.dll /DELAYLOAD:powrprof.dll /DELAYLOAD:setupapi.dll /NATVIS:C:/vc/buildtrees/qt5-webengine/src/5.15.6-cd4fc1058e.clean/src/3rdparty/chromium/tools/win/DebugVisualizers/chrome.natvis /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /DELAYLOAD:mfreadwrite.dll /DELAYLOAD:BluetoothApis.dll /DELAYLOAD:Bthprops.cpl /DELAYLOAD:setupapi.dll /NATVIS:C:/vc/buildtrees/qt5-webengine/src/5.15.6-cd4fc1058e.clean/src/3rdparty/chromium/tools/win/DebugVisualizers/blink.natvis /DELAYLOAD:advapi32.dll /DELAYLOAD:cfgmgr32.dll /DELAYLOAD:ole32.dll /DELAYLOAD:setupapi.dll /DELAYLOAD:winusb.dll /OPT:REF @C:/vc/buildtrees/qt5-webengine/x64-windows-dbg/src/core/api/debug\qtwebenginecoreapid.lib.objects /DEBUG /DLL /SUBSYSTEM:WINDOWS -machine:x64 -nologo -debug -INCREMENTAL -machine:x64 -nologo -debug -INCREMENTAL /VERSION:5.15 /MANIFEST:embed /OUT:..\..\lib\Qt5WebEngineCored.dll @C:\Users\khade\AppData\Local\Temp\Qt5WebEngineCored.dll.13084.31.jom

LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:REF' specification LINK : error LNK1218: warning treated as error; no output file generated Final: Total time = 1.031s

Tagman commented 1 year ago

I am currently running into the same error. Any updates on this?

qt5-webengine: 5.15.8#1 vcpkg-tool version: 2022-12-14-7ae0d8527fb488fde10a89c2813802dc9b03b6f9 vcpkg-scripts version: fadbc71d7 2023-01-17 (6 days ago)

longhuan2018 commented 1 year ago

You can try to change the port/qt5-webenginebuild_1.patch file content to

diff --git a/src/3rdparty/chromium/third_party/angle/BUILD.gn b/src/3rdparty/chromium/third_party/angle/BUILD.gn
index fb57176..fa84cc5 100644
--- a/src/3rdparty/chromium/third_party/angle/BUILD.gn
+++ b/src/3rdparty/chromium/third_party/angle/BUILD.gn
@@ -131,7 +131,6 @@ config("extra_warnings") {
   # Enable more default warnings on Windows.
   if (is_win) {
     cflags += [
-      "/we4244",  # Conversion: possible loss of data.
       "/we4312",  # Conversion: greater size.
       "/we4456",  # Variable shadowing.
       "/we4458",  # declaration hides class member.

diff --git a/src/buildtools/config/common.pri b/src/buildtools/config/common.pri
index fedba477..5af9edf7 100644
--- a/src/buildtools/config/common.pri
+++ b/src/buildtools/config/common.pri
@@ -26,6 +26,7 @@ gn_args += \
     skia_use_dawn=false \
     toolkit_views=false \
     treat_warnings_as_errors=false \
+    fatal_linker_warnings=false \
     use_allocator_shim=false \
     use_allocator=\"none\" \
     use_custom_libcxx=false \
kikkimo commented 1 year ago

Longhuan2018's answer is very useful ! As of February 22, 2023, the vcpkg teams has not yet fixed this problem. However, it can be solved by following step: Replace the text in the "common.pri.patch" file located in the "vcpkg\ports\qt5-webengine" with the following content

diff --git a/src/buildtools/config/common.pri b/src/buildtools/config/common.pri
#latest diff --git a/src/buildtools/config/common.pri b/src/buildtools/config/common.pri
index 97d39535c..dc09da43a 100644
--- a/src/buildtools/config/common.pri  
+++ b/src/buildtools/config/common.pri
@@ -26,6 +26,7 @@ gn_args += \
     skia_use_dawn=false \
     toolkit_views=false \
     treat_warnings_as_errors=false \
+    fatal_linker_warnings=false \
     use_allocator_shim=false \
     use_allocator=\"none\" \
     use_custom_libcxx=false \
@@ -56,7 +57,7 @@ greaterThan(QMAKE_JUMBO_MERGE_LIMIT,0) {
 }

 precompile_header {
-    gn_args += enable_precompiled_headers=true
+    gn_args += enable_precompiled_headers=false
 } else {
     gn_args += enable_precompiled_headers=false
 }
kikkimo commented 1 year ago

你好,邮件已经收到!  我会尽快回复!