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

qtapplicationmanager fails yocto / meta-qt6 CI with CMake errors

    XMLWordPrintable

Details

    • Linux/Yocto
    • ccbf2fa6f (dev), f4ad3d00c (6.9), 3feadcb30 (dev)

    Description

      latest meta-qt6 dev branch submodule update fails CI with lots of similar cmake errors for target not found, ending with following error:

      agent:2025/01/08 11:08:15 build.go:404: | CMake Error at /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtapplicationmanager/6.10.0/recipe-sysroot/usr/lib/cmake/Qt6/QtTargetHelpers.cmake:186 (target_link_libraries):
      agent:2025/01/08 11:08:15 build.go:404: |   Target "tst_controller-tool" links to:
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: |     Qt6::AppManMainPrivate
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: |   but the target was not found.  Possible reasons include:
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: |     * There is a typo in the target name.
      agent:2025/01/08 11:08:15 build.go:404: |     * A find_package call is missing for an IMPORTED target.
      agent:2025/01/08 11:08:15 build.go:404: |     * An ALIAS target is missing.
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: | Call Stack (most recent call first):
      agent:2025/01/08 11:08:15 build.go:404: |   /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtapplicationmanager/6.10.0/recipe-sysroot/usr/lib/cmake/Qt6/QtExecutableHelpers.cmake:157 (qt_internal_extend_target)
      agent:2025/01/08 11:08:15 build.go:404: |   /home/qt/work/build/build/tmp/work/core2-32-poky-linux/qtapplicationmanager/6.10.0/recipe-sysroot/usr/lib/cmake/Qt6/QtTestHelpers.cmake:535 (qt_internal_add_executable)
      agent:2025/01/08 11:08:15 build.go:404: |   tests/auto/controller-tool/CMakeLists.txt:2 (qt_internal_add_test)
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: | -- Generating done (0.7s)
      agent:2025/01/08 11:08:15 build.go:404: | CMake Warning:
      agent:2025/01/08 11:08:15 build.go:404: |   Manually-specified variables were not used by the project:
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: |     FEATURE_am_multi_process
      agent:2025/01/08 11:08:15 build.go:404: |     FEATURE_am_tools_only
      agent:2025/01/08 11:08:15 build.go:404: |     Python3_EXECUTABLE
      agent:2025/01/08 11:08:15 build.go:404: |     QT_APPMAN_SKIP_EXCLUDE_TOOLS_FROM_DEFAULT_TARGET
      agent:2025/01/08 11:08:15 build.go:404: |     __harfbuzz_broken_config_file
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: | 
      agent:2025/01/08 11:08:15 build.go:404: | CMake Generate step failed.  Build files cannot be regenerated correctly.
      agent:2025/01/08 11:08:15 build.go:404: | WARNING: exit code 1 from a shell command.
      agent:2025/01/08 11:08:15 build.go:404: NOTE: recipe qtapplicationmanager-6.10.0-r0: task do_install_ptest_base: Failed
      agent:2025/01/08 11:08:15 build.go:404: ERROR: Task (/home/qt/work/yocto/meta-qt6/recipes-qt/qt6/qtapplicationmanager_git.bb:do_install_ptest_base) failed with exit code '1'

      Build details:

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

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            gronoff Mikko Gronoff
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes