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

qt/tqtc-qmlcompiler compilation failure during qt5.git integration in 'tqtc/5.10.1'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.10.1
    • 5.10.1
    • QML: Compiler
    • None

    Description

      Continuous Integration: Failed

      Running make failed. The CI rejected the staged commits due to the beforementioned reason. Possible reason could be a bug in one of the commits or some more recent change. Please investigate it.

      The error was in "qt/tqtc-qmlcompiler", revision: 4e05e09f19bac2901cb16bf1229e396930b831ee

      g++ -c -pipe -O2 -std=c+11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QMLDEVTOOLS_LIB -DQT_BOOTSTRAP_LIB -DQT_VERSION_STR='"5.10.1"' -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=10 -DQT_VERSION_PATCH=1 -DQT_BOOTSTRAPPED -DQT_NO_CAST_TO_ASCII -I. -I/home/qt/work/install/include -I/home/qt/work/install/include/QtQml -I/home/qt/work/install/include/QtQml/5.10.1 -I/home/qt/work/install/include/QtQml/5.10.1/QtQml -I/home/qt/work/install/include/QtCore -I/home/qt/work/install/include/QtCore/5.10.1 -I/home/qt/work/install/include/QtCore/5.10.1/QtCore -I/home/qt/work/install/include/QtXml -I/home/qt/work/install/include/QtXml/5.10.1 -I/home/qt/work/install/include/QtXml/5.10.1/QtXml -I/home/qt/work/install/mkspecs/linux-g+ -o .obj/jscompiler.o jscompiler.cpp
      jscompiler.cpp: In function ‘bool compileJavaScriptFile(QFile&, const QString&, const QString&, CompilationTarget, bool, const QString&)’:
      jscompiler.cpp:175:114: error: no matching function for call to ‘QQmlJS::Codegen::generateFromProgram(const QString&, QString&, QQmlJS::AST::Program*&, QV4::IR::Module*, QQmlJS::Codegen::CompilationMode)’
      In file included from /home/qt/work/install/include/QtQml/5.10.1/QtQml/private/qqmlirbuilder_p.h:58:0,
      from jscompiler.h:28,
      from jscompiler.cpp:21:
      /home/qt/work/install/include/QtQml/5.10.1/QtQml/private/qv4codegen_p.h:88:10: note: candidate: void QQmlJS::Codegen::generateFromProgram(const QString&, const QString&, const QString&, QQmlJS::AST::Program*, QV4::IR::Module*, QQmlJS::Codegen::CompilationMode, const QStringList&)
      /home/qt/work/install/include/QtQml/5.10.1/QtQml/private/qv4codegen_p.h:88:10: note: no known conversion for argument 3 from ‘QQmlJS::AST::Program*’ to ‘const QString&’
      qtquickcompiler.cpp: In function ‘bool compileQmlFile(QFile&, const QString&, const QString&, CompilationTarget, const QString&)’:
      qtquickcompiler.cpp:120:181: error: no matching function for call to ‘QmlIR::JSCodeGen::JSCodeGen(const QString&, QString&, QV4::IR::Module*, QQmlJS::Engine*, QQmlJS::AST::UiProgram*&, int, QV4::Compiler::StringTableGenerator*)’
      Makefile:1621: recipe for target '.obj/jscompiler.o' failed
      make[1]: *** [.obj/jscompiler.o] Error 1
      Makefile:1801: recipe for target '.obj/qtquickcompiler.o' failed
      make[1]: *** [.obj/qtquickcompiler.o] Error 1
      make: *** [sub-compiler-make_first-ordered] Error 2

      Build log: http://ci-files01-hki.intra.qt.io/cilogs/qt/tqtc-qmlcompiler/8b598f91ecdbe7f1bd0e8e6344eb89196478031d/LinuxUbuntu_16_04x86_64LinuxQEMUarmv7GCCqtci-linux-Ubuntu-16.04-x86_64-2-ca8448Release/ff7f2ff13bae58d68953e06a9f7e3006d838ad52/build_1517825545/log.txt.gz

      Details: http://ci-files01-hki.intra.qt.io:8080/coin/integration/qt/tqtc-qt5/tasks/1517810923

      Tested changes (refs/builds/qtci/tqtc/5.10.1/1517733807):
      https://codereview.qt-project.org/#/q/043b0ab0f188fbff4bc99ca9d7d9f6d5505e2608,n,z Merge remote-tracking branch 'origin/5.10.1' into tqtc/5.10.1

      Attachments

        Issue Links

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

          Activity

            People

              shausman Simon Hausmann
              janihe Jani Heikkinen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes