[go: up one dir, main page]

Skip to content
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-base] Build error #26974

Closed
FalconFour opened this issue Sep 25, 2022 · 13 comments
Closed

[qt5-base] Build error #26974

FalconFour opened this issue Sep 25, 2022 · 13 comments
Assignees
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist Stale

Comments

@FalconFour
Copy link

Package: qt5-base[core]:arm64-windows -> 5.15.6#1

Host Environment

  • Host: arm64-windows
  • Compiler: MSVC 19.34.31823.3
  • vcpkg-tool version: 2022-09-20-522aa94e9d261c7d7b2f079bf2591ca62df5c714
    vcpkg-scripts version: 57d3194 2022-09-23 (34 hours ago)

To Reproduce

vcpkg install qt5-base

Failure logs

-- Figuring out qt target mkspec. Target arch arm64
-- Figuring out arm64
-- Target mkspec set to: win32-arm64-msvc2017
-- Host mkspec not set. Qt's own buildsystem will try to figure out the host system
-- Using cached qtbase-everywhere-opensource-src-5.15.6.tar.xz.
-- Cleaning sources at V:/buildtrees/qt5-base/src/5.15.6-98c6389ac2.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source V:/downloads/qtbase-everywhere-opensource-src-5.15.6.tar.xz
-- Applying patch patches/winmain_pro.patch
-- Applying patch patches/windows_prf.patch
-- Applying patch patches/qt_app.patch
-- Applying patch patches/gui_configure.patch
-- Applying patch patches/icu.patch
-- Applying patch patches/xlib.patch
-- Applying patch patches/egl.patch
-- Applying patch patches/mysql_plugin_include.patch
-- Applying patch patches/mysql-configure.patch
-- Applying patch patches/cocoa.patch
-- Applying patch patches/Qt5BasicConfig.patch
-- Applying patch patches/Qt5PluginTarget.patch
-- Applying patch patches/create_cmake.patch
-- Applying patch patches/Qt5GuiConfigExtras.patch
-- Using source at V:/buildtrees/qt5-base/src/5.15.6-98c6389ac2.clean
-- Found external ninja('1.11.0').
-- Getting CMake variables for arm64-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 arm64-windows-dbg
CMake Error at cripts/cmake/vcpkg_execute_required_process.cmake:96 (message):
    Command failed: V:/buildtrees/qt5-base/src/5.15.6-98c6389ac2.clean/configure.bat -confirm-license -opensource -verbose -system-zlib -system-libjpeg -system-libpng -system-freetype -system-pcre -system-doubleconversion -system-sqlite -system-harfbuzz -icu -no-angle -no-glib -openssl-linked -no-sql-psql -no-sql-mysql --vulkan=no -opengl dynamic -nomake examples -nomake tests LIBJPEG_LIBS=V:/installed/arm64-windows/debug/lib/jpeg.lib ZLIB_LIBS=V:/installed/arm64-windows/debug/lib/zlibd.lib "LIBPNG_LIBS=V:/installed/arm64-windows/debug/lib/libpng16d.lib V:/installed/arm64-windows/debug/lib/zlibd.lib" PCRE2_LIBS=V:/installed/arm64-windows/debug/lib/pcre2-16d.lib "FREETYPE_LIBS=V:/installed/arm64-windows/debug/lib/freetyped.lib V:/installed/arm64-windows/debug/lib/bz2d.lib V:/installed/arm64-windows/debug/lib/libpng16d.lib V:/installed/arm64-windows/debug/lib/zlibd.lib V:/installed/arm64-windows/debug/lib/brotlidec.lib V:/installed/arm64-windows/debug/lib/brotlicommon.lib" "ICU_LIBS=V:/installed/arm64-windows/debug/lib/icuind.lib V:/installed/arm64-windows/debug/lib/icutud.lib  V:/installed/arm64-windows/debug/lib/icuucd.lib V:/installed/arm64-windows/debug/lib/icuiod.lib V:/installed/arm64-windows/debug/lib/icudtd.lib Advapi32.lib" QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/bz2d.lib QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/libpng16d.lib "QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/icuind.lib V:/installed/arm64-windows/debug/lib/icutud.lib  V:/installed/arm64-windows/debug/lib/icuucd.lib V:/installed/arm64-windows/debug/lib/icuiod.lib V:/installed/arm64-windows/debug/lib/icudtd.lib Advapi32.lib" QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/zstd.lib SQLITE_LIBS=V:/installed/arm64-windows/debug/lib/sqlite3.lib HARFBUZZ_LIBS=-lharfbuzz "OPENSSL_LIBS=V:/installed/arm64-windows/debug/lib/libssl.lib V:/installed/arm64-windows/debug/lib/libcrypto.lib ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib" -debug -prefix V:/installed/arm64-windows -hostprefix V:/installed/arm64-windows/tools/qt5/debug -hostlibdir V:/installed/arm64-windows/tools/qt5/debug/lib -hostbindir V:/installed/arm64-windows/tools/qt5/debug/bin -archdatadir V:/installed/arm64-windows/tools/qt5/debug -datadir V:/installed/arm64-windows/share/qt5/debug -plugindir V:/installed/arm64-windows/debug/plugins -qmldir V:/installed/arm64-windows/debug/qml -headerdir V:/installed/arm64-windows/include/qt5 -libexecdir V:/installed/arm64-windows/tools/qt5/debug -bindir V:/installed/arm64-windows/debug/bin -libdir V:/installed/arm64-windows/debug/lib -I V:/installed/arm64-windows/include -I V:/installed/arm64-windows/include/qt5 -L V:/installed/arm64-windows/debug/lib -L V:/installed/arm64-windows/debug/lib/manual-link -platform win32-arm64-msvc2017 QMAKE_CC=cl.exe QMAKE_CXX=cl.exe QMAKE_AR=lib.exe QMAKE_RANLIB=: QMAKE_STRIP= QMAKE_NM= QMAKE_RC=rc.exe QMAKE_MT=mt.exe QMAKE_LIB=lib.exe QMAKE_LINK=link.exe "QMAKE_LIBS+=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" "QMAKE_RC+=-c65001 -DWIN32 -D_DEBUG" "QMAKE_CFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -MP  -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_CXXFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -GR -EHsc -MP  -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_LFLAGS+=-machine:ARM64 -nologo    -debug -INCREMENTAL" "QMAKE_LFLAGS_SHLIB+=-machine:ARM64 -nologo    -debug -INCREMENTAL" "QMAKE_LIBFLAGS_DEBUG+=-machine:ARM64 -nologo"
    Working Directory: V:/buildtrees/qt5-base/arm64-windows-dbg
    Error code: 3
    See logs for more information:
      V:\buildtrees\qt5-base\config-arm64-windows-dbg-out.log
      V:\buildtrees\qt5-base\config-arm64-windows-dbg-err.log

Call Stack (most recent call first):
  orts/qt5-base/cmake/configure_qt.cmake:186 (vcpkg_execute_required_process)
  orts/qt5-base/portfile.cmake:345 (configure_qt)
  cripts/ports.cmake:147 (include)



V:\buildtrees\qt5-base\config-arm64-windows-dbg-out.log
Bootstrapping qmake ...
	cl -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE -c -Yc -Fpqmake_pch.pch -TP V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\qmake_pch.h
qmake_pch.h
	cl -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DQT_BUILD_QMAKE_BOOTSTRAP V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qlibraryinfo.cpp
qlibraryinfo.cpp
	cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE  V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\project.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\main.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\option.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\property.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\meta.cpp 
...
Skipped 61 lines
...
n\src\corelib\text\qstringbuilder.cpp 
qbytearray.cpp
qbytearraylist.cpp
qvsnprintf.cpp
qbytearraymatcher.cpp
qlocale_tools.cpp
qlocale.cpp
qlocale_win.cpp
qregexp.cpp
qstring.cpp
qstringlist.cpp
qstringbuilder.cpp
	cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE  V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\time\qcalendar.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\time\qdatetime.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\time\qgregoriancalendar.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\time\qromancalendar.cpp 
qcalendar.cpp
qdatetime.cpp
qgregoriancalendar.cpp
qromancalendar.cpp
	cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE  V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\plugin\qsystemlibrary.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\plugin\quuid.cpp 
qsystemlibrary.cpp
quuid.cpp
	cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE  V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qendian.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qglobal.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qmalloc.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qoperatingsystemversion.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qoperatingsystemversion_win.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qrandom.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qnumeric.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\global\qlogging.cpp 
qendian.cpp
qglobal.cpp
qmalloc.cpp
qoperatingsystemversion.cpp
qoperatingsystemversion_win.cpp
qrandom.cpp
qnumeric.cpp
qlogging.cpp
	cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE  V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\codecs\qutfcodec.cpp 
qutfcodec.cpp
	cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE  V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\kernel\qsystemerror.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\kernel\qvariant.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\kernel\qmetatype.cpp 
qsystemerror.cpp
qvariant.cpp
qmetatype.cpp
	cl -Yuqmake_pch.h -FIqmake_pch.h -Fpqmake_pch.pch -c -Fo./ -Fdqmake.pdb  -W2 -nologo -O2  /MP /wd4577   -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\library -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\unix -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\win32 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\qmake\generators\mac  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/src/3rdparty/tinycbor/src  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6 -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean/include\QtCore\5.15.6\QtCore  -I..\src\corelib\global  -IV:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\win32-arm64-msvc2017   -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS  -DQT_VERSION_STR=\"5.15.6\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=6  -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL  -DQT_NO_FOREACH -DUNICODE -D_ENABLE_EXTENDED_ALIGNED_STORAGE  V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qtextstream.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qdatastream.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qxmlstream.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qxmlutils.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qcborstreamwriter.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qcborvalue.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qjsoncbor.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qjsondocument.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qjsonparser.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qjsonarray.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qjsonobject.cpp V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\src\corelib\serialization\qjsonvalue.cpp 
qtextstream.cpp
qdatastream.cpp
qxmlstream.cpp
qxmlutils.cpp
qcborstreamwriter.cpp
qcborvalue.cpp
qjsoncbor.cpp
qjsondocument.cpp
qjsonparser.cpp
qjsonarray.cpp
qjsonobject.cpp
qjsonvalue.cpp
	link  /OUT:..\bin\qmake.exe project.obj main.obj ioutils.obj proitems.obj qmakevfs.obj  qmakeglobals.obj qmakeparser.obj qmakeevaluator.obj qmakebuiltins.obj  makefile.obj unixmake.obj unixmake2.obj mingw_make.obj  option.obj winmakefile.obj projectgenerator.obj property.obj meta.obj  makefiledeps.obj metamakefile.obj xmloutput.obj  msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj  msvc_objectmodel.obj msbuild_objectmodel.obj registry.obj qbitarray.obj  qbuffer.obj  qcryptographichash.obj  qfilesystementry.obj  qfilesystemengine.obj  qfilesystemengine_win.obj  qfilesystemiterator_win.obj  qfsfileengine.obj  qfsfileengine_iterator.obj  qarraydata.obj  qbytearray.obj  qbytearraylist.obj  qvsnprintf.obj  qbytearraymatcher.obj  qcalendar.obj  qdatetime.obj  qdir.obj  qdiriterator.obj  qfiledevice.obj  qfile.obj  qtemporaryfile.obj  qabstractfileengine.obj  qfsfileengine_win.obj  qsystemlibrary.obj  qfileinfo.obj  qendian.obj  qglobal.obj  qgregoriancalendar.obj  qhash.obj  qiodevice.obj  qringbuffer.obj  qdebug.obj  qlist.obj  qlocale.obj  qlocale_tools.obj  qlocale_win.obj  qversionnumber.obj  qmalloc.obj  qmap.obj  qoperatingsystemversion.obj  qoperatingsystemversion_win.obj  qregexp.obj  qromancalendar.obj  qutfcodec.obj  qstring.obj  qstringlist.obj  qstringbuilder.obj  qsystemerror.obj  qtextstream.obj  qdatastream.obj  quuid.obj  qrandom.obj  qsettings.obj  qvariant.obj  qsettings_win.obj  qmetatype.obj  qxmlstream.obj  qxmlutils.obj  qnumeric.obj  qlogging.obj  qcborstreamwriter.obj  qcborvalue.obj  qjsoncbor.obj  qjsondocument.obj  qjsonparser.obj  qjsonarray.obj  qjsonobject.obj  qjsonvalue.obj qlibraryinfo.obj qmake_pch.obj ole32.lib advapi32.lib shell32.lib netapi32.lib
Microsoft (R) Incremental Linker Version 14.34.31823.3
Copyright (C) Microsoft Corporation.  All rights reserved.

Info: creating cache file V:\buildtrees\qt5-base\arm64-windows-dbg\.qmake.cache
Info: creating stash file V:\buildtrees\qt5-base\arm64-windows-dbg\.qmake.stash
V:\buildtrees\qt5-base\config-arm64-windows-dbg-err.log

Microsoft (R) Program Maintenance Utility Version 14.34.31823.3
Copyright (C) Microsoft Corporation.  All rights reserved.

Command line: -confirm-license -opensource -verbose -system-zlib -system-libjpeg -system-libpng -system-freetype -system-pcre -system-doubleconversion -system-sqlite -system-harfbuzz -icu -no-angle -no-glib -openssl-linked -no-sql-psql -no-sql-mysql "--vulkan=no" -opengl dynamic -nomake examples -nomake tests "LIBJPEG_LIBS=V:/installed/arm64-windows/debug/lib/jpeg.lib" "ZLIB_LIBS=V:/installed/arm64-windows/debug/lib/zlibd.lib" "LIBPNG_LIBS=V:/installed/arm64-windows/debug/lib/libpng16d.lib V:/installed/arm64-windows/debug/lib/zlibd.lib" "PCRE2_LIBS=V:/installed/arm64-windows/debug/lib/pcre2-16d.lib" "FREETYPE_LIBS=V:/installed/arm64-windows/debug/lib/freetyped.lib V:/installed/arm64-windows/debug/lib/bz2d.lib V:/installed/arm64-windows/debug/lib/libpng16d.lib V:/installed/arm64-windows/debug/lib/zlibd.lib V:/installed/arm64-windows/debug/lib/brotlidec.lib V:/installed/arm64-windows/debug/lib/brotlicommon.lib" "ICU_LIBS=V:/installed/arm64-windows/debug/lib/icuind.lib V:/installed/arm64-windows/debug/lib/icutud.lib  V:/installed/arm64-windows/debug/lib/icuucd.lib V:/installed/arm64-windows/debug/lib/icuiod.lib V:/installed/arm64-windows/debug/lib/icudtd.lib Advapi32.lib" "QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/bz2d.lib" "QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/libpng16d.lib" "QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/icuind.lib V:/installed/arm64-windows/debug/lib/icutud.lib  V:/installed/arm64-windows/debug/lib/icuucd.lib V:/installed/arm64-windows/debug/lib/icuiod.lib V:/installed/arm64-windows/debug/lib/icudtd.lib Advapi32.lib" "QMAKE_LIBS_PRIVATE+=V:/installed/arm64-windows/debug/lib/zstd.lib" "SQLITE_LIBS=V:/installed/arm64-windows/debug/lib/sqlite3.lib" "HARFBUZZ_LIBS=-lharfbuzz" "OPENSSL_LIBS=V:/installed/arm64-windows/debug/lib/libssl.lib V:/installed/arm64-windows/debug/lib/libcrypto.lib ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib" -debug -prefix V:/installed/arm64-windows -hostprefix V:/installed/arm64-windows/tools/qt5/debug -hostlibdir V:/installed/arm64-windows/tools/qt5/debug/lib -hostbindir V:/installed/arm64-windows/tools/qt5/debug/bin -archdatadir V:/installed/arm64-windows/tools/qt5/debug -datadir V:/installed/arm64-windows/share/qt5/debug -plugindir V:/installed/arm64-windows/debug/plugins -qmldir V:/installed/arm64-windows/debug/qml -headerdir V:/installed/arm64-windows/include/qt5 -libexecdir V:/installed/arm64-windows/tools/qt5/debug -bindir V:/installed/arm64-windows/debug/bin -libdir V:/installed/arm64-windows/debug/lib -I V:/installed/arm64-windows/include -I V:/installed/arm64-windows/include/qt5 -L V:/installed/arm64-windows/debug/lib -L V:/installed/arm64-windows/debug/lib/manual-link -platform win32-arm64-msvc2017 "QMAKE_CC=cl.exe" "QMAKE_CXX=cl.exe" "QMAKE_AR=lib.exe" "QMAKE_RANLIB=:" "QMAKE_STRIP=" "QMAKE_NM=" "QMAKE_RC=rc.exe" "QMAKE_MT=mt.exe" "QMAKE_LIB=lib.exe" "QMAKE_LINK=link.exe" "QMAKE_LIBS+=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib" "QMAKE_RC+=-c65001 -DWIN32 -D_DEBUG" "QMAKE_CFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -MP  -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_CXXFLAGS_DEBUG+=-nologo -DWIN32 -D_WINDOWS -W3 -utf-8 -GR -EHsc -MP  -D_DEBUG -MDd -Z7 -Ob0 -Od -RTC1" "QMAKE_LFLAGS+=-machine:ARM64 -nologo    -debug -INCREMENTAL" "QMAKE_LFLAGS_SHLIB+=-machine:ARM64 -nologo    -debug -INCREMENTAL" "QMAKE_LIBFLAGS_DEBUG+=-machine:ARM64 -nologo"
Project ERROR: SDK setup script failed. Output:
===================
[ERROR:vcvarsall.bat] Invalid argument found : Unknown_arm64
[ERROR:vcvarsall.bat] Error in script usage. The correct usage is:
Syntax:
    vcvarsall.bat [arch] [platform_type] [winsdk_version] [-vcvars_ver=vc_version] [-vcvars_spectre_libs=spectre_mode]
where :
    [arch]: x86 | amd64 | x86_amd64 | x86_arm | x86_arm64 | amd64_x86 | amd64_arm | amd64_arm64
    [platform_type]: {empty} | store | uwp
    [winsdk_version] : full Windows 10 SDK number (e.g. 10.0.10240.0) or "8.1" to use the Windows 8.1 SDK.
    [vc_version] : {none} for latest installed VC++ compiler toolset |
                   "14.0" for VC++ 2015 Compiler Toolset |
                   "14.xx" for the latest 14.xx.yyyyy toolset installed (e.g. "14.11") |
                   "14.xx.yyyyy" for a specific full version number (e.g. "14.11.25503")
    [spectre_mode] : {none} for libraries without spectre mitigations |
                     "spectre" for libraries with spectre mitigations
The store parameter sets environment variables to support Universal Windows Platform application
development and is an alias for 'uwp'.
For example:
    vcvarsall.bat x86_amd64
    vcvarsall.bat x86_amd64 10.0.10240.0
    vcvarsall.bat x86_arm uwp 10.0.10240.0
    vcvarsall.bat x86_arm onecore 10.0.10240.0 -vcvars_ver=14.0
    vcvarsall.bat x64 8.1
    vcvarsall.bat x64 store 8.1
Please make sure either Visual Studio or C++ Build SKU is installed.
===================
Command was: V:\buildtrees\qt5-base\src\5.15.6-98c6389ac2.clean\mkspecs\features\data\dumpvcvars.bat "C:\Program Files\Microsoft Visual Studio\2022\Preview\\VC\Auxiliary\Build\vcvarsall.bat" Unknown_arm64 10.0.22621.0
**Additional context**

Appears to be a silly breakdown in mkspecs/features/toolchain.prf around line 319 where the "Unknown_arm64" line ends up being produced. It seems the correct line should be "amd64_arm64". Building natively on Windows 11 on a Galaxy Book Go -- aiming for an all-native ARM64 system!

@FalconFour FalconFour added the category:port-bug The issue is with a library, which is something the port should already support label Sep 25, 2022
@FalconFour
Copy link
Author

It's also ignoring my flag --editable and making fixing this issue a complete nightmare -- I say ./vcpkg install qt5-base --triplet arm64-windows-static --editable, and it still blows away the contents of the folder (with .clean) extension and extracts it to a .clean path all over again. Every time. I cannot get this thing to honor the "--editable" flag. How does anyone debug anything on this platform when it always re-downloads and nukes the build tree when you try compiling it?

@LilyWangLL LilyWangLL self-assigned this Sep 26, 2022
@LilyWangLL
Copy link
Contributor

It's also ignoring my flag --editable and making fixing this issue a complete nightmare -- I say ./vcpkg install qt5-base --triplet arm64-windows-static --editable, and it still blows away the contents of the folder (with .clean) extension and extracts it to a .clean path all over again. Every time. I cannot get this thing to honor the "--editable" flag. How does anyone debug anything on this platform when it always re-downloads and nukes the build tree when you try compiling it?

I can't reproduce this behavior on my machine. The option --editable is available. The following log have message -- Using source at E:/Lily/0829/buildtrees/qt5-base/src/5.15.6-98c6389ac2, and it does not remove *.clean source.

./vcpkg install qt5-base --triplet arm64-windows --editable
Computing installation plan...
The following packages will be built and installed:
    qt5-base[core]:arm64-windows -> 5.15.6#1
Restored 0 package(s) from C:\Users\v-lilywang\AppData\Local\vcpkg\archives in 141.8 us. Use --debug to see more details.
Installing 1/1 qt5-base:arm64-windows...
Building qt5-base[core]:arm64-windows...
-- Figuring out qt target mkspec. Target arch arm64
-- Figuring out arm64
-- Target mkspec set to: win32-arm64-msvc2017
-- Host mkspec not set. Qt's own buildsystem will try to figure out the host system
-- Using cached qtbase-everywhere-opensource-src-5.15.6.tar.xz.
-- Extracting source E:/Lily/0829/downloads/qtbase-everywhere-opensource-src-5.15.6.tar.xz
-- Applying patch patches/winmain_pro.patch
-- Applying patch patches/windows_prf.patch
-- Applying patch patches/qt_app.patch
-- Applying patch patches/gui_configure.patch
-- Applying patch patches/icu.patch
-- Applying patch patches/xlib.patch
-- Applying patch patches/egl.patch
-- Applying patch patches/mysql_plugin_include.patch
-- Applying patch patches/mysql-configure.patch
-- Applying patch patches/cocoa.patch
-- Applying patch patches/Qt5BasicConfig.patch
-- Applying patch patches/Qt5PluginTarget.patch
-- Applying patch patches/create_cmake.patch
-- Applying patch patches/Qt5GuiConfigExtras.patch
-- Using source at E:/Lily/0829/buildtrees/qt5-base/src/5.15.6-98c6389ac2
-- Found external ninja('1.10.2').
-- Getting CMake variables for arm64-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 E:/Lily/0829/downloads/tools/msys2/9a1ec3f33446b195
-- Configuring arm64-windows-dbg

@LilyWangLL LilyWangLL added category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist and removed category:port-bug The issue is with a library, which is something the port should already support labels Sep 28, 2022
@Wunkolo
Copy link
Wunkolo commented Nov 11, 2022

I'm having this issue as well on my ThinkPad x13s when trying to install qt5-base with vcpkg version 2022-10-17-3247920fbdd47d08f36cbd480addd9890d3c2435. Similar symptoms as the original post with the string Unknown_arm64 being generated.

Project ERROR: SDK setup script failed. Output:
===================
[ERROR:vcvarsall.bat] Invalid argument found : Unknown_arm64
[ERROR:vcvarsall.bat] Error in script usage. The correct usage is:
Syntax:
    vcvarsall.bat [arch] [platform_type] [winsdk_version] [-vcvars_ver=vc_version] [-vcvars_spectre_libs=spectre_mode]
where :
    [arch]: x86 | amd64 | x86_amd64 | x86_arm | x86_arm64 | amd64_x86 | amd64_arm | amd64_arm64
    [platform_type]: {empty} | store | uwp
    [winsdk_version] : full Windows 10 SDK number (e.g. 10.0.10240.0) or "8.1" to use the Windows 8.1 SDK.
    [vc_version] : {none} for latest installed VC++ compiler toolset |
                   "14.0" for VC++ 2015 Compiler Toolset |
                   "14.xx" for the latest 14.xx.yyyyy toolset installed (e.g. "14.11") |
                   "14.xx.yyyyy" for a specific full version number (e.g. "14.11.25503")
    [spectre_mode] : {none} for libraries without spectre mitigations |
                     "spectre" for libraries with spectre mitigations
The store parameter sets environment variables to support Universal Windows Platform application
development and is an alias for 'uwp'.
For example:
    vcvarsall.bat x86_amd64
    vcvarsall.bat x86_amd64 10.0.10240.0
    vcvarsall.bat x86_arm uwp 10.0.10240.0
    vcvarsall.bat x86_arm onecore 10.0.10240.0 -vcvars_ver=14.0
    vcvarsall.bat x64 8.1
    vcvarsall.bat x64 store 8.1
Please make sure either Visual Studio or C++ Build SKU is installed.
===================

@Wunkolo
Copy link
Wunkolo commented Nov 11, 2022

I found a mitigation of sorts which got me farther which was to just edit the mkspecs/features/toolchain.prf file found in my C:\dev\vcpkg\buildtrees\qt5-base\src folder and force it to generate the correct string just to get it through a build.

        hostArch = $$QMAKE_HOST.arch
        equals(hostArch, x86_64): \
            hostArch = amd64
        !equals(arch, $$hostArch): \
-            arch = $${hostArch}_$$arch
+            arch = amd64_$$arch

        isEmpty(MSVC_VER): \

Now I am getting jom errors which is a different issue but this is some indication for this issue's solution.

@N0un
Copy link
N0un commented Jan 24, 2023

@Wunkolo, I'm facing the same issue. Impossible to build qt5-base on my arm64-windows machine. Same error with the string Unknown_arm64 generated, and same jom error after the edition you suggested. Have you succeed to build qt5-base?

@Wunkolo
Copy link
Wunkolo commented Jan 24, 2023

@N0un I don't have any updates unfortunately. I'm stuck at the jom point with no progress on building qt5-base.

@kafeg
Copy link
Contributor
kafeg commented Oct 23, 2023

@shijunz
Copy link
shijunz commented Mar 22, 2024

Probably this required: https://gist.github.com/thomaslmiller/b97bc7c7905f6e5fdfb93ee71e2a2fc5

I try it , it does not work.

@shijunz
Copy link
shijunz commented Mar 26, 2024

@N0un I don't have any updates unfortunately. I'm stuck at the jom point with no progress on building qt5-base.

I just change this one, it maybe work, it is starting building now. what is 'jom' error?

@Frankdwu
Copy link
   arch = amd64_$$arch

This change works for me, and QT5 could compile and build successful on windows on arm.
Is there possible to upstream this change or refined this change and upstream?

@shijunz
Copy link
shijunz commented Mar 27, 2024
   arch = amd64_$$arch

This change works for me, and QT5 could compile and build successful on windows on arm. Is there possible to upstream this change or refined this change and upstream?

o, it also work on my pc, let me ask the msft.

Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Sep 24, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2024
@pedrolcl
Copy link
Contributor
pedrolcl commented Oct 11, 2024

same situation here: trying to build qt5-base in a surface pro 11th edition. Same error as @N0un

Project ERROR: SDK setup script failed. Output:
===================
[ERROR:vcvarsall.bat] Invalid argument found : Unknown_arm64

now I see that a more on topic issue #37210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist Stale
Projects
None yet
Development

No branches or pull requests

8 participants