YOCTO-问题:nativesdk-qtbase:已安装文件/目录,但未以任何软件包提供]] << [

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了YOCTO-问题:nativesdk-qtbase:已安装文件/目录,但未以任何软件包提供]] << [相关的知识,希望对你有一定的参考价值。

我正在使用Yocto 4.14-sumo和QT5.12配方基于i.MX6构建自己的Yocto发行版。嵌入式Yocto构建效果很好。

但是当我生成

sdk

时,通过启动:bitbake abl-image-qt5 -c populate_sdk

我在

nativesdk-qtbase

配方上得到以下错误输出:
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'
有人可以帮忙吗?

感谢您的时间

我正在使用Yocto 4.14-sumo和QT5.12配方基于i.MX6构建自己的Yocto发行版。嵌入式Yocto构建效果很好。但是当我生成sdk时,通过启动:bitbake abl-image-qt5 -c ...

答案
所以您使用了warrior版本的meta-qt5?该消息说,食谱使用do_install安装文件,但不会将它们添加到FILES或任何软件包中。

以上是关于YOCTO-问题:nativesdk-qtbase:已安装文件/目录,但未以任何软件包提供]] << [的主要内容,如果未能解决你的问题,请参考以下文章

yocto 中的 Pulseaudio 构建问题

yocto编译常见问题及解决方法

如何在 Yocto 中重建 OpenCV?

改进基于 yocto 的开发的部署时间

如何在 Yocto 配方中获取 Bash 脚本

如何在Yocto Linux中禁用虚拟终端