我在为 kirkstone 进行完整构建时遇到问题,构建“imx-image-mul
timedia”工作正常!
imx@1cf0c90ffb3d:/imx-build/build$ bitbake -k imx-image-full
加载缓存:100% |######################### ################################################## ################################################## ################################################## ################################################## #############| 时间:0:00:01
从依赖项缓存中加载了 4736 个条目。
解析配方:100% |############################################ ################################################## ################################################## ################################################## ##########################################| 时间:0:00:01
完成 3190 个 .bb 文件的解析(3188 个已缓存,2 个已解析)。4738 个目标,284 个被跳过,3 个被屏蔽,0 个错误。
注意:解决任何缺失的任务队列依赖关系
构建配置:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mpevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "5.15- kirkstone"
TUNE_FEATURES = "aarch64 armv8a crc crypto"
TARGET_FPU = ""
meta
meta-poky = "HEAD:24a3f7b3648185e33133f5d96b184a6cb6524f3d"
meta-oe
meta-multimedia
meta-python = "HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3"
meta-freescale = "HEAD:c82d4634e7aba8bc0de73ce1dfc997b630051571"
meta- freescale-3rdparty =“头:5977197340c7a7db17fe3e02a4e014ad997565ae"
meta-freescale-distro = "HEAD:d5bbb487b2816dfc74984a78b67f7361ce404253"
meta-bsp
meta-sdk
meta-ml
meta-v2x = "HEAD:ca4d220fb70af7a0d0b547216d18d94188f38dae"
meta-nxp-demo-experience = "HEAD:52eaf8bf42f8eda2917a1c8c046003c8c2c8f629"
meta-chromium = "HEAD:e232c2e21b96dc092d9af8bea4b3a528e7a46dd6"
meta-clang = "HEAD:c728c3f9168c8a4ed05163a51dd48ca1ad8ac21d"
meta -gnome
meta-networking
meta-filesystems = "HEAD:744a4b6eda88b9a9ca1cf0df6e18be384d9054e3"
meta-qt6 = "HEAD:ed785a25d12e365d1054700d4fc94a053176eb14"
meta-virtualization = "HEAD:9482648daf0bb42ff3475e7892542cf99f3b8d48"
初始化任务:100% |############################################ ################################################## ################################################## ################################################## #######################################| 时间:0:00:05
状态摘要:需要 3 个本地 0 个镜像 0 个未命中 3 个当前 4486(0% 匹配,99% 完成)
注意:执行任务
错误:deepview-rt-2.4.46-aarch64-r0 do_package_qa:QA 问题: /usr/lib/python3.10/site-packages/bin/deepview-modelclient 包含在包 deepview-rt 中需要 /imx-build/build/tmp/work/armv8a-poky-linux/deepview-rt/2.4.46 -aarch64-r0/recipe-sysroot-native/usr/bin/nativepython3,但在 RDEPENDS:deepview-rt 中找不到提供程序?[文件-rdeps]
错误:deepview-rt-2.4.46-aarch64-r0 do_package_qa:发现致命的 QA 错误,任务失败。
错误:故障日志文件存储在:/imx-build/build/tmp/work/armv8a-poky-linux/deepview-rt/2.4.46-aarch64-r0/temp/log.do_package_qa.1843717
错误:任务(/imx -build/sources/meta-imx/meta-ml/recipes-libraries/deepview-rt/deepview-rt_2.4.46-aarch64.bb:do_package_qa) 失败,退出代码为“1”注意:任务摘要:尝试了 10352 个任务,
其中10351 不需要重新运行,1 次失败。
摘要:1 个任务失败:
/imx-build/sources/meta-imx/meta-ml/recipes-libraries/deepview-rt/deepview-rt_2.4.46-aarch64.bb
:do_package_qa 摘要:有 2 条错误消息,返回一个非零退出代码。
我的设置如下:
# Docker 设置
mkdir imx-build
sudo chgrp 100 imx-build
docker run -it --name imx-build -v `pwd`/imx-build:/imx-build ubuntu:20.04 bash apt update && apt -y upgrade
apt
install -y gawk wget git diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm rsync curl zstd lz4 libssl-dev locales language-pack-en-base python
curl > /bin/repo
chmod a+x /bin/repo
useradd -m -G 用户imx
echo "export LANGUAGE=en_US.UTF-8" >> /home/imx/.bashrc
echo "export LC_ALL=en_US.UTF-8" >>/home/imx/.bashrc
退出
docker 启动 imx-build
docker exec --user imx -it imx-build bash
# 在容器中
cd imx-build
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
repo init -u
https://github.com/nxp-imx/ imx-manifest-b imx-linux-kirkstone -m imx-5.15.71-2.2.0.xml
回购同步
DISTRO=fsl-imx-xwayland MACHINE=imx8mpevk source imx-setup-release.sh -b build
bitbake -k imx -image-full --runall 获取
# 最后一步失败
bitbake -k imx-image-full
因为我能够构建多媒体图像,所以我假设我的构建环境很好。我看过类似的报告问题,但没有一个解决方案对我有用。
我错过了什么?
0