Yocto build fails with meta-qt6
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?
@raphasauer Without actual error messages hard to say
@jsulm I'm diving into the logs right now, I'm going to post them here
/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
Do you really want to build a release candidate?
@jsulm I wasn't aware it was not released yet. Back to building Yocto for Qt 5.15.2 then. Thanks!