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

Yocto: QtWebEngine fails to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.3.1, 6.4.0 Beta1
    • 6.2.3, 6.2.4, 6.3.0 RC
    • Yocto: meta-qt6 layer
    • None
    • Ubuntu 20.04.4 LTS, Yocto kirkstone/honister
    • Linux/Yocto
    • 73927c6db3 (yocto/meta-qt6/dev) bc53890f75 (yocto/meta-qt6/6.3) 3dfa092ad6 (yocto/meta-qt6/lts-6.2) bc53890f75 (yocto/meta-qt6/6.3.1) 3dfa092ad6 (yocto/meta-qt6/lts-6.2.5) bc53890f75 (yocto/meta-qt6/6.3.2) 73927c6db3 (yocto/meta-qt6/6.4.0)

    Description

      I'm trying to build QtWebEngine using meta-qt6 and Yocto release honister. I was able to successful build it with Qt 6.2.2, but after switching to Qt 6.2.3 branch it fails with the following error:

       [45/152] cd /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/build/src/host && /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-li
      nux-gnueabi/qtwebengine/6.2.3-r0/recipe-sysroot-native/usr/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/recipe-sysroot-native/u
      sr/lib/cmake/Qt6/qt.toolchain.cmake -DWEBENGINE_ROOT_BUILD_DIR=/data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/build -DWEBENGINE_ROOT_SOURCE_DIR=/data/workspace/yo
      cto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/git -DGN_TARGET_CPU=arm -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DQT_FEATURE_qtwebengine_build=ON -DQT_FEATURE_qtpdf_build=OFF -GNinja /d
      ata/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/git/src/host && /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebe
      ngine/6.2.3-r0/recipe-sysroot-native/usr/bin/cmake -E touch /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/build/src/host/src/hostBuild-stamp/hostBuild-configure 
      | FAILED: src/host/src/hostBuild-stamp/hostBuild-configure /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/build/src/host/src/hostBuild-stamp/hostBuild-configure 
      | cd /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/build/src/host && /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnuea
      bi/qtwebengine/6.2.3-r0/recipe-sysroot-native/usr/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/recipe-sysroot-native/usr/lib/cm
      ake/Qt6/qt.toolchain.cmake -DWEBENGINE_ROOT_BUILD_DIR=/data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/build -DWEBENGINE_ROOT_SOURCE_DIR=/data/workspace/yocto/poky2
      /honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/git -DGN_TARGET_CPU=arm -DCMAKE_C_FLAGS= -DCMAKE_CXX_FLAGS= -DQT_FEATURE_qtwebengine_build=ON -DQT_FEATURE_qtpdf_build=OFF -GNinja /data/works
      pace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/git/src/host && /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2
      .3-r0/recipe-sysroot-native/usr/bin/cmake -E touch /data/workspace/yocto/poky2/honister/ppt50/build/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/qtwebengine/6.2.3-r0/build/src/host/src/hostBuild-stamp/hostBuild-configure 
      | Re-run cmake no build system arguments 
      | -- The CXX compiler identification is GNU 9.4.0 
      | -- The C compiler identification is GNU 9.4.0 
      | -- Detecting CXX compiler ABI info 
      | -- Detecting CXX compiler ABI info - done 
      | -- Check for working CXX compiler: /data/workspace/yocto/poky2/honister/ppt50/build/tmp/hosttools/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: /data/workspace/yocto/poky2/honister/ppt50/build/tmp/hosttools/gcc - skipped 
      | -- Detecting C compile features 
      | -- Detecting C compile features - done 
      | CMake Error at CMakeLists.txt:19 (find_package): 
      |   Could not find a package configuration file provided by "Qt6" (requested 
      |   version 6.2.3) with any of the following names: 
      |  
      |     Qt6Config.cmake 
      |     qt6-config.cmake 
      |  
      |   Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR" 
      |   to a directory containing one of the above files.  If "Qt6" provides a 
      |   separate development package or SDK, be sure it has been installed. 
      |  
      |  
      | -- Configuring incomplete, errors occurred!
       
      

      I see the same issue using kirkstone/master Yocto release and Qt 6.3.0rc

      Attachments

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

        Activity

          People

            sapiippo Samuli Piippo
            h4nn35 Johannes Pointner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes