Open Krzmbrzl opened 7 months ago
To me it seems like Qt's buildsystem performs some intermediary compilation to perform a functionality check of the compiler or something and this is producing an ARM object file, which then obviously can't be linked into an x86_64 program, leading qmake to the (wrong) conclusion that the compiler was not working.
Side-note: Qt6-base (qtbase:x64-osx
) compiles without issues, so this seems to be a Qt5-specific issue.
- Host: arm64-osx
- vcpkg install qt5-base:x64-osx
This is a cross compilation. Since it is not reproduced on x64-osx
host, so it is marked as category:community-triplet
.
My environment: Host: x64-osx Vcpkg version:
vcpkg@VCPKGMM-12 vcpkg % ./vcpkg version
vcpkg package management program version 2023-09-15-ac02a9f660977426b8ec6392919fbb1d51b10998
See LICENSE.txt for license information.
Installation info:
vcpkg@VCPKGMM-12 vcpkg % ./vcpkg install qt5-base --binarysource=clear
Computing installation plan...
The following packages will be built and installed:
qt5-base:x64-osx -> 5.15.11#1
Detecting compiler hash for triplet x64-osx...
Restored 0 package(s) from /Users/vcpkg/.cache/vcpkg/archives in 750 us. Use --debug to see more details.
Installing 1/1 qt5-base:x64-osx...
Building qt5-base:x64-osx...
-- Figuring out qt target mkspec. Target arch x64
-- Target mkspec set to: macx-clang
-- Host mkspec not set. Qt's own buildsystem will try to figure out the host system
-- Downloading https://download.qt.io/archive/qt/5.15/5.15.11/submodules/qtbase-everywhere-opensource-src-5.15.11.tar.xz;https://mirrors.ocf.berkeley.edu/qt/archive/qt/5.15/5.15.11/submodules/qtbase-everywhere-opensource-src-5.15.11.tar.xz -> qtbase-everywhere-opensource-src-5.15.11.tar.xz...
-- Extracting source /Users/vcpkg/Monica/vcpkg/downloads/qtbase-everywhere-opensource-src-5.15.11.tar.xz
-- Applying patch patches/CVE-2023-24607-qtbase-5.15.diff
-- Applying patch patches/CVE-2023-32762-qtbase-5.15.diff
-- Applying patch patches/CVE-2023-32763-qtbase-5.15.diff
-- Applying patch patches/CVE-2023-33285-qtbase-5.15.diff
-- Applying patch patches/CVE-2023-34410-qtbase-5.15.diff
-- Applying patch patches/CVE-2023-37369-qtbase-5.15.diff
-- Applying patch patches/CVE-2023-38197-qtbase-5.15.diff
-- Applying patch patches/CVE-2023-43114-5.15.patch
-- 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/xlib.patch
-- Applying patch patches/egl.patch
-- Applying patch patches/qtbug_96392.patch
-- Applying patch patches/mysql_plugin_include.patch
-- Applying patch patches/mysql-configure.patch
-- Applying patch patches/cocoa.patch
-- Applying patch patches/xcode-15.patch
-- Applying patch patches/patch-qtbase-memory_resource.diff
-- Applying patch patches/Qt5BasicConfig.patch
-- Applying patch patches/Qt5PluginTarget.patch
-- Applying patch patches/create_cmake.patch
-- Applying patch patches/Qt5GuiConfigExtras.patch
-- Applying patch patches/fix_angle.patch
-- Applying patch patches/mingw9.patch
-- Using source at /Users/vcpkg/Monica/vcpkg/buildtrees/qt5-base/src/5.15.11-13623e1e19.clean
-- Detected OSX SDK Version: 11.3
-- Major.Minor OSX SDK Version: 11.3
-- Detected OSX system Version: 13.5.2
-- Major.Minor OSX system Version: 13.5
-- QT_MAC_SDK_VERSION_MIN: 10.14
-- QT_MAC_SDK_VERSION_MAX: 12
-- Enviromnent OSX SDK Version: 12
-- Found external ninja('1.11.1').
-- Getting CMake variables for x64-osx
-- Configuring x64-osx-dbg
-- Configuring x64-osx-dbg done
-- Configuring x64-osx-rel
-- Configuring x64-osx-rel done
-- Building x64-osx-dbg
-- Cleaning after build before install x64-osx-dbg
-- Fixing makefile installation path x64-osx-dbg
-- Installing x64-osx-dbg
-- Package x64-osx-dbg done
-- Building x64-osx-rel
-- Cleaning after build before install x64-osx-rel
-- Fixing makefile installation path x64-osx-rel
-- Installing x64-osx-rel
-- Package x64-osx-rel done
-- Installing: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/share/qt5-base/copyright
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Concurrent.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Core.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5DBus.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Gui.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Network.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5OpenGL.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5OpenGLExtensions.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5PrintSupport.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Sql.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Test.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Widgets.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/lib/pkgconfig/Qt5Xml.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Concurrent_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Core_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5DBus_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Gui_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Network_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5OpenGLExtensions_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5OpenGL_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5PrintSupport_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Sql_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Test_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Widgets_debug.pc
-- Fixing pkgconfig file: /Users/vcpkg/Monica/vcpkg/packages/qt5-base_x64-osx/debug/lib/pkgconfig/Qt5Xml_debug.pc
-- Performing post-build validation
Stored binaries in 1 destinations in 36 s.
Elapsed time to handle qt5-base:x64-osx: 14 min
Total install time: 14 min
After deeper investigations of my own, I think I have found out the following:
config.tests/verifyspec
(relative to the qt5-base source root)-arch x86_64
option, in contrast to the linker invocationCompiler invocation:
c++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -w -fPIC -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd/config.tests/verifyspec -I. -I/Users/administrator/vcpkg/installed/x64-osx/include -I/Users/administrator/vcpkg/installed/x64-osx/include/qt5 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd/mkspecs/macx-clang -o verifyspec.o /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd/config.tests/verifyspec/verifyspec.cpp
Note the absence of the -arch
compiler flag
Linker invocation:
> c++ -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk -arch x86_64 -mmacosx-version-min=12 -headerpad_max_install_names -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-rpath,@executable_path/../Frameworks -o verifyspec verifyspec.o -L/Users/administrator/vcpkg/installed/x64-osx/debug/lib -L/Users/administrator/vcpkg/installed/x64-osx/debug/lib/manual-link /Users/administrator/vcpkg/installed/x64-osx/debug/lib/libbz2d.a /Users/administrator/vcpkg/installed/x64-osx/debug/lib/libpng16d.a /Users/administrator/vcpkg/installed/x64-osx/debug/lib/libz.a /Users/administrator/vcpkg/installed/x64-osx/debug/lib/libzstd.a
Note the presence of the -arch
option
In the actual invocation of qmake, we see that the -arch
option is added to the QMAKE_CFLAGS_DEBUG
, QMAKE_CXXFLAGS_DEBUG
, QMAKE_LFLAGS
and QMAKE_LFLAGS_PLUGIN
variables.
/Users/administrator/vcpkg/buildtrees/qt5-base/x64-osx-dbg/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += static warn_off console single_arch" 'QMAKE_LIBDIR += /Users/administrator/vcpkg/installed/x64-osx/debug/lib /Users/administrator/vcpkg/installed/x64-osx/debug/lib/manual-link' 'INCLUDEPATH += /Users/administrator/vcpkg/installed/x64-osx/include /Users/administrator/vcpkg/installed/x64-osx/include/qt5' QMAKE_LIBS_PRIVATE+=/Users/administrator/vcpkg/installed/x64-osx/debug/lib/libbz2d.a 'QMAKE_LIBS_PRIVATE+=/Users/administrator/vcpkg/installed/x64-osx/debug/lib/libpng16d.a /Users/administrator/vcpkg/installed/x64-osx/debug/lib/libz.a' QMAKE_LIBS_PRIVATE+=/Users/administrator/vcpkg/installed/x64-osx/debug/lib/libzstd.a QMAKE_CC=cc QMAKE_CXX=c++ QMAKE_AR=ar QMAKE_RANLIB=ranlib QMAKE_STRIP=strip QMAKE_NM=nm QMAKE_RC= QMAKE_MT= QMAKE_AR+=qc QMAKE_LINK=c++ QMAKE_LINK_SHLIB=c++ QMAKE_LINK_C=cc QMAKE_LINK_C_SHLIB=cc 'QMAKE_CFLAGS_DEBUG+=-fPIC -g -isysroot "/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk" -arch x86_64 -mmacosx-version-min=12' 'QMAKE_CXXFLAGS_DEBUG+=-fPIC -g -isysroot "/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk" -arch x86_64 -mmacosx-version-min=12' 'QMAKE_LFLAGS+=-isysroot "/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk" -arch x86_64 -mmacosx-version-min=12' 'QMAKE_LFLAGS_SHLIB+=-isysroot "/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk" -arch x86_64 -mmacosx-version-min=12' 'QMAKE_LFLAGS_PLUGIN+=-isysroot "/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk" -arch x86_64 -mmacosx-version-min=12' /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/config.tests/verifyspec
Given that the -arch
option is only set in the debug compile flags, my best guess would be that this test is instead performed in release mode (or any other non-debug mode) and thus does not see this flag, making it default to the host architecture instead.
Now, I am not entirely sure whether these variables are something that vcpkg sets or whether they are set by qmake itself. If vcpkg sets these, maybe it would make sense to always set the arch option for debug and release builds. @Neumann-A do you happen to know more about where these variables are set and/or how one could influence what kind of variables are set?
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.
To the best of my knowledge this is still not fixed
Package: qt5-base:x64-osx -> 5.15.10#7
Host Environment
To Reproduce
vcpkg install qt5-base:x64-osx
Failure logs
/Users/administrator/vcpkg/buildtrees/qt5-base/config-x64-osx-dbg-out.log
``` Performing shadow build... Preparing build tree... Creating qmake... /Library/Developer/CommandLineTools/usr/bin/clang++ -c -o main.o -fconstant-cfstrings -MMD -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -std=c++11 -ffunction-sections -fdata-sections -g -g -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/library -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/3rdparty/tinycbor/src -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/unix -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/win32 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/mac -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10/QtCore -I../src/corelib/global -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/mkspecs/macx-clang -DQT_VERSION_STR=\"5.15.10\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=10 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/main.cpp /Library/Developer/CommandLineTools/usr/bin/clang++ -c -o meta.o -fconstant-cfstrings -MMD -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -std=c++11 -ffunction-sections -fdata-sections -g -g -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/library -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/3rdparty/tinycbor/src -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/unix -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/win32 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/mac -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10/QtCore -I../src/corelib/global -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/mkspecs/macx-clang -DQT_VERSION_STR=\"5.15.10\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=10 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/meta.cpp ... Skipped many lines … /Library/Developer/CommandLineTools/usr/bin/clang++ -c -o qcore_mac.o -fconstant-cfstrings -MMD -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -std=c++11 -ffunction-sections -fdata-sections -g -g -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/library -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/3rdparty/tinycbor/src -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/unix -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/win32 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/mac -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10/QtCore -I../src/corelib/global -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/mkspecs/macx-clang -DQT_VERSION_STR=\"5.15.10\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=10 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/corelib/kernel/qcore_mac.mm /Library/Developer/CommandLineTools/usr/bin/clang++ -c -o qoperatingsystemversion_darwin.o -fconstant-cfstrings -MMD -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -std=c++11 -ffunction-sections -fdata-sections -g -g -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/library -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/3rdparty/tinycbor/src -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/unix -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/win32 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/mac -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10/QtCore -I../src/corelib/global -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/mkspecs/macx-clang -DQT_VERSION_STR=\"5.15.10\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=10 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/corelib/global/qoperatingsystemversion_darwin.mm /Library/Developer/CommandLineTools/usr/bin/clang++ -c -o qcore_foundation.o -fconstant-cfstrings -MMD -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -std=c++11 -ffunction-sections -fdata-sections -g -g -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/library -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/3rdparty/tinycbor/src -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/unix -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/win32 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/mac -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10/QtCore -I../src/corelib/global -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/mkspecs/macx-clang -DQT_VERSION_STR=\"5.15.10\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=10 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/corelib/kernel/qcore_foundation.mm /Library/Developer/CommandLineTools/usr/bin/clang++ -c -o qlibraryinfo.o -fconstant-cfstrings -MMD -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -std=c++11 -ffunction-sections -fdata-sections -g -g -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/library -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/3rdparty/tinycbor/src -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/unix -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/win32 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/qmake/generators/mac -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10 -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/include/QtCore/5.15.10/QtCore -I../src/corelib/global -I/Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/mkspecs/macx-clang -DQT_VERSION_STR=\"5.15.10\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15 -DQT_VERSION_PATCH=10 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH -DQT_BUILD_QMAKE_BOOTSTRAP /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/corelib/global/qlibraryinfo.cpp /Library/Developer/CommandLineTools/usr/bin/clang++ -o "../bin/qmake" main.o meta.o option.o project.o property.o ioutils.o proitems.o qmakebuiltins.o qmakeevaluator.o qmakeglobals.o qmakeparser.o qmakevfs.o pbuilder_pbx.o makefile.o makefiledeps.o metamakefile.o projectgenerator.o unixmake2.o unixmake.o mingw_make.o msbuild_objectmodel.o msvc_nmake.o msvc_objectmodel.o msvc_vcproj.o msvc_vcxproj.o winmakefile.o xmloutput.o qutfcodec.o qendian.o qglobal.o qlogging.o qmalloc.o qnumeric.o qoperatingsystemversion.o qrandom.o qabstractfileengine.o qbuffer.o qdatastream.o qdebug.o qdir.o qdiriterator.o qfile.o qfiledevice.o qfileinfo.o qfilesystemengine.o qfilesystementry.o qfsfileengine.o qfsfileengine_iterator.o qiodevice.o qsettings.o qtemporaryfile.o qtextstream.o qcborstreamwriter.o qcborvalue.o qjsoncbor.o qjsonarray.o qjsondocument.o qjsonobject.o qjsonparser.o qjsonvalue.o qmetatype.o qsystemerror.o qvariant.o quuid.o qarraydata.o qbitarray.o qbytearray.o qbytearraylist.o qbytearraymatcher.o qcalendar.o qgregoriancalendar.o qromancalendar.o qcryptographichash.o qdatetime.o qhash.o qlist.o qlocale.o qlocale_tools.o qmap.o qregexp.o qringbuffer.o qstringbuilder.o qstring.o qstringlist.o qversionnumber.o qvsnprintf.o qxmlstream.o qxmlutils.o qcore_unix.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o qsettings_mac.o qcore_mac.o qoperatingsystemversion_darwin.o qcore_foundation.o qlibraryinfo.o -framework Foundation -framework CoreServices -framework ApplicationServices -stdlib=libc++ -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=12 -Wl,-dead_strip Info: creating cache file /Users/administrator/vcpkg/buildtrees/qt5-base/x64-osx-dbg/.qmake.cache Info: creating stash file /Users/administrator/vcpkg/buildtrees/qt5-base/x64-osx-dbg/.qmake.stash ```/Users/administrator/vcpkg/buildtrees/qt5-base/config-x64-osx-dbg-err.log
``` /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/corelib/global/qglobal.cpp:3080:56: warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations] io_service_t service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOPlatformExpertDevice")); ^~~~~~~~~~~~~~~~~~~~ kIOMainPortDefault /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOKitLib.h:133:19: note: 'kIOMasterPortDefault' has been explicitly marked deprecated here const mach_port_t kIOMasterPortDefault ^ 1 warning generated. /Users/administrator/vcpkg/buildtrees/qt5-base/src/5.15.10-f891c453fd.clean/src/corelib/io/qfilesystemengine_unix.cpp:161:92: warning: 'kUTTagClassFilenameExtension' is deprecated: first deprecated in macOS 12.0 - Use UTTagClassFilenameExtension instead. [-Wdeprecated-declarations] QCFType