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

Qt Wayland Client requires QtGui to be build with support for wayland

    XMLWordPrintable

Details

    • Linux/Yocto
    • 9848b60e6 (dev), 7ad64d431 (6.7), 312b107ae (6.6), 1c26dc472 (tqtc/lts-6.5), 86c9f944a (dev), f938dfcd1 (6.7), 110dbecee (dev), cce2d2431 (tqtc/lts-6.5), cdb8b4f82 (6.7), 87181b89b (dev), 1852ca534 (6.7)

    Description

      Setup meta-qt6/dev with master and run: bitbake -k world ( or maybe bitbake qtwayland )
      Be sure that wayland is not in your list of DISTRO_FEATURES

       

      Expectation, qtwayland is not built.
      Observation: qtwayland configure fails with:

      ERROR: qtwayland-6.8.0-r0 do_configure: ExecutionError('/.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/temp/run.do_configure.2326497', 1, None, None)
      ERROR: Logfile of failure stored in: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/temp/log.do_configure.2326497
      Log data follows:
      | DEBUG: Executing python function extend_recipe_sysroot
      | NOTE: Direct dependencies are ['/.../layers/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_populate_sysroot', '/.../layers/meta-qt6/recipes-qt/qt6/qtdeclarative_git.bb:do_populate_sysroot', '/.../layers/oe-core/meta/recipes-core/glibc/glibc_2.38.bb:do_populate_sysroot', '/.../layers/oe-core/meta/recipes-devtools/cmake/cmake-native_3.27.7.bb:do_populate_sysroot', '/.../layers/oe-core/meta/recipes-devtools/gcc/gcc-cross_13.2.bb:do_populate_sysroot', '/.../layers/oe-core/meta/recipes-devtools/gcc/gcc-runtime_13.2.bb:do_populate_sysroot', '/.../layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/.../layers/oe-core/meta/recipes-graphics/wayland/wayland_1.22.0.bb:do_populate_sysroot', 'virtual:native:/.../layers/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_populate_sysroot', 'virtual:native:/.../layers/meta-qt6/recipes-qt/qt6/qtwayland_git.bb:do_populate_sysroot', 'virtual:native:/.../layers/oe-core/meta/recipes-devtools/ninja/ninja_1.11.1.bb:do_populate_sysroot', 'virtual:native:/.../layers/oe-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/.../layers/oe-core/meta/recipes-devtools/perl/perl_5.38.0.bb:do_populate_sysroot', 'virtual:native:/.../layers/oe-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/.../layers/oe-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/.../layers/oe-core/meta/recipes-devtools/python/python3_3.11.5.bb:do_populate_sysroot', 'virtual:native:/.../layers/oe-core/meta/recipes-graphics/wayland/wayland_1.22.0.bb:do_populate_sysroot']
      | NOTE: Installed into sysroot: []
      | NOTE: Skipping as already exists in sysroot: ['qtbase', 'qtdeclarative', 'qtlanguageserver', 'qtshadertools', 'qtsvg', 'openssl', 'base-files', 'base-passwd', 'dbus', 'expat', 'gettext-minimal-native', 'glib-2.0', 'glibc', 'libxcrypt', 'libxml2', 'ncurses', 'systemd', 'util-linux-libuuid', 'util-linux', 'zlib', 'binutils-cross-x86_64', 'cmake-native', 'gcc-cross-x86_64', 'gcc-runtime', 'libgcc', 'libedit', 'libtool-native', 'm4-native', 'opkg-utils', 'python3', 'quilt-native', 'bzip2', 'cracklib', 'libnsl2', 'libtirpc', 'libpam', 'shadow-sysroot', 'shadow', 'texinfo-dummy-native', 'xz', 'zstd', 'gobject-introspection', 'cairo', 'fontconfig', 'freetype', 'harfbuzz', 'libjpeg-turbo', 'libinput', 'mtdev', 'wayland', 'libxkbcommon', 'pixman', 'kmod', 'linux-libc-headers', 'libpng', 'acl', 'attr', 'bash-completion', 'gdbm', 'icu', 'libcap-ng', 'libcap', 'libcheck', 'libevdev', 'libffi', 'libpcre2', 'libseccomp', 'sqlite3', 'qtbase-native', 'qtdeclarative-native', 'qtlanguageserver-native', 'qtshadertools-native', 'qtsvg-native', 'qtwayland-native', 'openssl-native', 'dbus-native', 'expat-native', 'gettext-native', 'glib-2.0-native', 'libxml2-native', 'ncurses-native', 'util-linux-libuuid-native', 'util-linux-native', 'zlib-native', 'flex-native', 'gnu-config-native', 'libedit-native', 'make-native', 'ninja-native', 'patch-native', 'patchelf-native', 'perl-native', 'pkgconfig-native', 'pseudo-native', 'python3-native', 'bzip2-native', 'libnsl2-native', 'libtirpc-native', 'shadow-native', 'xz-native', 'zstd-native', 'freetype-native', 'libjpeg-turbo-native', 'spirv-headers-native', 'spirv-tools-native', 'wayland-native', 'libpng-native', 'attr-native', 'gdbm-native', 'gmp-native', 'libcap-ng-native', 'libffi-native', 'libmpc-native', 'libpcre2-native', 'mpfr-native', 're2c-native', 'sqlite3-native']
      | DEBUG: Python function extend_recipe_sysroot finished
      | DEBUG: Executing shell function do_configure
      | -- The CXX compiler identification is GNU 13.2.0
      | -- The C compiler identification is GNU 13.2.0
      | -- Detecting CXX compiler ABI info
      | -- Detecting CXX compiler ABI info - done
      | -- Check for working CXX compiler: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-g++ - skipped
      | -- Detecting CXX compile features
      | -- Detecting CXX compile features - done
      | -- Detecting C compiler ABI info
      | -- Detecting C compiler ABI info - done
      | -- Check for working C compiler: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-gcc - skipped
      | -- Detecting C compile features
      | -- Detecting C compile features - done
      | -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      | -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      | -- Found Threads: TRUE
      | -- Performing Test HAVE_STDATOMIC
      | -- Performing Test HAVE_STDATOMIC - Success
      | -- Found WrapAtomic: TRUE
      | -- CMAKE_BUILD_TYPE was set to: 'Release'
      | -- Checking for feature set changes
      | -- CMAKE_STRIP (original): /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux/x86_64-wrs-linux-strip
      | -- Performing Test strip --keep-section
      | -- Performing Test strip --keep-section - TRUE
      | -- CMAKE_STRIP (used by Qt): /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/build/libexec/qt-internal-strip
      | -- Found WaylandScanner: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot-native/usr/bin/wayland-scanner
      | -- Found Wayland_Client: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-client.so (found version "1.22.0")
      | -- Found Wayland_Server: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-server.so (found version "1.22.0")
      | -- Found Wayland_Cursor: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-cursor.so (found version "1.22.0")
      | -- Found Wayland_Egl: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-egl.so (found version "18.1.0")
      | -- Found Wayland: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-client.so;/.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-server.so;/.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-cursor.so;/.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-egl.so (found suitable version "1.22.0", minimum required is "1.15")
      | qt_extend_target(WaylandGlobalPrivate CONDITION ON ...): Evaluated
      | -- Found Wayland: /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-client.so;/.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-server.so;/.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-cursor.so;/.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/libwayland-egl.so (found version "1.22.0")
      | -- Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
      | -- Performing Test HAVE_EGL
      | -- Performing Test HAVE_EGL - Failed
      | -- Could NOT find EGL (missing: EGL_INCLUDE_DIR HAVE_EGL EGL_LIBRARY)
      | -- Could NOT find Libdrm (missing: Libdrm_LIBRARY Libdrm_INCLUDE_DIR)
      | -- Performing Test DRM EGL Server - Failed because EGL::EGL not found
      | -- Performing Test libhybris EGL Server - Failed because EGL::EGL not found
      | -- Performing Test Linux dma-buf Buffer Sharing - Failed because EGL::EGL not found
      | -- Performing Test HAVE_vulkan_server_buffer
      | -- Performing Test HAVE_vulkan_server_buffer - Failed
      | -- Performing Test EGL 1.5 with Wayland Platform - Failed because EGL::EGL not found
      | qt_extend_target(WaylandGlobalPrivate CONDITION ON ...): Evaluated
      | -- Searching for tool 'Qt6::qtwaylandscanner' in package Qt6WaylandScannerTools.
      | -- Qt6::qtwaylandscanner was found at /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot-native/usr/libexec/qtwaylandscanner using package Qt6WaylandScannerTools.
      | qt_extend_target(WaylandClient CONDITION ON ...): Evaluated
      | -- Could NOT find Libdrm (missing: Libdrm_LIBRARY Libdrm_INCLUDE_DIR)
      | qt_extend_target(WaylandClient CONDITION ON ...): Evaluated
      | -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS
      | -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS - Success
      | -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED
      | -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED - Success
      | qt_extend_target(WaylandClient CONDITION QT_FEATURE_tabletevent ...): Evaluated
      | qt_extend_target(WaylandClient CONDITION QT_FEATURE_clipboard ...): Evaluated
      | qt_extend_target(WaylandClient CONDITION QT_FEATURE_vulkan ...): Skipped
      | qt_extend_target(WaylandClient CONDITION QT_FEATURE_cursor ...): Evaluated
      | qt_extend_target(WaylandClient CONDITION QT_FEATURE_wayland_datadevice ...): Evaluated
      | qt_extend_target(WaylandClient CONDITION QT_FEATURE_wayland_client_primary_selection ...): Evaluated
      | qt_extend_target(WaylandClient CONDITION QT_FEATURE_draganddrop ...): Evaluated
      | qt_extend_target(WaylandCompositor CONDITION ON ...): Evaluated
      | -- Checking for module 'wayland-kms'
      | --   No package 'wayland-kms' found
      | -- Could NOT find Libdrm (missing: Libdrm_LIBRARY Libdrm_INCLUDE_DIR)
      | -- Performing Test Linux Client dma-buf Buffer Sharing - Failed because EGL::EGL not found
      | qt_extend_target(WaylandCompositor CONDITION ON ...): Evaluated
      | qt_extend_target(WaylandCompositor CONDITION QT_FEATURE_opengl ...): Skipped
      | qt_extend_target(WaylandCompositor CONDITION TARGET;Qt::Quick ...): Evaluated
      | qt_extend_target(WaylandCompositor CONDITION QT_FEATURE_wayland_compositor_quick ...): Evaluated
      | qt_extend_target(WaylandCompositor CONDITION QT_FEATURE_wayland_datadevice ...): Evaluated
      | qt_extend_target(WaylandCompositor CONDITION QT_FEATURE_im ...): Evaluated
      | qt_extend_target(WaylandCompositor CONDITION QT_FEATURE_draganddrop ...): Evaluated
      | qt_extend_target(WaylandCompositor CONDITION QT_FEATURE_opengl;AND;QT_FEATURE_wayland_compositor_quick ...): Skipped
      | qt_extend_target(qwaylandcompositorplugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandIntegrationPlugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandBradientDecorationPlugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandFullScreenShellV1IntegrationPlugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandIviShellIntegrationPlugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandIviShellIntegrationPlugin CONDITION QT_FEATURE_xkbcommon ...): Evaluated
      | qt_extend_target(WlShellIntegrationPrivate CONDITION ON ...): Evaluated
      | qt_extend_target(WlShellIntegrationPrivate CONDITION QT_FEATURE_xkbcommon ...): Evaluated
      | qt_extend_target(QWaylandWlShellIntegrationPlugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandXdgShellIntegrationPlugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandXdgShellIntegrationPlugin CONDITION QT_FEATURE_xkbcommon ...): Evaluated
      | qt_extend_target(QWaylandQtShellIntegrationPlugin CONDITION ON ...): Evaluated
      | qt_extend_target(QWaylandQtShellIntegrationPlugin CONDITION QT_FEATURE_xkbcommon ...): Evaluated
      | qt_extend_target(WaylandCompositorXdgShell CONDITION ON ...): Evaluated
      | qt_extend_target(WaylandCompositorIviapplication CONDITION ON ...): Evaluated
      | qt_extend_target(WaylandCompositorWLShell CONDITION ON ...): Evaluated
      | qt_extend_target(WaylandCompositorQtShell CONDITION ON ...): Evaluated
      | qt_extend_target(WaylandCompositorPresentationTime CONDITION ON ...): Evaluated
      | -- Generated QtModulePlugins.cmake files for the following modules: WaylandClient
      | -- The following packages have been found:
      | 
      |  * Qt6BuildInternals (required version >= 6.8.0)
      |  * Qt6CoreTools (required version >= 6.8.0)
      |  * Qt6Core (required version >= 6.8.0)
      |  * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
      |  * Qt6DBusTools (required version >= 6.8.0)
      |  * Qt6Gui (required version >= 6.8.0)
      |  * Qt6QuickTools (required version >= 6.8.0)
      |  * Qt6QmlTools (required version >= 6.8.0)
      |  * Qt6Quick (required version >= 6.8.0)
      |  * Qt6 (required version >= 6.8.0)
      |  * Qt6HostInfo
      |  * WaylandScanner, Executable that converts XML protocol files to C code, <https://wayland.freedesktop.org/>
      |  * Wayland, C library implementation of the Wayland protocol: a protocol for a compositor to talk to its clients, <http://wayland.freedesktop.org>
      |  * Qt6WaylandScannerTools (required version >= 6.8.0)
      |  * PkgConfig
      | 
      | -- The following OPTIONAL packages have not been found:
      | 
      |  * Qt6OpenGL (required version >= 6.8.0)
      |  * Qt6QmlCompilerPlusPrivate
      |  * X11
      |  * EGL, A platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES and OpenVG., <https://www.khronos.org/egl/>
      |  * Waylandkms
      |  * Libdrm, Userspace interface to kernel DRM services., <https://wiki.freedesktop.org/dri/>
      | 
      | 
      | -- Configuration summary shown below. It has also been written to /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/build/config.summary
      | -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
      | 
      | -- Configure summary:
      | 
      | Qt Wayland Client ........................ yes
      | Qt Wayland Compositor .................... yes
      | Qt Wayland Drivers:
      |   EGL .................................... no
      |   Raspberry Pi ........................... no
      |   DRM EGL ................................ no
      |   libhybris EGL .......................... no
      |   Linux dma-buf server buffer integration  no
      |   Shm emulation server buffer integration  no
      |   Vulkan-based server buffer integration . no
      | Qt Wayland Client Shell Integrations:
      |   xdg-shell .............................. yes
      |   ivi-shell .............................. yes
      |   wl-shell (deprecated) .................. yes
      |   qt-shell ............................... yes
      | Qt Wayland Compositor Layer Plugins:
      |   VSP2 hardware layer integration ........ no
      | 
      | 
      | ERROR: Qt Wayland Client requires QtGui to be build with support for wayland
      | 
      | CMake Error at /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/cmake/Qt6/QtBuildInformation.cmake:209 (message):
      |   Check the configuration messages for an error that has occurred.
      | Call Stack (most recent call first):
      |   /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/cmake/Qt6/QtBuildInformation.cmake:39 (qt_configure_print_summary)
      |   /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/cmake/Qt6/QtBuildRepoHelpers.cmake:332 (qt_print_feature_summary)
      |   /.../build/tmp-glibc/work/corei7-64-wrs-linux/qtwayland/6.8.0/recipe-sysroot/usr/lib64/cmake/Qt6/QtBuildRepoHelpers.cmake:384 (qt_build_repo_end)
      |   CMakeLists.txt:42 (qt_build_repo)
      | 
      | 
      | -- Configuring incomplete, errors occurred!
      | WARNING: exit code 1 from a shell command.
      NOTE: recipe qtwayland-6.8.0-r0: task do_configure: Failed
      ERROR: Task (/.../layers/meta-qt6/recipes-qt/qt6/qtwayland_git.bb:do_configure) failed with exit code '1'
      NOTE: Running task 28224 of 51246 (virtual:multilib:lib32:/.../layers/meta-qt6/recipes-qt/qt6/qtwayland_git.bb:do_configure)
      NOTE: recipe lib32-qtwayland-6.8.0-r0: task do_configure: Started
      ERROR: lib32-qtwayland-6.8.0-r0 do_configure: ExecutionError('/.../build/tmp-glibc/work/corei7-32-wrsmllib32-linux/lib32-qtwayland/6.8.0/temp/run.do_configure.2326867', 1, None, None)
      ERROR: Logfile of failure stored in: /.../build/tmp-glibc/work/corei7-32-wrsmllib32-linux/lib32-qtwayland/6.8.0/temp/log.do_configure.2326867
      

       

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            randymacleod Randy MacLeod
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews