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

Regression of Qt 6.5.3 over 6.5.2: Build fails on MacOS (Xcode 14.2) with error from AutoMoc in `concept`

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.5.3
    • Build tools: moc
    • None
    • macOS

    Description

      I'm using Xcode 14.2 Build version 14C18. The build worked for Qt 6.5.2 but fails for Qt 6.5.3.

      Output
      ------
      Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/concept:318:1: error: Parse error at "::"
      AutoMoc subprocess error
      ------------------------
      The moc process failed to compile
        "SRC:/qtbase/src/corelib/animation/qabstractanimation.h"
      into
        "BIN:/qtbase/src/corelib/Core_autogen/include/moc_qabstractanimation.cpp"
      included by
        "SRC:/qtbase/src/corelib/animation/qabstractanimation.cpp"
      Process failed with return value 1
      Command
      -------
      /System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/libexec/moc "-DBACKTRACE_HEADER=\"execinfo.h\"" -DCore_EXPORTS -DGL_SILENCE_DEPRECATION -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_USING_NAMESPACE -DQT_TYPESAFE_FLAGS -DQT_USE_QSTRINGBUILDER -DQT_WARN_DEPRECATED_UP_TO=0x070000 -D_DARWIN_C_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/include -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/include/QtCore -I/Users/bdaci01/builds/nK4EB_yB/0/BioDataAnalysis/qt/qtbase/src/corelib -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/src/corelib -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/src/corelib/global -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/src/corelib/kernel -I/Users/bdaci01/builds/nK4EB_yB/0/BioDataAnalysis/qt/qtbase/src/3rdparty/tinycbor/src -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/include/QtCore/6.5.3 -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/include/QtCore/6.5.3/QtCore -I/Users/bdaci01/builds/nK4EB_yB/0/BioDataAnalysis/qt/qtbase/src/3rdparty/forkfd -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/src/corelib/.rcc -I/Users/bdaci01/builds/nK4EB_yB/0/BioDataAnalysis/qt/qtbase/mkspecs/macx-clang -I/System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-dst-m1015Iv64c1400/Debug/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/c++/v1 -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include --include /System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/src/corelib/Core_autogen/moc_predefs.h --output-json --output-dep-file -o /System/Volumes/Data/data/bdaci01/BioDataAnalysis/ci-tmp-m1015Iv64c1400/Debug/qt/qtbase/src/corelib/Core_autogen/include/moc_qabstractanimation.cpp /Users/bdaci01/builds/nK4EB_yB/0/BioDataAnalysis/qt/qtbase/src/corelib/animation/qabstractanimation.h
      

      Attachments

        1. logs_389.zip
          93 kB
        2. QTBUG-118086.zip
          10.22 MB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtbuildsystem Qt Build System Team
              emmenlau Mario Emmenlauer
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes