Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
5.15.11
-
None
-
macOS Venture 13.6
XCode 15.0 Version 15.0 (15A240d)
iphone SDK 17
Description
Trying to build QT 5.15.11 open source for IOS with xcode 15 fails during configure on a freshly extracted archive:
sudo ./configure -platform macx-ios-clang -opensource -confirm-license -skip qtwebengine -debug-and-release -nomake examples -nomake tests -no-openssl -securetransport -prefix /usr/local/Qt-5.15.11-IOSK
results in:
.In file included from /Users/Shared/Temp/QT-5.15.11K/qt-everywhere-src-5.15.11/qtbase/qmake/main.cpp:30:
In file included from /Users/Shared/Temp/QT-5.15.11K/qt-everywhere-src-5.15.11/qtbase/qmake/project.h:32:
In file included from /Users/Shared/Temp/QT-5.15.11K/qt-everywhere-src-5.15.11/qtbase/qmake/library/qmakeevaluator.h:36:
In file included from /Users/Shared/Temp/QT-5.15.11K/qt-everywhere-src-5.15.11/qtbase/qmake/library/qmakeparser.h:32:
In file included from /Users/Shared/Temp/QT-5.15.11K/qt-everywhere-src-5.15.11/qtbase/qmake/library/qmake_global.h:32:
In file included from ../include/QtCore/qglobal.h:1:
In file included from ../include/QtCore/../../src/corelib/global/qglobal.h:45:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/c++/v1/type_traits:538:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/c++/v1/cstdint:146:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/c++/v1/stdint.h:124:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/stdint.h:52:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/stdint.h:52:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/_types.h:32:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/cdefs.h:913:2: error: Unsupported architecture
#error Unsupported architecture
and subsequently
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
#error architecture not supported
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/stdint.h:52:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/types.h:55:9: error: unknown type name '_int64_t'
typedef __int64_t __darwin_blkcnt_t; /* total blocks */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/types.h:56:9: error: unknown type name '_int32_t'
typedef __int32_t __darwin_blksize_t; /* preferred block size */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/types.h:57:9: error: unknown type name '_int32_t'
typedef __int32_t __darwin_dev_t; /* dev_t */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/types.h:60:9: error: unknown type name '_uint32_t'
typedef _uint32_t _darwin_gid_t; /* [???] process and group IDs */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/types.h:61:9: error: unknown type name '_uint32_t'
typedef _uint32_t _darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/sys/types.h:62:9: error: unknown type name '_uint64_t'; did you mean 'uint64_t'?
typedef _uint64_t _darwin_ino64_t; /* [???] Used for 64 bit inodes */
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/usr/include/_types/_uint64_t.h:31:28: note: 'uint64_t' declared here
typedef unsigned long long uint64_t;
...
Tried
sudo ./configure -platform macx-ios-clang QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" -opensource -confirm-license -skip qtwebengine -debug-and-release -c+std c+14 -nomake examples -nomake tests -no-openssl -securetransport -sdk iphoneos -prefix /usr/local/Qt-5.15.11-IOSK
with the exact same results.
Any idea how to fix?
Attachments
Issue Links
- mentioned in
-
Page Loading...