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

[REG 6.6.0 beta2->beta3] Qt source not compiling on macOS, declarative/webchannel?

    XMLWordPrintable

Details

    • macOS
    • d7a373305 (dev), 5699b77aa (6.6)

    Description

      Download and extract Qt source archive on macOS (sha1 59da1f0dfe80e0c1198c5549f7b8fcd3b68ebbf), configure:

      cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 -DQT_BUILD_EXAMPLES=FALSE -DCMAKE_BUILD_TYPE=Release -DINPUT_separate_debug_info=no -DFEATURE_headersclean=ON -DFEATURE_framework=ON -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT=/Applications/Postgres.app/Contents/Versions/14/bin/.. -DOPENSSL_ROOT_DIR=/usr/local/openssl-1.1.1k -DQT_BUILD_TESTS=OFF -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -G Ninja /Users/qt/RTA/src-6.6.0 -DCMAKE_INSTALL_PREFIX:PATH=/Users/qt/RTA/src-6.6.0/qtbase 

      Finishes fine, compile: cmake --build . --parallel

      Fails:

      [5958/17869] headersclean: Checking header qtdeclarative/src/qmlcompiler/qqmljsloggingutils.h
      FAILED: qtdeclarative/src/qmlcompiler/header_check/qqmljsloggingutils.h.o /Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/header_check/qqmljsloggingutils.h.o 
       cd /Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/header_check && /Applications/CMake.app/Contents/bin/cmake -DINPUT_HEADER_FILE=/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/qqmljsloggingutils.h -DOUTPUT_ARTIFACT=/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/header_check/qqmljsloggingutils.h.o -DPARAMETERS=/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/QmlCompilerPrivateHeadersCheckParameters.cmake -P /Users/qt/RTA/src-6.6.0/qtbase/cmake/QtModuleHeadersCheck.cmake
       CMake Error at /Users/qt/RTA/src-6.6.0/qtbase/cmake/QtModuleHeadersCheck.cmake:30 (message):
         /Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/qqmljsloggingutils.h
         header check failed:
         /usr/bin/clang++;-c;-isysroot;/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk;-DQT_LEAN_HEADERS=1;-DQT_NO_AS_CONST=1;-DQT_NO_CAST_TO_ASCII;-DQT_ASCII_CAST_WARNINGS;-DQT_MOC_COMPAT;-DQT_USE_QSTRINGBUILDER;-DQT_DEPRECATED_WARNINGS;-DQT_BUILDING_QT;-DQT_BUILD_QMLCOMPILER_LIB;-DQT_DISABLE_DEPRECATED_UP_TO=0x050000;-DQT_WARN_DEPRECATED_UP_TO=0x070000;-DQT_NO_EXCEPTIONS;-DQT_CORE_LIB;-DQT_QML_LIB;-DQT_QMLINTEGRATION_LIB;-DQT_NETWORK_LIB;-DQT_NO_JAVA_STYLE_ITERATORS;-DQT_NO_AS_CONST;-DQT_NO_QEXCHANGE;-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT;-DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH;-D_LARGEFILE64_SOURCE;-D_LARGEFILE_SOURCE;-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT;-DQT_NO_DEBUG;-DGL_SILENCE_DEPRECATION;-Wall;-Wextra;-Werror;-Woverloaded-virtual;-Wshadow;-Wundef;-Wfloat-equal;-Wnon-virtual-dtor;-Wpointer-arith;-Wformat-security;-Wno-long-long;-Wno-variadic-macros;-fno-operator-names;-pedantic-errors;-Wchar-subscripts;-Wold-style-cast;-Wcast-align;-Wshorten-64-to-32;-std=c++2a;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/QmlCompilerPrivate_autogen/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQmlCompiler;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtQmlCompiler.framework/Headers;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQmlCompiler/6.6.0;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQmlCompiler/6.6.0/QtQmlCompiler;-I/Users/qt/RTA/src-6.6.0/qtbase/src/corelib;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtCore/6.6.0;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtCore/6.6.0/QtCore;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtCore;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtCore.framework/Headers;-I/Users/qt/RTA/src-6.6.0/qtbase/mkspecs/macx-clang;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qml;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQml/6.6.0;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQml/6.6.0/QtQml;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQml;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtQml.framework/Headers;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQmlIntegration;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlintegration;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlintegration;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtNetwork;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtNetwork.framework/Headers;-iframework;/Users/qt/RTA/src-6.6.0/qtbase/lib;-DQT_NO_CAST_TO_ASCII;-DQT_NO_CAST_FROM_ASCII;-DQT_NO_URL_CAST_FROM_STRING;-DQT_NO_CAST_FROM_BYTEARRAY;-DQT_NO_KEYWORDS;-DQT_TYPESAFE_FLAGS;-DQT_USE_QSTRINGBUILDER;-DQT_USE_FAST_OPERATOR_PLUS;-xc++;/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/qqmljsloggingutils.h;-o;/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/header_check/qqmljsloggingutils.h.o
       /Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/qqmljsloggingutils.h:7:10: fatal error: 'QtCore/QFileInfo' file not found
         #include <QtCore/QFileInfo>
                  ^~~~~~~~~~~~~~~~~~
         /Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlcompiler/qqmljsloggingutils.h:7:10:
         note: did not find header 'QFileInfo' in framework 'QtCore' (loaded from
         '/Users/qt/RTA/src-6.6.0/qtbase/lib')
         1 error generated.
      [5959/17869] headersclean: Checking header qtwebchannel/src/webchannelquick/qqmlwebchannel.h
      FAILED: qtwebchannel/src/webchannelquick/header_check/qqmlwebchannel.h.o /Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/header_check/qqmlwebchannel.h.o 
       cd /Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick && /Applications/CMake.app/Contents/bin/cmake -E make_directory /Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/header_check && /Applications/CMake.app/Contents/bin/cmake -DINPUT_HEADER_FILE=/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/qqmlwebchannel.h -DOUTPUT_ARTIFACT=/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/header_check/qqmlwebchannel.h.o -DPARAMETERS=/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/WebChannelQuickHeadersCheckParameters.cmake -P /Users/qt/RTA/src-6.6.0/qtbase/cmake/QtModuleHeadersCheck.cmake
       CMake Error at /Users/qt/RTA/src-6.6.0/qtbase/cmake/QtModuleHeadersCheck.cmake:30 (message):
         /Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/qqmlwebchannel.h
         header check failed:
         /usr/bin/clang++;-c;-isysroot;/Applications/Xcode13.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk;-DQT_NO_AS_CONST=1;-DQT_NO_CAST_TO_ASCII;-DQT_ASCII_CAST_WARNINGS;-DQT_MOC_COMPAT;-DQT_USE_QSTRINGBUILDER;-DQT_DEPRECATED_WARNINGS;-DQT_BUILDING_QT;-DQT_BUILD_WEBCHANNELQUICK_LIB;-DQT_DISABLE_DEPRECATED_UP_TO=0x050000;-DQT_WARN_DEPRECATED_UP_TO=0x070000;-DQT_NO_EXCEPTIONS;-DQT_WEBCHANNEL_LIB;-DQT_QML_LIB;-DQT_CORE_LIB;-DQT_QMLINTEGRATION_LIB;-DQT_NETWORK_LIB;-DQT_NO_JAVA_STYLE_ITERATORS;-DQT_NO_AS_CONST;-DQT_NO_QEXCHANGE;-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT;-DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH;-D_LARGEFILE64_SOURCE;-D_LARGEFILE_SOURCE;-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT;-DQT_NO_DEBUG;-DGL_SILENCE_DEPRECATION;-Wall;-Wextra;-Werror;-Woverloaded-virtual;-Wshadow;-Wundef;-Wfloat-equal;-Wnon-virtual-dtor;-Wpointer-arith;-Wformat-security;-Wno-long-long;-Wno-variadic-macros;-fno-operator-names;-pedantic-errors;-Wchar-subscripts;-Wold-style-cast;-Wcast-align;-Wshorten-64-to-32;-std=c++2a;-I/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/WebChannelQuick_autogen/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtWebChannelQuick;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtWebChannelQuick.framework/Headers;-I/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick;-I/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtWebChannelQuick/6.6.0;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtWebChannelQuick/6.6.0/QtWebChannelQuick;-I/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qml;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQml/6.6.0;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQml/6.6.0/QtQml;-I/Users/qt/RTA/src-6.6.0/qtbase/src/corelib;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtCore/6.6.0;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtCore/6.6.0/QtCore;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtCore;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtCore.framework/Headers;-I/Users/qt/RTA/src-6.6.0/qtbase/mkspecs/macx-clang;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQml;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtQml.framework/Headers;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtQmlIntegration;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlintegration;-I/Users/qt/RTA/src-6.6.0/qtdeclarative/src/qmlintegration;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtNetwork;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtNetwork.framework/Headers;-I/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannel;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtWebChannel/6.6.0;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtWebChannel/6.6.0/QtWebChannel;-I/Users/qt/RTA/src-6.6.0/qtbase/include;-I/Users/qt/RTA/src-6.6.0/qtbase/include/QtWebChannel;-I/Users/qt/RTA/src-6.6.0/qtbase/lib/QtWebChannel.framework/Headers;-iframework;/Users/qt/RTA/src-6.6.0/qtbase/lib;-DQT_NO_CAST_TO_ASCII;-DQT_NO_CAST_FROM_ASCII;-DQT_NO_URL_CAST_FROM_STRING;-DQT_NO_CAST_FROM_BYTEARRAY;-DQT_NO_KEYWORDS;-DQT_TYPESAFE_FLAGS;-DQT_USE_QSTRINGBUILDER;-DQT_USE_FAST_OPERATOR_PLUS;-xc++;/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/qqmlwebchannel.h;-o;/Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/header_check/qqmlwebchannel.h.o
          In file included from /Users/qt/RTA/src-6.6.0/qtwebchannel/src/webchannelquick/qqmlwebchannel.h:9:
         /Users/qt/RTA/src-6.6.0/qtbase/lib/QtWebChannel.framework/Headers/qwebchannel.h:8:10:
      fatal error: 'QtCore/QObject' file not found
         #include <QtCore/QObject>
                  ^~~~~~~~~~~~~~~~
         /Users/qt/RTA/src-6.6.0/qtbase/lib/QtWebChannel.framework/Headers/qwebchannel.h:8:10:
         note: did not find header 'QObject' in framework 'QtCore' (loaded from
         '/Users/qt/RTA/src-6.6.0/qtbase/lib')
         1 error generated. 

      Longer log attached, full log will be available later.

      Build was unstable with beta2, but it did pass with re-tries, now with beta3 it's not passing.

      Attachments

        1. 660_macos.txt
          108 kB
        2. 660_macos_config.summary
          19 kB
        3. 660_macos_build_log.7z
          42 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes