YOCTO - 一个问题:nativesdk-qtbase:Files/directories 已安装但未在任何包中发货
YOCTO - A Issue: nativesdk-qtbase: Files/directories were installed but not shipped in any package
我正在使用 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'
有人能帮忙吗?
感谢您的宝贵时间
所以你用的是warrior版本的meta-qt5?该消息说接收者使用 do_install
安装文件,但没有将它们添加到 FILES
或任何包。
您可以在您的图层中添加以下 bbappend,它应该可以工作
recipes-qt/qt5/nativesdk-qtbase_git.bbappend:
FILES_${PN} += "${datadir}/cmake/OEToolchainConfig.cmake.d/"
或者忽略这个问题
INSANE_SKIP_nativesdk-qtbase = "installed-vs-shipped"
我正在使用 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'
有人能帮忙吗?
感谢您的宝贵时间
所以你用的是warrior版本的meta-qt5?该消息说接收者使用 do_install
安装文件,但没有将它们添加到 FILES
或任何包。
您可以在您的图层中添加以下 bbappend,它应该可以工作
recipes-qt/qt5/nativesdk-qtbase_git.bbappend:
FILES_${PN} += "${datadir}/cmake/OEToolchainConfig.cmake.d/"
或者忽略这个问题
INSANE_SKIP_nativesdk-qtbase = "installed-vs-shipped"