-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[qt5-base:x64-windows] build failure #13566
Comments
…[qt5-base:x64-windows] build failure}.
Should be linked with |
@JackBoosY: I still don't know where this error is coming from. So this needs a way to actually reproduce the error. |
I was able to reproduce the issue with the following command.
If you cannot reproduce the issue with that command, then it is possible that there are other packages that contribute to the issue. Try the following command instead.
|
@Neumann-A said.
I provided information on how to reproduce this in the original bug report. I simply ran the following command and saw the errors.
When I saw your message I provided additional information 11 days ago. I will repeat my response from 11 days ago and provide a bit more information as explanation. It is possible that there are other packages that contribute to the issue. Try the following command instead.
The problem is that the original command was not run in isolation. I already had many other packages installed when I ran the command I mentioned in the original bug report. I can only guess why we are seeing differences in behavior. Since the errors reference DirectX and there are DirectX related packages that were installed before I ran that first command I assume the second one will suffice to reproduce the error. I provided most of these details 11 days ago and have not seen a response. Are you still unable to reproduce the issue? I ask because I have not seen any progress on this issue in 11 days. I saw your comment and the requires:repro tag. I provided addition information, and nothing. It seems to me that 11 days is more than enough time for someone to say "that worked" or "nope, still cannot reproduce it." |
@BenKey Sorry for late, I'll try to reproduce this issue later. |
After run command
|
@JackBister Thanks. |
The symblos
but not in the link command:
@Neumann-A do you know why it happened? |
should probably be
|
You have to look into the response file |
I met this issue again. After some investigation, I think this issue will repro if port Edit: |
@walbourn Do you know the difference between the dxsdk downloaded from the our official website and the dxsdk in the Windows 10 SDK? |
I observe directxsdk is explicitly deprecated in favor of the Windows SDK one and that port prints this message:
|
Obviously, qt5 did not process the code according to the version of dxsdk. |
TL;DR: The only good reason to keep using the legacy DirectX SDK is for Windows XP. This scenario is not supported by the modern Windows SDK (Windows 8 or later) and requires the Windows 7.1A SDK. @JackBoosY - The legacy DirectX SDK was deprecated back in 2011 as a product and lives on as an 'end-of-life' release with numerous known issues. See Microsoft Docs. Due to the SHA-1 deprecation on Microsoft Downloads, there were impacts early in 2021 on both the legacy DirectX SDK and the legacy DirectX End-User Runtime downloads. See this blog post. That's why I made changes to the community created dxsdk vcpkg port, as well as to provide features to support the guidance in this blog post. The big problem with the legacy DirectX SDK is that it contains conflicting filenames with the modern Windows SDK. If you get the include order wrong, you'll end up with the old version of the header. That's almost certainly what's happening with A number of technologies were transferred to the Windows 8 OS and Window 8 SDK and live on in the modern Windows SDK:
|
@walbourn Thank you for your detailed explanation, I will report this issue to qt. |
Upstream issue: https://bugreports.qt.io/browse/QTBUG-99050. |
This wont be fixed. 5.15.2 was the last open source release. So unless vcpkg switches to the kde branch for qt5 or adds the patch itself nothing will happen. |
@Neumann-A I'm afraid the latest qt version also have this issue. |
reproducable on windows 11 with wisual studio 17.1 and ninja 1.10.2 |
Close this PR until upstream fixes this. |
* Enable building of LLVM. Build arabica. * Added nasm and yasm to the path. Use CMake version 3.17.2 instead of version 3.14.0. * Disable installation of llvm since it is broken again. * Add share\clang to the path. * Enable llvm. * Added directories to path. Use Python 3.8. * Modified the imgui entry in the packageList. * Added InstallPackagesForLinux.py. * boost-regex with icu feature is only supported on windows * Do not build 'boost-locale[icu]'. * Do not build atkmm or gtkmm. They are not supported in Linux. * Do not build atk or gtk. * Do not build chakracore. * Do not build cppunit. * Remove packages from the package list that are not supported in Linux. * Disable installation of llvm because it is currently broken. * Do not install dlib. * Use official release of arabica from jezhiggins. * Fix error with arabica on Windows by defining the following preprocessor symbols: -DCMAKE_CXX_FLAGS=-DARABICA_NO_CODECVT_SPECIALISATIONS=1 -DARABICA_USE_WINSOCK=1 -DARABICA_WINDOWS=1. * Can't build BoringSSL if OpenSSL is installed. * Comment out portaudio line until bug is fixed. * Updates to path. * Changes to the packageList: 1) Added aixlog, audiofile, berkeleydb, cpu-features, cpu-features[tools], ctbignum, imgui[glfw-binding], and several more SDL2 components. 2) Build SDL2 at the same time as imgui. * 1) Added the following items to the packageList: 7zip, akali, chromium-base, directxsdk, directxtk12, dx, fruit, function2, glew, hunspell, hunspell[tools], libevent, libevent[thread], libyaml, mimalloc, mimalloc[secure], mpfr, mygui, mygui[opengl], nt-wrapper, numcpp, p-ranav-csv2, phnt, qt5[doc], qt5[speech], qt5-winextras, safeint, tgui, tgui[tool], utf8h, utfcpp, and v8. 2) Added the ability to mark a package as x64 only. 3) Added directories to the path. * Disable installation of chromium-base until they fix the double_conversion.lib bug. * Set DICPATH environment variable. * Added Emacs to path. * Temporarily disable install of qt5 because of issue microsoft#13566 {[qt5-base:x64-windows] build failure}. * Minor updates to InstallPackagesForWindows.py and update-env.bat. * Updates to path. * Updated InstallPackagesForWindows.py and update-env.bat. * Updated update-env.bat. * Minor updates. * Added vcpkg-env.el. * Updated the path. * Updated PATH. * Various small improvements. * WIP. Began the process of synchronizing InstallPackagesForLinux.py with InstallPackagesForWindows.py. * Minor updates. * Updated packageList. * Updated vcpkg-env.el. * Updates to InstallPackagesForWindows.py. * Updated the package list. * Updated the path. * Updates to the install packages scripts. * Numerous improvements. * Updated path. * Updated package list. * Added uberswitch. * Install uberswitch. * Update package list. * Update packageList. Set JDK_HOME, JDK_HOME_X64, and JDK_HOME_X86. Update path. * Set env for .NET. * Added the bt directory. * Updated packageList. * Updated PATH. * Added InstallPackagesForMSYS2.py. * Updated JDK variables. * Updated packageList. * Updated vcpkg-env.el. * Updated vcpkg--add-to-path-linux. * Set PANDOC_EXE. * Updated packageList. * Updated path and dotnet version. * Update DOTNET_VERSION, JDK_HOME, JDK_HOME_X64, and JDK_HOME_X86. * Updated add-to-path-windows. * Updated DOTNET_VERSION. Added an option to add MSYS64 directories to the path. * Added clean.bat. * Updated clean.bat. * Updated x64OnlyPackageList and packageList. * Various updates. * Various updates. * Trimmed the packageList so that it only includes packages I use actively. This makes updating VCPKG much less time consuming. * Updated env. * Minor updates to the packageList. * No longer attempt to set DICPATH. * * Import inspect. * Updated x64OnlyPackageList and packageList. * Updated the InstallPackagesWorker function. * Updated path. * Update path. * Updates for Java and Python. * Updated packageList. * Updated DOTNET_VERSION, JDK_HOME, and JDK_HOME_X64. * Updated path. * Update package list. * Updated the path. * Set CMAKE_TOOLCHAIN_FILE. Update HOME. --------- Co-authored-by: Ben Key <bkey76@gmail.com> Co-authored-by: Benilda Key <bkey@vispero.com>
Host Environment
To Reproduce
Run the following command.
./vcpkg install qt5 qwt qt5[doc] qt5[speech] qt5-winextras --triplet x64-windows
Failure logs
From Console
From build-x64-windows-dbg-out.log
Log files
build-x64-windows-dbg-out.log
build-x64-windows-dbg-err.log
The text was updated successfully, but these errors were encountered: