问题描述
我正在使用Yocto 4.14-sumo和QT5.12配方基于i.MX6构建自己的Yocto发行版.嵌入式Yocto构建效果很好.
I m building my own Yocto distro based on i.MX6 using Yocto 4.14-sumo and QT5.12 recipe.The embedded Yocto build works well.
但是当我生成 sdk 时,通过启动:
But when I generate sdk, by launching :
bitbake abl-image-qt5 -c populate_sdk
我在 nativesdk-qtbase 配方上得到以下错误输出:
I get the following error output on nativesdk-qtbase recipe :
ERROR: nativesdk-qtbase-5.12.0+gitAUTOINC+13ed06640c-r0 do_package: QA Issue: nativesdk-qtbase: Files/directories were installed but not shipped in any package:
/opt/abl-imx-fb/4.14-sumo/sysroots/x86_64-ablsdk-linux/usr/share
/opt/abl-imx-fb/4.14-sumo/sysroots/x86_64-ablsdk-linux/usr/share/cmake
/opt/abl-imx-fb/4.14-sumo/sysroots/x86_64-ablsdk-linux/usr/share/cmake/OEToolchainConfig.cmake.d
/opt/abl-imx-fb/4.14-sumo/sysroots/x86_64-ablsdk-linux/usr/share/cmake/OEToolchainConfig.cmake.d/OEQt5Toolchain.cmake
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nativesdk-qtbase: 4 installed and not shipped files. [installed-vs-shipped]
ERROR: nativesdk-qtbase-5.12.0+gitAUTOINC+13ed06640c-r0 do_package: Fatal QA errors found, failing task.
ERROR: nativesdk-qtbase-5.12.0+gitAUTOINC+13ed06640c-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /home/pierre/repo/claas/build/tmp/work/x86_64-nativesdk-ablsdk-linux/nativesdk-qtbase/5.12.0+gitAUTOINC+13ed06640c-r0/temp/log.do_package.16550
ERROR: Task (/home/pierre/repo/claas/sources/meta-qt5/recipes-qt/qt5/nativesdk-qtbase_git.bb:do_package) failed with exit code '1'
任何人都可以帮忙吗?
感谢您的时间
推荐答案
所以您使用了warrior版本的meta-qt5?该消息表明,收件人使用 do_install
安装文件,但未将其添加到 FILES
或任何软件包中.
So you used meta-qt5 from version warrior? The message says that the recipie installs the files using do_install
but does not add them to FILES
or any package.
您可以在应该工作的图层中添加以下bbappend
You could add the following bbappend in your layer which should work
recipes-qt/qt5/nativesdk-qtbase_git.bbappend:
recipes-qt/qt5/nativesdk-qtbase_git.bbappend:
FILES_${PN} += "${datadir}/cmake/OEToolchainConfig.cmake.d/"
或忽略该问题
INSANE_SKIP_nativesdk-qtbase = "installed-vs-shipped"
这篇关于YOCTO-一个问题:nativesdk-qtbase:已安装文件/目录,但未在任何软件包中提供的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!