-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[qt5-declarative] Failed to build on Windows #30288
Comments
@shirok1, Thanks for your issue, please provide the detailed error log:
|
@JonLiu1993 Here are they.
|
I guess there was a warning that you need to use a shorter path for the actual work. |
@shirok1, Could you try to re-clone vcpkg with a shorter pre-path on your non-C drive and try again? |
@dg0yt I tried to bind V:\> .\vcpkg install qt5 --recurse
Computing installation plan...
The following packages will be built and installed:
qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols,quickcontrols2,svg,tools,translations,websockets]:x64-windows -> 5.15.8#1
* qt5-activeqt[core]:x64-windows -> 5.15.8
* qt5-declarative[core]:x64-windows -> 5.15.8
* qt5-graphicaleffects[core]:x64-windows -> 5.15.8
* qt5-multimedia[core]:x64-windows -> 5.15.8
* qt5-networkauth[core]:x64-windows -> 5.15.8
* qt5-quickcontrols[core]:x64-windows -> 5.15.8
* qt5-quickcontrols2[core]:x64-windows -> 5.15.8
* qt5-tools[core]:x64-windows -> 5.15.8
* qt5-translations[core]:x64-windows -> 5.15.8
* qt5-websockets[core]:x64-windows -> 5.15.8
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
-- Automatically setting HTTP(S)_PROXY environment variables to "127.0.0.1:7890".
Restored 0 package(s) from C:\Users\Shiroki\AppData\Local\vcpkg\archives in 443.5 us. Use --debug to see more details.
Installing 1/11 qt5-declarative:x64-windows...
Building qt5-declarative[core]:x64-windows...
-- Using cached qtdeclarative-everywhere-opensource-src-5.15.8.tar.xz.
-- Cleaning sources at V:/buildtrees/qt5-declarative/src/5.15.8-f2590fed43.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source V:/downloads/qtdeclarative-everywhere-opensource-src-5.15.8.tar.xz
-- Using source at V:/buildtrees/qt5-declarative/src/5.15.8-f2590fed43.clean
-- Found external ninja('1.11.0').
-- 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 V:/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 cripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
Working Directory: V:/buildtrees/qt5-declarative/x64-windows-dbg
See logs for more information:
V:\buildtrees\qt5-declarative\package-build-x64-windows-dbg-out.log
V:\buildtrees\qt5-declarative\package-build-x64-windows-dbg-err.log
Call Stack (most recent call first):
cripts/cmake/vcpkg_build_qmake.cmake:3 (vcpkg_execute_build_process)
cripts/cmake/vcpkg_build_qmake.cmake:76 (z_run_jom_build)
nstalled/x64-windows/share/qt5/qt_build_submodule.cmake:11 (vcpkg_build_qmake)
nstalled/x64-windows/share/qt5/qt_submodule_installation.cmake:9 (qt_build_submodule)
orts/qt5-declarative/portfile.cmake:2 (qt_submodule_installation)
cripts/ports.cmake:147 (include)
error: building qt5-declarative:x64-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+qt5-declarative
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[qt5-declarative]+Build+error
Include '[qt5-declarative] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-11-10-5fdee72bc1fceca198fb1ab7589837206a8b81ba
vcpkg-scripts version: e18164740 2023-03-20 (52 minutes ago)
Please use the prefilled template from V:\installed\vcpkg\issue_body.md when reporting your issue.
@JonLiu1993 I will try it now. |
Ok, I've installed
|
duplicate solution see #30446 (comment) |
@shirok1, Have you tried the workaround suggested by the comments above? |
I think you just missed #30288 (comment) |
I had the same problem. The error was because |
@shirok1, could you please try @smile-zyk's suggestion? |
I'm having the same problem. But neither @smile-zyk suggestion nor short path suggestion works for me |
@shirok1 It may help. #31592 (comment) |
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install qt5
Failure logs
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
The text was updated successfully, but these errors were encountered: