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. Yocto build fails with meta-qt6
QtWS25 Last Chance

Yocto build fails with meta-qt6

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
yoctometa-qt6bitbake
6 Posts 2 Posters 2.2k 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.
  • R Offline
    R Offline
    raphasauer
    wrote on last edited by
    #1

    Hello everyone. I'm facing a problem with a build for Yocto using Qt's layers. Here's the packages that are failing:

    Summary: 2 tasks failed:
      /home/rapha/Yocto/sources/meta-qt6/recipes-qt/qt6/qtquickcontrols2_git.bb:do_compile
      /home/rapha/Yocto/sources/meta-qt6/recipes-qt/qt6/qtdeclarative_git.bb:do_package
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
    

    I have all dependencies installed and I have no clue what to do. Searching on the web is also proving unfruitful. I've already built a successful Poky image for the same target, so I believe my sistem is OK. Any clue on how to proceed?

    jsulmJ 1 Reply Last reply
    0
    • R raphasauer

      Hello everyone. I'm facing a problem with a build for Yocto using Qt's layers. Here's the packages that are failing:

      Summary: 2 tasks failed:
        /home/rapha/Yocto/sources/meta-qt6/recipes-qt/qt6/qtquickcontrols2_git.bb:do_compile
        /home/rapha/Yocto/sources/meta-qt6/recipes-qt/qt6/qtdeclarative_git.bb:do_package
      Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
      

      I have all dependencies installed and I have no clue what to do. Searching on the web is also proving unfruitful. I've already built a successful Poky image for the same target, so I believe my sistem is OK. Any clue on how to proceed?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @raphasauer Without actual error messages hard to say

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

      R 1 Reply Last reply
      1
      • jsulmJ jsulm

        @raphasauer Without actual error messages hard to say

        R Offline
        R Offline
        raphasauer
        wrote on last edited by
        #3

        @jsulm I'm diving into the logs right now, I'm going to post them here

        1 Reply Last reply
        0
        • R Offline
          R Offline
          raphasauer
          wrote on last edited by
          #4

          @jsulm :

          /usr/src/debug/qtquickcontrols2/6.2.0-r0/git/src/quicktemplates2/qquickmenu.cpp:707: undefined reference to `QQuickAction::staticMetaObject'
          collect2: error: ld returned 1 exit status
          ninja: build stopped: subcommand failed.
          
          + bb_sh_exit_handler
          + ret=1
          + [ 1 != 0 ]
          + echo WARNING: exit code 1 from a shell command.
          WARNING: exit code 1 from a shell command.
          + exit 1
          
          jsulmJ 1 Reply Last reply
          0
          • R raphasauer

            @jsulm :

            /usr/src/debug/qtquickcontrols2/6.2.0-r0/git/src/quicktemplates2/qquickmenu.cpp:707: undefined reference to `QQuickAction::staticMetaObject'
            collect2: error: ld returned 1 exit status
            ninja: build stopped: subcommand failed.
            
            + bb_sh_exit_handler
            + ret=1
            + [ 1 != 0 ]
            + echo WARNING: exit code 1 from a shell command.
            WARNING: exit code 1 from a shell command.
            + exit 1
            
            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @raphasauer said in Yocto build fails with meta-qt6:

            6.2.0-r0

            Do you really want to build a release candidate?

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

            1 Reply Last reply
            0
            • R Offline
              R Offline
              raphasauer
              wrote on last edited by
              #6

              @jsulm I wasn't aware it was not released yet. Back to building Yocto for Qt 5.15.2 then. Thanks!

              1 Reply Last reply
              0

              • Login

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