NXP MCU 技术论坛
直播中

李骏鹏

7年用户 1212经验值
私信 关注
[问答]

使用Yocto进行deepview-rt编译报错怎么解决?

您好,我们的 NXP BSP 5.15.71-2.2.0 版本存在问题。在构建使用 deepview-rt 的图像时,我们得到了


ERROR: deepview-rt-2.4.46-aarch64-r0 do_package_qa: QA Issue: /usr/lib/python3.10/site-packages/bin/deepview-modelclient contained in package deepview-rt requires /work/build-wayland/tmp/work/armv8a-poky-linux/deepview-rt/2.4.46-aarch64-r0/recipe-sysroot-native/usr/bin/nativepython3, but no providers found in RDEPENDS:deepview-rt? [file-rdeps]
ERROR: deepview-rt-2.4.46-aarch64-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /work/build-wayland/tmp/work/armv8a-poky-linux/deepview-rt/2.4.46-aarch64-r0/temp/log.do_package_qa.138479
ERROR: Task (/work/sources/meta-imx/meta-ml/recipes-libraries/deepview-rt/deepview-rt_2.4.46-aarch64.bb:do_package_qa) failed with exit code '1'​
我们对此进行了调查,看起来问题是因为这就是“deepview-modelclient”脚本的样子


$ cat deepview-rt/2.4.46-aarch64-r0/image/usr/lib/python3.10/site-packages/bin/deepview-modelclient
#!/work/build-wayland/tmp/work/armv8a-poky-linux/deepview-rt/2.4.46-aarch64-r0/recipe-sysroot-native/usr/bin/nativepython3
# -*- coding: utf-8 -*-
import re
import sys
from deepview.rt.modelclient import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())​
这个脚本本身似乎是从 entry_points.txt 文件生成的
$ cat deepview_rt-2.4.46.dist-info/entry_points.txt
[console_scripts]
deepview-modelclient = deepview.rt.modelclient:main这是用 pip [1] 从 whl 文件中解压出来的。

有什么办法可以解决这个问题吗?


更多回帖

发帖
×
20
完善资料,
赚取积分