Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-58440

iOS build failed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.9.0 Alpha
    • Fix Version/s: 5.9.0 Alpha
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS
    • Commits:
      ad4f7b59ead6c4eb17e787bce25a7211b866063f

      Description

      https://codereview.qt-project.org/#/c/183516/
      http://testresults.qt.io/coin/integration/qt/qt5/tasks/1485418340
      http://testresults.qt.io/logs/qt/qtbase/916854b706b9b057fa1483f76dd48998a8aa28a0/OSXOSX_10_10x86_64IOSIOS_ANYmultiClangqtci-osx-10.10-x86_64-10f9f6DebugAndRelease_DisableTests_Static/85d6b000f945a84bc84a4f01f53ac65bc05cbe86/buildlog.txt.gz

      /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Debug all
      In file included from src/pcre2_auto_possess.c:50:
      In file included from src/pcre2_internal.h:53:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/ctype.h:69:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/cdefs.h:707:2: error: Unsupported architecture
      #error Unsupported architecture
       ^
      In file included from src/pcre2_auto_possess.c:50:
      In file included from src/pcre2_internal.h:53:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/ctype.h:70:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/runetype.h:42:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/_types.h:27:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:33:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
      #error architecture not supported
       ^
      In file included from src/pcre2_auto_possess.c:50:
      In file included from src/pcre2_internal.h:53:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/ctype.h:70:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/runetype.h:42:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/_types.h:27:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.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/iPhoneOS9.2.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/iPhoneOS9.2.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/iPhoneOS9.2.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/iPhoneOS9.2.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/iPhoneOS9.2.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
      typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -pipe -g -fPIC  -arch armv7  -arch arm64  -arch i386  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -mios-simulator-version-min=8.0 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -fvisibility=hidden -w -fno-exceptions -fembed-bitcode-marker -DQT_COMPILER_SUPPORTS_SSE2 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DPNG_ARM_NEON_OPT=0 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -I../../../mkspecs/common/uikit -I. -I../../../mkspecs/macx-ios-clang -o .obj/debug/png.o png.c
      typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'
      typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
      typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'
      typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'
      typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'
      typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'
      typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'
      typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
              ^
      In file included from src/pcre2_auto_possess.c:50:
      In file included from src/pcre2_internal.h:53:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/ctype.h:70:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/runetype.h:46:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types/_size_t.h:30:9: error: unknown type name '__darwin_size_t'; did you mean '__darwin_ino_t'?
      typedef __darwin_size_t        size_t; 
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types.h:64:26: note: '__darwin_ino_t' declared here
      typedef __darwin_ino64_t __darwin_ino_t;        /* [???] Used for inodes */
                               ^
      In file included from src/pcre2_auto_possess.c:50:
      In file included from src/pcre2_internal.h:53:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/ctype.h:70:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/runetype.h:47:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types/_ct_rune_t.h:31:9: error: unknown type name '__darwin_ct_rune_t'; did you mean '__darwin_wctrans_t'?
      typedef __darwin_ct_rune_t ct_rune_t;
              ^
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/_types.h:40:14: note: '__darwin_wctrans_t' declared here
      typedef int             __darwin_wctrans_t;
                              ^
      In file included from src/pcre2_auto_possess.c:50:
      In file included from src/pcre2_internal.h:53:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/ctype.h:70:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/runetype.h:48:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/usr/include/sys/_types/_rune_t.h:30:9: error: unknown type name '__darwin_rune_t'
      typedef __darwin_rune_t rune_t; 
              ^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      20 errors generated.
      make[3]: *** [.obj/debug/pcre2_auto_possess.o] Error 1
      make[2]: *** [debug-all] Error 2
      make[1]: *** [sub-3rdparty-pcre2-make_first] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

        Attachments

        For Gerrit Dashboard: QTBUG-58440
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes