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

static build failure on QtMultimedia

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.2, 6.3
    • Fix Version/s: None
    • Component/s: Multimedia
    • Labels:
      None
    • Platform/s:
      Linux/Yocto

      Description

      Static build fails when compiled on Yocto:

      agent:2022/03/17 08:09:33 build.go:394: | CMake Error at /home/qt/work/build/build/tmp/work/cortexa57-poky-linux/qtmultimedia/6.3.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtPrlHelpers.cmake:115 (file):
      agent:2022/03/17 08:09:33 build.go:394: |   Error evaluating generator expression:
      agent:2022/03/17 08:09:33 build.go:394: | 
      agent:2022/03/17 08:09:33 build.go:394: |     $<TARGET_LINKER_FILE:GLIB2::GLIB2>
      agent:2022/03/17 08:09:33 build.go:394: | 
      agent:2022/03/17 08:09:33 build.go:394: |   No target "GLIB2::GLIB2"
      agent:2022/03/17 08:09:33 build.go:394: | Call Stack (most recent call first):
      agent:2022/03/17 08:09:33 build.go:394: |   /home/qt/work/build/build/tmp/work/cortexa57-poky-linux/qtmultimedia/6.3.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtModuleHelpers.cmake:822 (qt_generate_prl_file)
      agent:2022/03/17 08:09:33 build.go:394: |   /home/qt/work/build/build/tmp/work/cortexa57-poky-linux/qtmultimedia/6.3.0-r0/recipe-sysroot/usr/lib/cmake/Qt6/QtScopeFinalizerHelpers.cmake:21:EVAL:1 (qt_finalize_module)
      agent:2022/03/17 08:09:33 build.go:394: |   src/multimediaquick/CMakeLists.txt:DEFERRED 

      Removing following line from cmake/FindGObjects.cmake makes it compile correctly

      qt_internal_disable_find_package_global_promotion(GLIB2::GLIB2)  

      but that is needed in CI for static build on SUSE.

       

       

        Attachments

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

          Activity

            People

            Assignee:
            laknoll Lars Knoll
            Reporter:
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes