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

build error when building statically linked qt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.2.4
    • 6.2.3
    • Yocto: meta-qt6 layer
    • None
    • c800414eba7a0cdfe2eb399332d49ee60a69657a

    Description

      when trying to build an sdk with statically linked qt (via `PACKAGECONFIG += "static"`), i'm getting the build error:

      ERROR: qtbase-6.2.3-r0 do_package: QA Issue: qtbase: Files/directories were installed but not shipped in any package:
        /usr/lib/plugins/tls/objects-Release
        /usr/lib/plugins/tls/objects-Release/QTlsBackendCertOnlyPlugin_init
        /usr/lib/plugins/tls/objects-Release/QTlsBackendOpenSSLPlugin_init
        /usr/lib/plugins/tls/objects-Release/QTlsBackendCertOnlyPlugin_init/QTlsBackendCertOnlyPlugin_init.cpp.o
        /usr/lib/plugins/tls/objects-Release/QTlsBackendOpenSSLPlugin_init/QTlsBackendOpenSSLPlugin_init.cpp.o
        /usr/lib/plugins/platforms/objects-Release
        /usr/lib/plugins/platforms/objects-Release/QVncIntegrationPlugin_init
        /usr/lib/plugins/platforms/objects-Release/QEglFSIntegrationPlugin_init
        /usr/lib/plugins/platforms/objects-Release/QOffscreenIntegrationPlugin_init
        /usr/lib/plugins/platforms/objects-Release/QMinimalEglIntegrationPlugin_init
        /usr/lib/plugins/platforms/objects-Release/QMinimalIntegrationPlugin_init
        /usr/lib/plugins/platforms/objects-Release/QVncIntegrationPlugin_init/QVncIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/platforms/objects-Release/QEglFSIntegrationPlugin_init/QEglFSIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/platforms/objects-Release/QOffscreenIntegrationPlugin_init/QOffscreenIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/platforms/objects-Release/QMinimalEglIntegrationPlugin_init/QMinimalEglIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/platforms/objects-Release/QMinimalIntegrationPlugin_init/QMinimalIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/sqldrivers/objects-Release
        /usr/lib/plugins/sqldrivers/objects-Release/QSQLiteDriverPlugin_init
        /usr/lib/plugins/sqldrivers/objects-Release/QSQLiteDriverPlugin_init/QSQLiteDriverPlugin_init.cpp.o
        /usr/lib/plugins/egldeviceintegrations/objects-Release
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSVivIntegrationPlugin_init
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSKmsEglDeviceIntegrationPlugin_init
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSVivWaylandIntegrationPlugin_init
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSEmulatorIntegrationPlugin_init
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSKmsGbmIntegrationPlugin_init
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSVivIntegrationPlugin_init/QEglFSVivIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSKmsEglDeviceIntegrationPlugin_init/QEglFSKmsEglDeviceIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSVivWaylandIntegrationPlugin_init/QEglFSVivWaylandIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSEmulatorIntegrationPlugin_init/QEglFSEmulatorIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/egldeviceintegrations/objects-Release/QEglFSKmsGbmIntegrationPlugin_init/QEglFSKmsGbmIntegrationPlugin_init.cpp.o
        /usr/lib/plugins/generic/objects-Release
        /usr/lib/plugins/generic/objects-Release/QEvdevTouchScreenPlugin_init
        /usr/lib/plugins/generic/objects-Release/QEvdevTabletPlugin_init
        /usr/lib/plugins/generic/objects-Release/QEvdevMousePlugin_init
        /usr/lib/plugins/generic/objects-Release/QLibInputPlugin_init
        /usr/lib/plugins/generic/objects-Release/QTuioTouchPlugin_init
        /usr/lib/plugins/generic/objects-Release/QEvdevKeyboardPlugin_init
        /usr/lib/plugins/generic/objects-Release/QEvdevTouchScreenPlugin_init/QEvdevTouchScreenPlugin_init.cpp.o
        /usr/lib/plugins/generic/objects-Release/QEvdevTabletPlugin_init/QEvdevTabletPlugin_init.cpp.o
        /usr/lib/plugins/generic/objects-Release/QEvdevMousePlugin_init/QEvdevMousePlugin_init.cpp.o
        /usr/lib/plugins/generic/objects-Release/QLibInputPlugin_init/QLibInputPlugin_init.cpp.o
        /usr/lib/plugins/generic/objects-Release/QTuioTouchPlugin_init/QTuioTouchPlugin_init.cpp.o
        /usr/lib/plugins/generic/objects-Release/QEvdevKeyboardPlugin_init/QEvdevKeyboardPlugin_init.cpp.o
        /usr/lib/plugins/imageformats/objects-Release
        /usr/lib/plugins/imageformats/objects-Release/QICOPlugin_init
        /usr/lib/plugins/imageformats/objects-Release/QJpegPlugin_init
        /usr/lib/plugins/imageformats/objects-Release/QGifPlugin_init
        /usr/lib/plugins/imageformats/objects-Release/QICOPlugin_init/QICOPlugin_init.cpp.o
        /usr/lib/plugins/imageformats/objects-Release/QJpegPlugin_init/QJpegPlugin_init.cpp.o
        /usr/lib/plugins/imageformats/objects-Release/QGifPlugin_init/QGifPlugin_init.cpp.o
      Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
      qtbase: 50 installed and not shipped files. [installed-vs-shipped]
      ERROR: qtbase-6.2.3-r0 do_package: Fatal QA errors found, failing task.
      

      it seems that https://code.qt.io/cgit/yocto/meta-qt6.git/commit/?id=3ab9b0a4b21 deals with qml plugins, but maybe something similar has to be done for other qt plugins as well?

      Attachments

        Issue Links

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

          Activity

            People

              sapiippo Samuli Piippo
              timblechmann tim blechmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes