[Development] Failed to run configure.bat in qt/qt5 repository on Windows?

Haowei Hsu hwhsu1231 at gmail.com
Sat Aug 19 19:59:55 CEST 2023


Hello, Cristian.

Regarding building the *Qt Documentation* with the *MinGW* compiler, this
time, I checkout to the *6.5.2* branch since you mentioned that:

You have used Qt 6.3, which suffers from this bug [QTBUG-109207] moc can't
> create output file when path is longer than 255 characters - Qt Bug Tracker
> <https://bugreports.qt.io/browse/QTBUG-109207> which got fixed in Qt
> 6.5.0.


However, I met another two problems (Oh My God~~~)

*Problem 1*

First of all, when I tried to run the following command:

   - *..\..\configure.bat -release -developer-build -skip qtpositioning --
   -DCMAKE_PREFIX_PATH="C:/Program Files/libclang"
   -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c*

This time, CMake reported that:

[image: image.png]

But I remember that Alexandru told me that:

Regarding the second case failure, you're trying to configure both
> qtpositioning and qtlocation.
> I suggest you remove the sources of either one or the other, or pass -skip
> qtpositioning or -skip qtlocation to configure.


[image: image.png]

*Problem 2*

Therefore, I removed *'-skip qtpositioning'* and tried it again. However,
this time, another error showed up:

[image: image.png]

The following commands are what I run:

   1. *git status*
   2. *git checkout 6.5.2*
   3. *git clean -xfdf && git submodule foreach --recursive git clean -xfdf*
   4. *git submodule update --recursive*
   5. *git status*
   6.
*where gcc *
   7. *mkdir build\mingw && chdir build\mingw*
   8. *..\..\configure.bat -release -developer-build -skip qtpositioning --
   -DCMAKE_PREFIX_PATH="C:/Program Files/libclang"
   -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c*
   9. *..\..\configure.bat -release -developer-build --
   -DCMAKE_PREFIX_PATH="C:/Program Files/libclang"
   -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c*
   10.
*chdir ..\.. *
   11.
*rmdir /s/q build *
   12.
*mkdir build\mingw && chdir build\mingw *
   13.
*..\..\configure.bat -release -developer-build --
   -DCMAKE_PREFIX_PATH="C:/Program Files/libclang"
   -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c *

You can see the attachment with the full log:
*log-failed-to-configure-6.5.2-branch.txt*

---
Haowei Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230820/e5a6a1d1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 39548 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230820/e5a6a1d1/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 56784 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230820/e5a6a1d1/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 61623 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20230820/e5a6a1d1/attachment-0005.png>
-------------- next part --------------
D:\Repo\GitHub\testing\qt-docs\qt>git status
On branch 6.3
Your branch is up to date with 'origin/6.3'.

nothing to commit, working tree clean

D:\Repo\GitHub\testing\qt-docs\qt>git checkout 6.5.2
Switched to a new branch '6.5.2'
M       qt3d
M       qt5compat
M       qtactiveqt
M       qtbase
M       qtcharts
M       qtcoap
M       qtconnectivity
M       qtdatavis3d
M       qtdeclarative
M       qtdoc
M       qtimageformats
M       qtlanguageserver
M       qtlocation
M       qtlottie
M       qtmqtt
M       qtmultimedia
M       qtnetworkauth
M       qtopcua
M       qtpositioning
M       qtqa
M       qtquick3d
M       qtquicktimeline
M       qtremoteobjects
M       qtrepotools
M       qtscxml
M       qtsensors
M       qtserialbus
M       qtserialport
M       qtshadertools
M       qtspeech
M       qtsvg
M       qttools
M       qttranslations
M       qtvirtualkeyboard
M       qtwayland
M       qtwebchannel
M       qtwebengine
M       qtwebsockets
M       qtwebview
branch '6.5.2' set up to track 'origin/6.5.2'.

D:\Repo\GitHub\testing\qt-docs\qt>git clean -xfdf && git foreach --recursive git clean -xfdf
git: 'foreach' is not a git command. See 'git --help'.

The most similar command is
        for-each-ref

D:\Repo\GitHub\testing\qt-docs\qt>git clean -xfdf && git submodule foreach --recursive git clean -xfdf
Entering 'qt3d'
Entering 'qt3d/src/3rdparty/assimp/src'
Entering 'qt5compat'
Entering 'qtactiveqt'
Entering 'qtbase'
Entering 'qtcanvas3d'
Entering 'qtcharts'
Entering 'qtcoap'
Entering 'qtconnectivity'
Entering 'qtdatavis3d'
Entering 'qtdeclarative'
Entering 'qtdeclarative/tests/auto/qml/ecmascripttests/test262'
Entering 'qtdoc'
Entering 'qtfeedback'
Entering 'qtgamepad'
Entering 'qtimageformats'
Entering 'qtlanguageserver'
Entering 'qtlocation'
Entering 'qtlottie'
Entering 'qtmqtt'
Entering 'qtmultimedia'
Entering 'qtnetworkauth'
Entering 'qtopcua'
Entering 'qtpim'
Entering 'qtpositioning'
Entering 'qtqa'
Entering 'qtquick3d'
Entering 'qtquick3d/src/3rdparty/assimp/src'
Entering 'qtquicktimeline'
Entering 'qtremoteobjects'
Entering 'qtrepotools'
Entering 'qtscxml'
Entering 'qtsensors'
Entering 'qtserialbus'
Entering 'qtserialport'
Entering 'qtshadertools'
Entering 'qtspeech'
Entering 'qtsvg'
Entering 'qtsystems'
Entering 'qttools'
Entering 'qttools/src/assistant/qlitehtml'
Entering 'qttools/src/assistant/qlitehtml/src/3rdparty/litehtml'
Removing src/master.css.inc
Entering 'qttranslations'
Entering 'qtvirtualkeyboard'
Entering 'qtwayland'
Entering 'qtwebchannel'
Entering 'qtwebengine'
Entering 'qtwebengine/src/3rdparty'
Entering 'qtwebglplugin'
Entering 'qtwebsockets'
Entering 'qtwebview'
Entering 'qtxmlpatterns'
Entering 'qtxmlpatterns/tests/auto/3rdparty/testsuites'

D:\Repo\GitHub\testing\qt-docs\qt>git submodule update --recursive
Submodule path 'qt3d': checked out '4374ab2c875a29f792280b72f088e83a3c42bd5d'
Submodule path 'qt5compat': checked out '628c10590b16fda4bea347ab9bd2f1444328d598'
Submodule path 'qtactiveqt': checked out 'aa5a8bd1278e013fd94ba5ca9e5f3563ce824b96'
Submodule path 'qtbase': checked out 'af457a9f0f7eb1a2a7d11f495da508faab91a442'
Submodule path 'qtcharts': checked out 'ba7ce32a4d03b7e772059ae1f8e4936cf7d11d8e'
Submodule path 'qtcoap': checked out '0a98ef4dedf2632a05e112a2cc0f1c1fa51027c8'
Submodule path 'qtconnectivity': checked out 'e8c6d5306ab9cad86eabe3a5adfdea9009a54368'
Submodule path 'qtdatavis3d': checked out '115e46d333a059b39f45a5df582b43b90ded9399'
Submodule path 'qtdeclarative': checked out 'f289063ff19588a11dd79213632785cfda2909a0'
Submodule path 'qtdeclarative/tests/auto/qml/ecmascripttests/test262': checked out 'a0efb7e1ab1cee24c387abe1897ff18fa116c17d'
Submodule path 'qtdoc': checked out 'a14f1b47eb9cd7f2b935b7352b73337f05a5ce2f'
Submodule path 'qtgrpc': checked out '0646deb7aeb7410febd0419dcbd964505f178690'
Submodule path 'qthttpserver': checked out '2310665fe368f9486103a34d3497fa3c28fcd894'
Submodule path 'qtimageformats': checked out 'da2b9805a04c8516832087ba13a1bb40b57c2f49'
Submodule path 'qtlanguageserver': checked out '0cac69175af1c48d16dbbfd2b2ede1f137ea7831'
Submodule path 'qtlocation': checked out 'c220ab8712be5e827df69bfe4fc417508d4da1ba'
Submodule path 'qtlottie': checked out '72e7bc8d82faa9dd404eac1855d9051bf4bea45c'
Submodule path 'qtmqtt': checked out 'f62cfdee6ecba42bbc7e468ee156e4dda10b35ac'
Submodule path 'qtmultimedia': checked out 'ca330332aae05023983dcf445f0b388070289c51'
Submodule path 'qtnetworkauth': checked out '6a4fdc264d708e9634661e8b05bf6596393b83e8'
Submodule path 'qtopcua': checked out '360b4704f5d832060b98f8f4dd0656df18ccdc14'
Submodule path 'qtpositioning': checked out '716d2d3c8c6d77796cfc0c37a8c8e47fabcc0bac'
Submodule path 'qtqa': checked out '6bbf38293cc1620f8887e5864bb8c433f9defc42'
Submodule path 'qtquick3d': checked out '4ee04bbb81d7d5376e3175497f153040d7abbe57'
Submodule path 'qtquick3d/src/3rdparty/assimp/src': checked out 'fd7cd819e9e130385e17e707da31e60b82e787d0'
Submodule path 'qtquick3dphysics': checked out '2de1411403a5311a36e2feb050040c4cef278770'
Submodule path 'qtquickeffectmaker': checked out '7f1a67afedd750caa74007c1aaafaecd913e34a3'
Submodule path 'qtquicktimeline': checked out 'b65c477e47e6e1be59ebe1121b6fb56697c197c9'
Submodule path 'qtremoteobjects': checked out 'e92b25530982f16443ac839d756153518fbaf1f6'
Submodule path 'qtrepotools': checked out 'ea67c51fc06fd77e2a133ecffa54cede1bd78c8c'
Submodule path 'qtscxml': checked out 'ee512a0a8cfadad13fe58475f404fc3097a48f4c'
Submodule path 'qtsensors': checked out 'b32513f6f894a3fc443a3b0596548a07934e3e3d'
Submodule path 'qtserialbus': checked out 'eb930cf333c6cc07f7c34fcbf5bf40620e381b08'
Submodule path 'qtserialport': checked out 'b2321a679ed4d702b0551539e416b4bc90fae6c6'
Submodule path 'qtshadertools': checked out '26ffa67b0212255e29ec751bc25ebef65973ee99'
Submodule path 'qtspeech': checked out '9ae182fe7c03fc9550187b16fef7d2cbafb89ea6'
Submodule path 'qtsvg': checked out '73757fd3c46eb0bf499c5770bc846851c14e42ae'
Submodule path 'qttools': checked out 'ef5e17630c85add6f2ac8152d02ce7bca4ad3af4'
Submodule path 'qttools/src/assistant/qlitehtml': checked out 'f05f78ef33225823d348ee18f2fa464e95024dd2'
Submodule path 'qttools/src/assistant/qlitehtml/src/3rdparty/litehtml': checked out '43af58e8adad70c4f1a0a9235546a246754c1737'
Submodule path 'qttranslations': checked out '3699cf381a4b38e84f0b49947e3e9404f7bfe9a1'
Submodule path 'qtvirtualkeyboard': checked out 'd642710f70d359cc8b22cb76c77ed6309f82d390'
Submodule path 'qtwayland': checked out '8df7c0e96a010807fab3bb7a9d63948f59995e5c'
Submodule path 'qtwebchannel': checked out '3d450c583661ee90ca5c7270a659d4704a798a16'
Submodule path 'qtwebengine': checked out 'ac887518e8243828333e923b5a1e61a007babde5'
Submodule path 'qtwebengine/src/3rdparty': checked out '08741ef38efb3754c1f244ea175d5a4c98b69fa2'
Submodule path 'qtwebsockets': checked out '6065b3fc2ee7b7fa67539f82bd4eb4cfad8ccb81'
Submodule path 'qtwebview': checked out 'eecab3086793adec2c48a3ccdb40bddd76a2b058'

D:\Repo\GitHub\testing\qt-docs\qt>git status
On branch 6.5.2
Your branch is up to date with 'origin/6.5.2'.

nothing to commit, working tree clean

D:\Repo\GitHub\testing\qt-docs\qt>where gcc
C:\ProgramData\chocolatey\bin\gcc.exe
C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin\gcc.exe
C:\Strawberry\c\bin\gcc.exe

D:\Repo\GitHub\testing\qt-docs\qt>mkdir build\mingw && chdir build\mingw

D:\Repo\GitHub\testing\qt-docs\qt\build\mingw>..\..\configure.bat -release -developer-build -skip qtpositioning -- -DCMAKE_PREFIX_PATH="C:/Program Files/libclang" -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c
+ cd qtbase
+ D:\Repo\GitHub\testing\qt-docs\qt\qtbase\configure.bat -top-level -release -developer-build -skip qtpositioning -- -DCMAKE_PREFIX_PATH="C:/Program Files/libclang" -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c
-- Windows 10 SDK version:
'C:/Program Files/CMake/bin/cmake.exe' '-DBUILD_qtpositioning=OFF' '-DCMAKE_PREFIX_PATH=C:/Program Files/libclang' '-DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_developer_build=yes' '-G' 'Ninja' 'D:/Repo/GitHub/testing/qt-docs/qt'
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ProgramData/chocolatey/bin/gcc.exe
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/ProgramData/chocolatey/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/ProgramData/chocolatey/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking dependencies of submodule 'qtbase'
-- Checking dependencies of submodule 'qtimageformats'
-- Checking dependencies of submodule 'qtlanguageserver'
-- Checking dependencies of submodule 'qtshadertools'
-- Checking dependencies of submodule 'qtsvg'
-- Checking dependencies of submodule 'qtdeclarative'
-- Checking dependencies of submodule 'qtquicktimeline'
-- Checking dependencies of submodule 'qtquick3d'
-- Checking dependencies of submodule 'qtmultimedia'
-- Checking dependencies of submodule 'qt3d'
-- Checking dependencies of submodule 'qt5compat'
-- Checking dependencies of submodule 'qtactiveqt'
-- Checking dependencies of submodule 'qtcharts'
-- Checking dependencies of submodule 'qtcoap'
-- Checking dependencies of submodule 'qtconnectivity'
-- Checking dependencies of submodule 'qtdatavis3d'
-- Checking dependencies of submodule 'qtwebsockets'
-- Checking dependencies of submodule 'qthttpserver'
-- Checking dependencies of submodule 'qttools'
-- Checking dependencies of submodule 'qtserialport'
-- Checking dependencies of submodule 'qtwebchannel'
-- Checking dependencies of submodule 'qtwebengine'
-- Skipping optional dependency 'qtpositioning' of 'qtwebengine', because building 'qtpositioning' was explicitly disabled.
-- Checking dependencies of submodule 'qtdoc'
-- Checking dependencies of submodule 'qtgrpc'
-- Checking dependencies of submodule 'qtlocation'
CMake Error at CMakeLists.txt:92 (message):
  Module 'qtlocation' depends on 'qtpositioning', but building
  'qtpositioning' was explicitly disabled.

  Note: Use '-skip qtlocation' to exclude it from the build.

-- Configuring incomplete, errors occurred!

CMake Error at D:/Repo/GitHub/testing/qt-docs/qt/qtbase/cmake/QtProcessConfigureArgs.cmake:998 (message):
  CMake exited with code 1.



D:\Repo\GitHub\testing\qt-docs\qt\build\mingw>..\..\configure.bat -release -developer-build -- -DCMAKE_PREFIX_PATH="C:/Program Files/libclang" -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c
+ cd qtbase
+ D:\Repo\GitHub\testing\qt-docs\qt\qtbase\configure.bat -top-level -release -developer-build -- -DCMAKE_PREFIX_PATH="C:/Program Files/libclang" -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c
-- Windows 10 SDK version:
'C:/Program Files/CMake/bin/cmake.exe' '-DCMAKE_PREFIX_PATH=C:/Program Files/libclang' '-DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_developer_build=yes' '-G' 'Ninja' 'D:/Repo/GitHub/testing/qt-docs/qt'
-- Checking dependencies of submodule 'qtbase'
-- Checking dependencies of submodule 'qtimageformats'
-- Checking dependencies of submodule 'qtlanguageserver'
-- Checking dependencies of submodule 'qtshadertools'
-- Checking dependencies of submodule 'qtsvg'
-- Checking dependencies of submodule 'qtdeclarative'
-- Checking dependencies of submodule 'qtquicktimeline'
-- Checking dependencies of submodule 'qtquick3d'
-- Checking dependencies of submodule 'qtmultimedia'
-- Checking dependencies of submodule 'qt3d'
-- Checking dependencies of submodule 'qt5compat'
-- Checking dependencies of submodule 'qtactiveqt'
-- Checking dependencies of submodule 'qtcharts'
-- Checking dependencies of submodule 'qtcoap'
-- Checking dependencies of submodule 'qtconnectivity'
-- Checking dependencies of submodule 'qtdatavis3d'
-- Checking dependencies of submodule 'qtwebsockets'
-- Checking dependencies of submodule 'qthttpserver'
-- Checking dependencies of submodule 'qttools'
-- Checking dependencies of submodule 'qtserialport'
-- Checking dependencies of submodule 'qtwebchannel'
-- Checking dependencies of submodule 'qtwebengine'
-- Skipping optional dependency 'qtpositioning' of 'qtwebengine', because building 'qtpositioning' was explicitly disabled.
-- Checking dependencies of submodule 'qtdoc'
-- Checking dependencies of submodule 'qtgrpc'
-- Checking dependencies of submodule 'qtlocation'
CMake Error at CMakeLists.txt:92 (message):
  Module 'qtlocation' depends on 'qtpositioning', but building
  'qtpositioning' was explicitly disabled.

  Note: Use '-skip qtlocation' to exclude it from the build.

-- Configuring incomplete, errors occurred!

CMake Error at D:/Repo/GitHub/testing/qt-docs/qt/qtbase/cmake/QtProcessConfigureArgs.cmake:998 (message):
  CMake exited with code 1.



D:\Repo\GitHub\testing\qt-docs\qt\build\mingw>chdir ..\..

D:\Repo\GitHub\testing\qt-docs\qt>rmdir /s/q build

D:\Repo\GitHub\testing\qt-docs\qt>mkdir build\mingw && chdir build\mingw

D:\Repo\GitHub\testing\qt-docs\qt\build\mingw>..\..\configure.bat -release -developer-build -- -DCMAKE_PREFIX_PATH="C:/Program Files/libclang" -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c
+ cd qtbase
+ D:\Repo\GitHub\testing\qt-docs\qt\qtbase\configure.bat -top-level -release -developer-build -- -DCMAKE_PREFIX_PATH="C:/Program Files/libclang" -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c
-- Windows 10 SDK version:
'C:/Program Files/CMake/bin/cmake.exe' '-DCMAKE_PREFIX_PATH=C:/Program Files/libclang' '-DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c' '-DCMAKE_BUILD_TYPE=Release' '-DINPUT_developer_build=yes' '-G' 'Ninja' 'D:/Repo/GitHub/testing/qt-docs/qt'
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/ProgramData/chocolatey/bin/gcc.exe
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/ProgramData/chocolatey/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/ProgramData/chocolatey/bin/gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Checking dependencies of submodule 'qtbase'
-- Checking dependencies of submodule 'qtimageformats'
-- Checking dependencies of submodule 'qtlanguageserver'
-- Checking dependencies of submodule 'qtshadertools'
-- Checking dependencies of submodule 'qtsvg'
-- Checking dependencies of submodule 'qtdeclarative'
-- Checking dependencies of submodule 'qtquicktimeline'
-- Checking dependencies of submodule 'qtquick3d'
-- Checking dependencies of submodule 'qtmultimedia'
-- Checking dependencies of submodule 'qt3d'
-- Checking dependencies of submodule 'qt5compat'
-- Checking dependencies of submodule 'qtactiveqt'
-- Checking dependencies of submodule 'qtcharts'
-- Checking dependencies of submodule 'qtcoap'
-- Checking dependencies of submodule 'qtconnectivity'
-- Checking dependencies of submodule 'qtdatavis3d'
-- Checking dependencies of submodule 'qtwebsockets'
-- Checking dependencies of submodule 'qthttpserver'
-- Checking dependencies of submodule 'qttools'
-- Checking dependencies of submodule 'qtserialport'
-- Checking dependencies of submodule 'qtpositioning'
-- Checking dependencies of submodule 'qtwebchannel'
-- Checking dependencies of submodule 'qtwebengine'
-- Checking dependencies of submodule 'qtdoc'
-- Checking dependencies of submodule 'qtgrpc'
-- Checking dependencies of submodule 'qtlocation'
-- Checking dependencies of submodule 'qtlottie'
-- Checking dependencies of submodule 'qtmqtt'
-- Checking dependencies of submodule 'qtnetworkauth'
-- Checking dependencies of submodule 'qtopcua'
-- Checking dependencies of submodule 'qtqa'
-- Checking dependencies of submodule 'qtquick3dphysics'
-- Checking dependencies of submodule 'qtquickeffectmaker'
-- Checking dependencies of submodule 'qtremoteobjects'
-- Checking dependencies of submodule 'qtscxml'
-- Checking dependencies of submodule 'qtsensors'
-- Checking dependencies of submodule 'qtserialbus'
-- Checking dependencies of submodule 'qtspeech'
-- Checking dependencies of submodule 'qttranslations'
-- Checking dependencies of submodule 'qtvirtualkeyboard'
-- Checking dependencies of submodule 'qtwayland'
-- Checking dependencies of submodule 'qtwebview'
-- Configuring submodule 'qtbase'
-- [QtBase] CMAKE_BUILD_TYPE was set to: 'Release'
-- [QtBase] Check for feature set changes
-- [QtBase] CMAKE_STRIP (original): C:/ProgramData/chocolatey/bin/strip.exe
-- [QtBase] Performing Test strip --keep-section
-- [QtBase] Performing Test strip --keep-section - TRUE
-- [QtBase] CMAKE_STRIP (used by Qt): D:/Repo/GitHub/testing/qt-docs/qt/build/mingw/qtbase/./bin/qt-internal-strip.bat
-- [QtBase] Building architecture extraction project with the following CMake arguments:
            -DCMAKE_C_FLAGS_DEBUG=-g
            -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
            -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_CXX_FLAGS_DEBUG=-g
            -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
            -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_OBJCOPY=C:/ProgramData/chocolatey/bin/objcopy.exe
            -DCMAKE_C_STANDARD=11
            -DCMAKE_C_STANDARD_REQUIRED=ON
            -DCMAKE_CXX_STANDARD=17
            -DCMAKE_CXX_STANDARD_REQUIRED=ON
            -DCMAKE_MODULE_PATH:STRING=D:/Repo/GitHub/testing/qt-docs/qt/qtbase/cmake/platforms
-- [QtBase] Extracting architecture info from D:/Repo/GitHub/testing/qt-docs/qt/build/mingw/qtbase/config.tests/arch/architecture_test.exe.
-- [QtBase] Performing Test HAVE_WIN10_WIN32_WINNT
-- [QtBase] Performing Test HAVE_WIN10_WIN32_WINNT - Success
-- [QtBase] CMAKE_VERSION: "3.27.1"
-- [QtBase] CMAKE_HOST_SYSTEM: "Windows-10.0.22621"
-- [QtBase] CMAKE_HOST_SYSTEM_NAME: "Windows"
-- [QtBase] CMAKE_HOST_SYSTEM_VERSION: "10.0.22621"
-- [QtBase] CMAKE_HOST_SYSTEM_PROCESSOR: "AMD64"
-- [QtBase] CMAKE_SYSTEM: "Windows"
-- [QtBase] CMAKE_SYSTEM_NAME: "Windows"
-- [QtBase] CMAKE_SYSTEM_VERSION: "10.0.22621"
-- [QtBase] CMAKE_SYSTEM_PROCESSOR: "AMD64"
-- [QtBase] CMAKE_CROSSCOMPILING: "FALSE"
-- [QtBase] CMAKE_INSTALL_PREFIX: "D:/Repo/GitHub/testing/qt-docs/qt/build/mingw/qtbase"
-- [QtBase] CMAKE_STAGING_PREFIX: ""
-- [QtBase] QT_BUILD_DIR: "D:/Repo/GitHub/testing/qt-docs/qt/build/mingw/qtbase"
-- [QtBase] QT_INSTALL_DIR: "D:/Repo/GitHub/testing/qt-docs/qt/build/mingw/qtbase"
-- [QtBase] QT_WILL_INSTALL: "OFF"
-- [QtBase] CMAKE_C_COMPILER: "C:/ProgramData/chocolatey/bin/gcc.exe" (12.2.0)
-- [QtBase] CMAKE_CXX_COMPILER: "C:/ProgramData/chocolatey/bin/c++.exe" (12.2.0)
-- [QtBase] Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.0.8")
-- [QtBase] Could NOT find WrapSystemZLIB (missing: WrapSystemZLIB_FOUND) (Required is at least version "1.0.8")
-- [QtBase] Found OpenSSL: C:/Program Files/OpenSSL-Win64/lib/libcrypto.lib (found version "3.0.8")
-- [QtBase] Found WrapOpenSSLHeaders: C:/Program Files/OpenSSL-Win64/include (found version "3.0.8")
-- [QtBase] Performing Test HAVE_opensslv11_headers
-- [QtBase] Performing Test HAVE_opensslv11_headers - Failed
-- [QtBase] Found WrapOpenSSL: C:/Program Files/OpenSSL-Win64/lib/libcrypto.lib (found version "3.0.8")
-- [QtBase] Performing Test HAVE_opensslv11
-- [QtBase] Performing Test HAVE_opensslv11 - Failed
-- [QtBase] Performing Test HAVE_opensslv30_headers
-- [QtBase] Performing Test HAVE_opensslv30_headers - Success
-- [QtBase] Performing Test HAVE_opensslv30
-- [QtBase] Performing Test HAVE_opensslv30 - Success
-- [QtBase] Could NOT find WrapZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIRS) (Required is at least version "1.3")
-- [QtBase] Could NOT find WrapDBus1 (missing: DBus1_LIBRARY DBus1_INCLUDE_DIR WrapDBus1_FOUND) (Required is at least version "1.2")
-- [QtBase] Could NOT find LTTngUST (missing: LTTNGUST_LIBRARIES LTTNGUST_INCLUDE_DIRS)
-- [QtBase] Performing Test TEST_use_bfd_linker
-- [QtBase] Performing Test TEST_use_bfd_linker - Success
-- [QtBase] Performing Test TEST_use_gold_linker
-- [QtBase] Performing Test TEST_use_gold_linker - Failed
-- [QtBase] Performing Test TEST_use_lld_linker
-- [QtBase] Performing Test TEST_use_lld_linker - Failed
-- [QtBase] Performing Test TEST_use_mold_linker
-- [QtBase] Performing Test TEST_use_mold_linker - Success
-- [QtBase] Performing Test HAVE_cxx14
-- [QtBase] Performing Test HAVE_cxx14 - Success
-- [QtBase] Performing Test HAVE_cxx17
-- [QtBase] Performing Test HAVE_cxx17 - Success
-- [QtBase] Performing Test HAVE_cxx20
-- [QtBase] Performing Test HAVE_cxx20 - Success
-- [QtBase] Performing Test HAVE_cxx2b
-- [QtBase] Performing Test HAVE_cxx2b - Success
-- [QtBase] Performing Test precompiled header support
-- [QtBase] Performing Test precompiled header support - Success
-- [QtBase] Performing Test TEST_optimize_debug
-- [QtBase] Performing Test TEST_optimize_debug - Success
-- [QtBase] Performing Test -mno-direct-extern-access / -fno-direct-access-external-data support
-- [QtBase] Performing Test -mno-direct-extern-access / -fno-direct-access-external-data support - Success
-- [QtBase] Performing Test TEST_enable_new_dtags
-- [QtBase] Performing Test TEST_enable_new_dtags - Failed
-- [QtBase] Performing Test TEST_gdb_index
-- [QtBase] Performing Test TEST_gdb_index - Failed
-- [QtBase] Performing Test HAVE_reduce_relocations
-- [QtBase] Performing Test HAVE_reduce_relocations - Success
-- [QtBase] Performing Test separate debug information support
-- [QtBase] Performing Test separate debug information support - Success
-- [QtBase] Performing Test HAVE_signaling_nan
-- [QtBase] Performing Test HAVE_signaling_nan - Success
-- [QtBase] Performing Test Basic x86 intrinsics
-- [QtBase] Performing Test Basic x86 intrinsics - Success
-- [QtBase] Performing Test AVX512VBMI2 intrinsics
-- [QtBase] Performing Test AVX512VBMI2 intrinsics - Success
-- [QtBase] Performing Test VAES intrinsics
-- [QtBase] Performing Test VAES intrinsics - Success
-- [QtBase] Performing Test HAVE_posix_fallocate
-- [QtBase] Performing Test HAVE_posix_fallocate - Failed
-- [QtBase] Performing Test HAVE_alloca_stdlib_h
-- [QtBase] Performing Test HAVE_alloca_stdlib_h - Success
-- [QtBase] Performing Test HAVE_alloca_h
-- [QtBase] Performing Test HAVE_alloca_h - Failed
-- [QtBase] Performing Test HAVE_alloca_malloc_h
-- [QtBase] Performing Test HAVE_alloca_malloc_h - Success
-- [QtBase] Performing Test HAVE_stack_protector
-- [QtBase] Performing Test HAVE_stack_protector - Success
-- [QtBase] Performing Test HAVE_intelcet
-- [QtBase] Performing Test HAVE_intelcet - Failed
-- [QtBase] Performing Test HAVE_LD_VERSION_SCRIPT
-- [QtBase] Performing Test HAVE_LD_VERSION_SCRIPT - Success
-- [QtBase] Could NOT find WrapSystemDoubleConversion (missing: DOUBLE_CONVERSION_LIBRARY DOUBLE_CONVERSION_INCLUDE_DIR __double_conversion_found)
-- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS)
-- [QtBase] The following ICU libraries were not found:
-- [QtBase]   i18n (required)
-- [QtBase]   uc (required)
-- [QtBase]   data (required)
-- [QtBase] Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY _ICU_REQUIRED_LIBS_FOUND) (Required is at least version "50.1")
-- [QtBase] Performing Test HAVE_STDATOMIC
-- [QtBase] Performing Test HAVE_STDATOMIC - Success
-- [QtBase] Found WrapAtomic: TRUE
-- [QtBase] Could NOT find Libb2 (missing: LIBB2_LIBRARY LIBB2_INCLUDE_DIR)
-- [QtBase] Performing Test HAVE_GETTIME
-- [QtBase] Performing Test HAVE_GETTIME - Success
-- [QtBase] Found WrapRt: TRUE
-- [QtBase] Could NOT find WrapSystemPCRE2 (missing: PCRE2_LIBRARIES PCRE2_INCLUDE_DIRS __pcre2_found) (Required is at least version "10.20")
-- [QtBase] Could NOT find Slog2 (missing: Slog2_INCLUDE_DIR Slog2_LIBRARY)
-- [QtBase] Performing Test HAVE_atomicfptr
-- [QtBase] Performing Test HAVE_atomicfptr - Success
-- [QtBase] Performing Test HAVE_clock_monotonic
-- [QtBase] Performing Test HAVE_clock_monotonic - Success
-- [QtBase] Performing Test HAVE_cloexec
-- [QtBase] Performing Test HAVE_cloexec - Failed
-- [QtBase] Performing Test HAVE_cxx11_future
-- [QtBase] Performing Test HAVE_cxx11_future - Success
-- [QtBase] Performing Test HAVE_cxx11_random
-- [QtBase] Performing Test HAVE_cxx11_random - Success
-- [QtBase] Performing Test HAVE_cxx17_filesystem
-- [QtBase] Performing Test HAVE_cxx17_filesystem - Success
-- [QtBase] Performing Test HAVE_dladdr
-- [QtBase] Performing Test HAVE_dladdr - Failed
-- [QtBase] Performing Test HAVE_eventfd
-- [QtBase] Performing Test HAVE_eventfd - Failed
-- [QtBase] Performing Test HAVE_futimens
-- [QtBase] Performing Test HAVE_futimens - Failed
-- [QtBase] Performing Test HAVE_getauxval
-- [QtBase] Performing Test HAVE_getauxval - Failed
-- [QtBase] Performing Test HAVE_getentropy
-- [QtBase] Performing Test HAVE_getentropy - Failed
-- [QtBase] Performing Test HAVE_glibc
-- [QtBase] Performing Test HAVE_glibc - Failed
-- [QtBase] Performing Test HAVE_inotify
-- [QtBase] Performing Test HAVE_inotify - Failed
-- [QtBase] Performing Test HAVE_ipc_sysv
-- [QtBase] Performing Test HAVE_ipc_sysv - Failed
-- [QtBase] Performing Test HAVE_ipc_posix
-- [QtBase] Performing Test HAVE_ipc_posix - Failed
-- [QtBase] Performing Test HAVE_linkat
-- [QtBase] Performing Test HAVE_linkat - Failed
-- [QtBase] Performing Test HAVE_ppoll
-- [QtBase] Performing Test HAVE_ppoll - Failed
-- [QtBase] Performing Test HAVE_pollts
-- [QtBase] Performing Test HAVE_pollts - Failed
-- [QtBase] Performing Test HAVE_poll
-- [QtBase] Performing Test HAVE_poll - Failed
-- [QtBase] Performing Test HAVE_renameat2
-- [QtBase] Performing Test HAVE_renameat2 - Failed
-- [QtBase] Performing Test HAVE_statx
-- [QtBase] Performing Test HAVE_statx - Failed
-- [QtBase] Performing Test HAVE_syslog
-- [QtBase] Performing Test HAVE_syslog - Failed
-- [QtBase] Performing Test HAVE_cpp_winrt
-- [QtBase] Performing Test HAVE_cpp_winrt - Failed
-- [QtBase] Performing Test HAVE_xlocalescanprint
-- [QtBase] Performing Test HAVE_xlocalescanprint - Failed
-- [QtBase] Could NOT find WrapBrotli (missing: BrotliDec_FOUND BrotliEnc_FOUND BrotliCommon_FOUND)
-- [QtBase] Could NOT find GSSAPI (missing: GSSAPI_LIBRARIES GSSAPI_INCLUDE_DIRS)
-- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS)
-- [QtBase] Could NOT find GLIB2 (missing: GLIB2_LIBRARIES GTHREAD2_LIBRARIES GLIB2_INCLUDE_DIRS)
-- [QtBase] Performing Test HAVE_getifaddrs
-- [QtBase] Performing Test HAVE_getifaddrs - Failed
-- [QtBase] Performing Test HAVE_ifr_index
-- [QtBase] Performing Test HAVE_ifr_index - Failed
-- [QtBase] Performing Test HAVE_ipv6ifname
-- [QtBase] Performing Test HAVE_ipv6ifname - Failed
-- [QtBase] Performing Test HAVE_linux_netlink
-- [QtBase] Performing Test HAVE_linux_netlink - Failed
-- [QtBase] Performing Test HAVE_sctp
-- [QtBase] Performing Test HAVE_sctp - Failed
-- [QtBase] Performing Test HAVE_dtls
-- [QtBase] Performing Test HAVE_dtls - Success
-- [QtBase] Performing Test HAVE_ocsp
-- [QtBase] Performing Test HAVE_ocsp - Success
-- [QtBase] Performing Test HAVE_networklistmanager
-- [QtBase] Performing Test HAVE_networklistmanager - Success
-- [QtBase] FindLibdrm.cmake cannot find libdrm on Windows systems.
-- [QtBase] Performing Test HAVE_EGL
-- [QtBase] Performing Test HAVE_EGL - Failed
-- [QtBase] Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY)
-- [QtBase] Could NOT find WrapSystemFreetype (missing: __freetype_found) (Required is at least version "2.2.0")
-- [QtBase] Could NOT find Fontconfig (missing: Fontconfig_LIBRARY Fontconfig_INCLUDE_DIR)
-- [QtBase] Findgbm.cmake cannot find gbm on Windows systems.
-- [QtBase] Could NOT find WrapSystemHarfbuzz (missing: __harfbuzz_found) (Required is at least version "2.6.0")
-- [QtBase] FindLibinput.cmake cannot find libinput on Windows systems.
-- [QtBase] Could NOT find WrapSystemJpeg (missing: __jpeg_found)
-- [QtBase] Could NOT find WrapSystemMd4c (missing: __md4c_found)
-- [QtBase] Could NOT find WrapSystemPNG (missing: __png_found)
-- [QtBase] Found OpenGL: opengl32
-- [QtBase] Found WrapOpenGL: TRUE
-- [QtBase] Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY)
-- [QtBase] Performing Test HAVE_GLESv2
-- [QtBase] Performing Test HAVE_GLESv2 - Failed
-- [QtBase] Could NOT find GLESv2 (missing: GLESv2_INCLUDE_DIR GLESv2_LIBRARY HAVE_GLESv2 HAVE_GLESv2)
-- [QtBase] Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- [QtBase] Performing Test HAVE_evdev
-- [QtBase] Performing Test HAVE_evdev - Failed
-- [QtBase] Performing Test HAVE_integrityfb
-- [QtBase] Performing Test HAVE_integrityfb - Failed
-- [QtBase] Performing Test HAVE_linuxfb
-- [QtBase] Performing Test HAVE_linuxfb - Failed
-- [QtBase] Performing Test HAVE_directwrite
-- [QtBase] Performing Test HAVE_directwrite - Success
-- [QtBase] Performing Test HAVE_directwrite3
-- [QtBase] Performing Test HAVE_directwrite3 - Success
-- [QtBase] Performing Test HAVE_d2d1
-- [QtBase] Performing Test HAVE_d2d1 - Success
-- [QtBase] Performing Test HAVE_d2d1_1
-- [QtBase] Performing Test HAVE_d2d1_1 - Success
-- [QtBase] Tool 'Qt6::syncqt' will be built from source.
-- [QtBase] Tool 'Qt6::moc' will be built from source.
-- [QtBase] Tool 'Qt6::rcc' will be built from source.
-- [QtBase] Tool 'Qt6::tracepointgen' will be built from source.
-- [QtBase] Tool 'Qt6::tracegen' will be built from source.
-- [QtBase] Tool 'Qt6::cmake_automoc_parser' will be built from source.
-- [QtBase] Running syncqt.cpp for module: QtZlib
CMake Error at qtbase/cmake/QtSyncQtHelpers.cmake:262 (message):
  syncqt.cpp failed for module QtZlib:

  The syncqt process exited with code Exit code 0xc0000139

   and without any useful output. This can happen if syncqt crashes due to the incompatibilities with the standard C++ library located by either PATH or LD_LIBRARY_PATH environment variables. Please make sure that PATH or LD_LIBRARY_PATH don't point to the standard libraries different from the one you use for building Qt.
Call Stack (most recent call first):
  qtbase/cmake/QtModuleHelpers.cmake:875 (qt_internal_target_sync_headers)
  qtbase/cmake/QtScopeFinalizerHelpers.cmake:24:EVAL:1 (qt_finalize_module)
  qtbase/src/3rdparty/zlib/CMakeLists.txt:DEFERRED


-- Configuring incomplete, errors occurred!
CMake Error at D:/Repo/GitHub/testing/qt-docs/qt/qtbase/cmake/QtProcessConfigureArgs.cmake:998 (message):
  CMake exited with code 1.



D:\Repo\GitHub\testing\qt-docs\qt\build\mingw>


More information about the Development mailing list