Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.2, 6.2.3
-
Windows10_21H2
-
-
fb3b880052 (qt/qtmultimedia/dev) 9bd6d63c15 (qt/qtmultimedia/6.2) 6e1951b2d5 (qt/qtmultimedia/6.3) 9bd6d63c15 (qt/tqtc-qtmultimedia/6.2)
Description
Have Qt6.2.3 sources in C:\Users\qt\RTA\s, run configure
cmake -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DOPENSSL_ROOT_DIR=C:\openssl\include\.. -DFEATURE_system_zlib=OFF -DFEATURE_system_tiff=OFF -DFEATURE_system_freetype=OFF -DFEATURE_system_jpeg=OFF -DQT_BUILD_TESTS=OFF -DQT_NAMESPACE=RTA C:\Users\qt\RTA\s -DCMAKE_INSTALL_PREFIX:PATH=C:\Users\qt\RTA\s\qtbase
Finishes fine.
Compile: cmake --build . --parallel
Fails with:
FAILED: qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/Multimedia_autogen/mocs_compilation.cpp.obj C:\MINGW1120\mingw64\bin\g++.exe -DMINGW_HAS_SECURE_API=1 -DMultimedia_EXPORTS -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_MULTIMEDIA_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NAMESPACE=RTA -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/Multimedia_autogen/include -IC:/Users/qt/RTA/s/qtbase/include -IC:/Users/qt/RTA/s/qtbase/include/QtMultimedia -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/audio -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/camera -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/controls -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/platform -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/playback -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/recording -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/video -IC:/Users/qt/RTA/s/qtbase/include/QtMultimedia/6.2.3 -IC:/Users/qt/RTA/s/qtbase/include/QtMultimedia/6.2.3/QtMultimedia -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/platform/windows/common -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/platform/windows/decoder -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/platform/windows/evr -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/platform/windows/player -IC:/Users/qt/RTA/s/qtmultimedia/src/multimedia/platform/windows/mediacapture -IC:/Users/qt/RTA/s/qtbase/include/QtCore -IC:/Users/qt/RTA/s/qtbase/mkspecs/win32-g++ -IC:/Users/qt/RTA/s/qtbase/include/QtGui -IC:/Users/qt/RTA/s/qtbase/include/QtNetwork -IC:/Users/qt/RTA/s/qtbase/src/corelib -IC:/Users/qt/RTA/s/qtbase/include/QtCore/6.2.3 -IC:/Users/qt/RTA/s/qtbase/include/QtCore/6.2.3/QtCore -IC:/Users/qt/RTA/s/qtbase/src/gui -IC:/Users/qt/RTA/s/qtbase/include/QtGui/6.2.3 -IC:/Users/qt/RTA/s/qtbase/include/QtGui/6.2.3/QtGui -isystem C:/VulkanSDK/1.2.182.0/Include -DNDEBUG -O2 -fvisibility=hidden -fno-keep-inline-dllexport -Wall -Wextra -fno-exceptions -Wsuggest-override -std=c++17 -Winvalid-pch -include C:/Users/qt/RTA/s/qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/cmake_pch.hxx -MD -MT qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/Multimedia_autogen/mocs_compilation.cpp.obj -MF qtmultimedia\src\multimedia\CMakeFiles\Multimedia.dir\Multimedia_autogen\mocs_compilation.cpp.obj.d -o qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/Multimedia_autogen/mocs_compilation.cpp.obj -c C:/Users/qt/RTA/s/qtmultimedia/src/multimedia/Multimedia_autogen/mocs_compilation.cpp
Longer log and configure summary attached, 623_mingw_configsummary.txt and 623_mingw_buildlog.txt.
Last time build was working was with the MinGW8.1, has been failing since the update to 9.0, also the host Win10 has been updated to 10_21H2.
Same build on MSVC2019 x64 fails also, logs attached: 623_msvc_configsummary.txt and 623_msvc_buildlog.txt.
cmake -DCMAKE_C_COMPILER=cl.exe -DCMAKE_CXX_COMPILER=cl.exe -GNinja -DCMAKE_BUILD_TYPE=Release -DQT_BUILD_EXAMPLES=OFF -DBUILD_WITH_PCH=OFF -DOPENSSL_ROOT_DIR=C:\openssl\include\.. -DFEATURE_system_zlib=OFF -DPostgreSQL_ROOT=C:\Utils\postgresql\pgsql\lib\.. -DQT_BUILD_TESTS=OFF -DQT_NAMESPACE=RTA C:\Users\qt\RTA\src-6.2.3 -DCMAKE_INSTALL_PREFIX:PATH=C:\Users\qt\RTA\src-6.2.3\qtbase
FAILED: qtmultimedia/src/multimedia/CMakeFiles/Multimedia.dir/Multimedia_autogen/mocs_compilation.cpp.obj C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DMultimedia_EXPORTS -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_MULTIMEDIA_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NAMESPACE=RTA -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DUNICODE -DWIN32 -DWIN64 -D_CRT_SECURE_NO_WARNINGS -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_USE_MATH_DEFINES -D_WIN64 -D_WINDLL -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\Multimedia_autogen\include -IC:\Users\qt\RTA\src-6.2.3\qtbase\include -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtMultimedia -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\audio -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\camera -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\controls -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\platform -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\playback -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\recording -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\video -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtMultimedia\6.2.3 -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtMultimedia\6.2.3\QtMultimedia -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\platform\windows\common -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\platform\windows\decoder -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\platform\windows\evr -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\platform\windows\player -IC:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\platform\windows\mediacapture -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtCore -IC:\Users\qt\RTA\src-6.2.3\qtbase\mkspecs\win32-msvc -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtGui -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtNetwork -IC:\Users\qt\RTA\src-6.2.3\qtbase\src\corelib -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtCore\6.2.3 -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtCore\6.2.3\QtCore -IC:\Users\qt\RTA\src-6.2.3\qtbase\src\gui -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtGui\6.2.3 -IC:\Users\qt\RTA\src-6.2.3\qtbase\include\QtGui\6.2.3\QtGui -IC:\VulkanSDK\1.2.182.0\Include /DWIN32 /D_WINDOWS /DNDEBUG -O2 -MD /W3 /wd4530 /wd4577 -Zc:__cplusplus -permissive- -utf-8 -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:externConstexpr -Zc:wchar_t -guard:cf -std:c++17 /showIncludes /Foqtmultimedia\src\multimedia\CMakeFiles\Multimedia.dir\Multimedia_autogen\mocs_compilation.cpp.obj /Fdqtmultimedia\src\multimedia\CMakeFiles\Multimedia.dir\ /FS -c C:\Users\qt\RTA\src-6.2.3\qtmultimedia\src\multimedia\Multimedia_autogen\mocs_compilation.cpp
Attachments
For Gerrit Dashboard: QTBUG-100050 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
390993,3 | Fix namespaced build on Windows | dev | qt/qtmultimedia | Status: MERGED | +2 | 0 |
391084,3 | Fix namespaced build on Windows | 6.3 | qt/qtmultimedia | Status: MERGED | +2 | 0 |
391085,3 | Fix namespaced build on Windows | 6.2 | qt/qtmultimedia | Status: MERGED | +2 | 0 |