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

ptest build to fail when QmlCompiler is used

    XMLWordPrintable

Details

    Description

      agent:2022/08/03 19:43:28 build.go:394: | /home/qt/work/build/build/tmp/work/cortexa57-poky-linux/qtdeclarative/6.5.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.3.0/ld.gold: error: /home/qt/work/build/build/tmp/work/cortexa57-poky-linux/qtdeclarative/6.5.0-r0/recipe-sysroot-native/usr/lib/libQt6QmlCompiler.so.6.5.0: incompatible target
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:118: error: undefined reference to 'QQmlJSLinter::lintFile(QString const&, QString const*, bool, QJsonArray*, QList<QString> const&, QList<QString> const&, QList<QString> const&, QList<QQmlJSLogger::Category> const&)'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/include/QtQmlCompiler/6.5.0/QtQmlCompiler/private/qqmljslogger_p.h:200: error: undefined reference to 'QColorOutput::~QColorOutput()'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:49: error: undefined reference to 'QQmlJSLinter::defaultPluginPath()'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:49: error: undefined reference to 'QQmlJSLinter::QQmlJSLinter(QList<QString> const&, QList<QString> const&, bool)'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:50: error: undefined reference to 'QQmlJSLogger::defaultCategories()'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/include/QtCore/qarraydatapointer.h:108: error: undefined reference to 'qmlDeferredPropertyId'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:58: error: undefined reference to 'qmlControlsSanity'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:58: error: undefined reference to 'qmlAttachedPropertyReuse'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:58: error: undefined reference to 'qmlDeferredPropertyId'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:58: error: undefined reference to 'qmlControlsSanity'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/src/debug/qtdeclarative/6.5.0-r0/git/tests/auto/quickcontrols2/sanity/tst_sanity.cpp:58: error: undefined reference to 'qmlAttachedPropertyReuse'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/include/c++/11.3.0/bits/stl_construct.h:151: error: undefined reference to 'QQmlJSLinter::Plugin::~Plugin()'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/include/c++/11.3.0/bits/stl_construct.h:151: error: undefined reference to 'QQmlJSLinter::Plugin::~Plugin()'
      agent:2022/08/03 19:43:28 build.go:394: | /usr/include/c++/11.3.0/bits/stl_construct.h:151: error: undefined reference to 'QQmlJSLinter::Plugin::~Plugin()'
      agent:2022/08/03 19:43:28 build.go:394: | collect2: error: ld returned 1 exit status
      

      Build log: https://testresults.qt.io/logs/yocto/meta-qt6/b30d140396f3e691a479151869d34f593efc2f56/LinuxUbuntu_20_04x86_64LinuxUbuntu_20_04target1Yoctoqtci-linux-Ubuntu-20.04-x86_64-50-8693bd/9bb2fc51df3235d019ddd5dc3f4e0b2a90605dad/build_1659507697/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/yocto/meta-qt6/tasks/1659507694

      Tested changes (refs/builds/qtci/dev/1659507692):
      https://codereview.qt-project.org/c/yocto/meta-qt6/+/424622/1 qtbase: update SDK patch to work with latest qtbase version
      https://codereview.qt-project.org/c/yocto/meta-qt6/+/424266/2 Update submodule refs on 'dev' in yocto/meta-qt6

      Attachments

        Issue Links

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

          Activity

            People

              janihe Jani Heikkinen
              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