Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. bitbake b2qt-embedded-qt6-image fails for STM32mp15-disco
Forum Updated to NodeBB v4.3 + New Features

bitbake b2qt-embedded-qt6-image fails for STM32mp15-disco

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 258 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Juan Gomez
    wrote on 9 Nov 2024, 12:57 last edited by
    #1

    I'm building the target image in yocto with the boot2qt manifest 6.7.xml.

    Before creating the full image, I bitbake my custom recipe, and after solving some errors it built correctly, here's a post where I solved some of those errors: https://forum.qt.io/topic/159562/how-to-create-recipe-for-qt-quick-app-in-yocto?_=1731156856435

    Then, I added my custom recipe to the local conference and started bitbake with b2qt-embedded-qt6-image. The error:

    | cd /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/build/src/core && /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/recipe-sysroot-native/usr/bin/ninja -C /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/build/src/core/Release/arm QtWebEngineCore
    | ninja: build stopped: subcommand failed.
    | 
    | WARNING: exit code 1 from a shell command.
    ERROR: Task (/home/vboxuser/yocto/sources/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb:do_compile) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 8110 tasks of which 7847 didn't need to be rerun and 2 failed.
    NOTE: Build completion summary:
    NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 16 scratch)
    NOTE:   do_deploy_source_date_epoch: 0.0% sstate reuse(0 setscene, 13 scratch)
    NOTE:   do_create_spdx: 0.0% sstate reuse(0 setscene, 15 scratch)
    NOTE:   do_create_runtime_spdx: 0.0% sstate reuse(0 setscene, 15 scratch)
    NOTE:   do_package_qa: 0.0% sstate reuse(0 setscene, 9 scratch)
    NOTE:   do_recipe_qa: 0.0% sstate reuse(0 setscene, 15 scratch)
    NOTE:   do_package: 0.0% sstate reuse(0 setscene, 10 scratch)
    NOTE:   do_packagedata: 0.0% sstate reuse(0 setscene, 10 scratch)
    NOTE:   do_package_write_ipk: 92.6% sstate reuse(125 setscene, 10 scratch)
    NOTE:   do_populate_lic: 0.0% sstate reuse(0 setscene, 13 scratch)
    
    Summary: 2 tasks failed:
      /home/vboxuser/yocto/sources/meta-boot2qt/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demolauncher_git.bb:do_unpack
      /home/vboxuser/yocto/sources/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb:do_compile
    Summary: There were 6 WARNING messages.
    Summary: There were 2 ERROR messages, returning a non-zero exit code.
    

    I'm unsure what to do because I already compiled my custom qt app in my custom recipe and I'm not adding qtwebengine there.

    J 1 Reply Last reply 11 Nov 2024, 06:58
    0
    • J Offline
      J Offline
      Juan Gomez
      wrote on 12 Nov 2024, 23:11 last edited by
      #3

      I decided to move on with the build image following the st instructions, which seem to be a little more documented.

      1 Reply Last reply
      0
      • J Juan Gomez
        9 Nov 2024, 12:57

        I'm building the target image in yocto with the boot2qt manifest 6.7.xml.

        Before creating the full image, I bitbake my custom recipe, and after solving some errors it built correctly, here's a post where I solved some of those errors: https://forum.qt.io/topic/159562/how-to-create-recipe-for-qt-quick-app-in-yocto?_=1731156856435

        Then, I added my custom recipe to the local conference and started bitbake with b2qt-embedded-qt6-image. The error:

        | cd /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/build/src/core && /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/recipe-sysroot-native/usr/bin/ninja -C /home/vboxuser/yocto/build-stm32mp15-disco/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtwebengine/6.7.3/build/src/core/Release/arm QtWebEngineCore
        | ninja: build stopped: subcommand failed.
        | 
        | WARNING: exit code 1 from a shell command.
        ERROR: Task (/home/vboxuser/yocto/sources/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb:do_compile) failed with exit code '1'
        NOTE: Tasks Summary: Attempted 8110 tasks of which 7847 didn't need to be rerun and 2 failed.
        NOTE: Build completion summary:
        NOTE:   do_populate_sysroot: 0.0% sstate reuse(0 setscene, 16 scratch)
        NOTE:   do_deploy_source_date_epoch: 0.0% sstate reuse(0 setscene, 13 scratch)
        NOTE:   do_create_spdx: 0.0% sstate reuse(0 setscene, 15 scratch)
        NOTE:   do_create_runtime_spdx: 0.0% sstate reuse(0 setscene, 15 scratch)
        NOTE:   do_package_qa: 0.0% sstate reuse(0 setscene, 9 scratch)
        NOTE:   do_recipe_qa: 0.0% sstate reuse(0 setscene, 15 scratch)
        NOTE:   do_package: 0.0% sstate reuse(0 setscene, 10 scratch)
        NOTE:   do_packagedata: 0.0% sstate reuse(0 setscene, 10 scratch)
        NOTE:   do_package_write_ipk: 92.6% sstate reuse(125 setscene, 10 scratch)
        NOTE:   do_populate_lic: 0.0% sstate reuse(0 setscene, 13 scratch)
        
        Summary: 2 tasks failed:
          /home/vboxuser/yocto/sources/meta-boot2qt/meta-boot2qt/recipes-qt/boot2qt-addons/boot2qt-demolauncher_git.bb:do_unpack
          /home/vboxuser/yocto/sources/meta-qt6/recipes-qt/qt6/qtwebengine_git.bb:do_compile
        Summary: There were 6 WARNING messages.
        Summary: There were 2 ERROR messages, returning a non-zero exit code.
        

        I'm unsure what to do because I already compiled my custom qt app in my custom recipe and I'm not adding qtwebengine there.

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 11 Nov 2024, 06:58 last edited by
        #2

        @Juan-Gomez You should look for the actual error message (above of what you posted).

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Juan Gomez
          wrote on 12 Nov 2024, 23:11 last edited by
          #3

          I decided to move on with the build image following the st instructions, which seem to be a little more documented.

          1 Reply Last reply
          0
          • J Juan Gomez has marked this topic as solved on 12 Nov 2024, 23:11

          3/3

          12 Nov 2024, 23:11

          • Login

          • Login or register to search.
          3 out of 3
          • First post
            3/3
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved