-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0
-
None
-
-
af1cce5cb (dev), 860aef762 (6.4), 586f994e8 (6.5), 2b9099c15 (tqtc/lts-6.2)
Building Qt 6.4.0 source fetched from maintenance tool fails.
I'm using Windows 11 and the command prompt is not Qt's command prompt. I just typed "cmd" to the address bar of the file explorer.
Though, even when I used "Qt 6.4.0 (MinGw 11.2.0 64-bit" and "Qt 6.4.0 (MSVC 2019 64-bit)", the build weren't successful with the same error. I even tried opening them as an admin but it didn't work either.
<Prerequisites>
CMake 3.18 or later
C:\Qt\6.4.0\Src>cmake --version cmake version 3.25.1CMake suite maintained and supported by Kitware (kitware.com/cmake).
Perl 5.8 or later
C:\Qt\6.4.0\Src>perl --versionThis is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-threadCopyright 1987-2021, Larry WallPerl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit.Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.
Python 2.7 or later
C:\Qt\6.4.0\Src>python --version Python 3.10.5
C++ compiler supporting the C++17 standard
Supported compiler (Visual Studio 2019 or later, or MinGW-builds gcc 8.1 or later)
C:\Qt\6.4.0\Src>gcc --version gcc (x86_64-posix-seh, Built by strawberryperl.com project) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
It's recommended to have ninja 1.8 or later installed.
C:\Qt\6.4.0\Src>ninja --version 1.11.0
Ruby version 1.9.3 or later
C:\Qt\6.4.0\Src>ruby --version ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt]
<Configure>
The executed command was "C:\Qt\6.4.0\Src>configure -prefix %CD%\qtbase"
Configuration was successful. Please look at the attached "configuration_command_and_output.txt".
<Build Output>
C:\Qt\6.4.0\Src>cmake --build . [1/4] Generating .stamp-deploy_virtualenvninja: error: rebuilding 'build.ninja': subcommand failedFAILED: qtinterfaceframework/src/tools/ifcodegen/.stamp-deploy_virtualenv C:/Qt/6.4.0/Src/qtinterfaceframework/src/tools/ifcodegen/.stamp-deploy_virtualenv cmd.exe /C "cd /D C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen && C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\deploy-virtualenv.bat qtif_qface_virtualenv && "C:\Program Files\CMake\bin\cmake.exe" -E touch .stamp-deploy_virtualenv" "\lib\ doesn't exist"
<more verbose Build output I got>
[1/6] Setting up virtualenv for qface, name: qtif_qface_virtualenv created virtual environment CPython3.10.8.final.0-64 in 790ms creator Venv(dest=C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv, clear=False, no_vcs_ignore=False, global=False, describe=CPython3Windows) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\81808\AppData\Local\pypa\virtualenv) added seed packages: Jinja2==3.1.2, MarkupSafe==2.1.1, PyYAML==6.0, antlr4_python3_runtime==4.11.1, click==8.1.3, colorama==0.4.6, coloredlogs==15.0.1, humanfriendly==10.0, path.py==12.5.0, path==16.6.0, pip==22.3.1, pyreadline3==3.4.1, qface==2.0.8, setuptools==65.6.3, six==1.16.0, watchdog==2.2.1, wheel==0.38.4 activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator INFO:root:Directory C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv already exists WARNING:root:Script C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\Scripts\activate.nu cannot be made relative (it's not a normal script that starts with #!c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\scripts\python.exe) WARNING:root:Script C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\Scripts\activate.ps1 cannot be made relative (it's not a normal script that starts with #!c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\scripts\python.exe) WARNING:root:Script C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\Scripts\deactivate.bat cannot be made relative (it's not a normal script that starts with #!c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\scripts\python.exe) WARNING:root:Script C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\Scripts\pydoc.bat cannot be made relative (it's not a normal script that starts with #!c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\scripts\python.exe) [2/6] Installing qface development version into qtif_qface_virtualenv Processing c:\qt\6.4.0\src\qtinterfaceframework\src\3rdparty\qface Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Requirement already satisfied: click>=6.7 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (8.1.3) Requirement already satisfied: antlr4-python3-runtime>=4.7.1 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (4.11.1) Requirement already satisfied: jinja2>=2.10.3 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (3.1.2) Requirement already satisfied: path.py>=11.0.1 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (12.5.0) Requirement already satisfied: pyyaml>=5.1 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (6.0) Requirement already satisfied: watchdog>=0.8.3 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (2.2.1) Requirement already satisfied: six>=1.11.0 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (1.16.0) Requirement already satisfied: coloredlogs>=10.0 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from qface==2.0.8) (15.0.1) Requirement already satisfied: colorama in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from click>=6.7->qface==2.0.8) (0.4.6) Requirement already satisfied: humanfriendly>=9.1 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from coloredlogs>=10.0->qface==2.0.8) (10.0) Requirement already satisfied: MarkupSafe>=2.0 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from jinja2>=2.10.3->qface==2.0.8) (2.1.1) Requirement already satisfied: path in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from path.py>=11.0.1->qface==2.0.8) (16.6.0) Requirement already satisfied: pyreadline3 in c:\qt\6.4.0\src\qtinterfaceframework\src\tools\ifcodegen\qtif_qface_virtualenv\lib\site-packages (from humanfriendly>=9.1->coloredlogs>=10.0->qface==2.0.8) (3.4.1) Building wheels for collected packages: qface Building wheel for qface (setup.py): started Building wheel for qface (setup.py): finished with status 'done' Created wheel for qface: filename=qface-2.0.8-py3-none-any.whl size=55228 sha256=e8a600bab5191da26363f11c3dd4dc864909b7206519000e4a01d25a9cbc5c92 Stored in directory: C:\Users\81808\AppData\Local\Temp\pip-ephem-wheel-cache-jtok1pi0\wheels\16\93\2a\0774052e1f51ba32edc79b2cf8ef2cce34b43bd62ab350a634 Successfully built qface Installing collected packages: qface Attempting uninstall: qface Found existing installation: qface 2.0.8 Uninstalling qface-2.0.8: Successfully uninstalled qface-2.0.8 Successfully installed qface-2.0.8 [3/6] Generating .stamp-deploy_virtualenvninja: error: rebuilding 'build.ninja': subcommand failedFAILED: qtinterfaceframework/src/tools/ifcodegen/.stamp-deploy_virtualenv C:/Qt/6.4.0/Src/qtinterfaceframework/src/tools/ifcodegen/.stamp-deploy_virtualenv cmd.exe /C "cd /D C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen && C:\Qt\6.4.0\Src\qtinterfaceframework\src\tools\ifcodegen\deploy-virtualenv.bat qtif_qface_virtualenv && "C:\Program Files\CMake\bin\cmake.exe" -E touch .stamp-deploy_virtualenv" "\lib\ doesn't exist"