This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] SK-AM69:Yocto 构建 ti-tidl-osrt 错误:未找到 nativepython3

Guru**** 2482225 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1433059/sk-am69-yocto-build-ti-tidl-osrt-error-nativepython3-not-found

器件型号:SK-AM69

工具与软件:

您好!

我面临着与相关主题相同的问题、但其中没有最终答案。 我正在尝试使用 WSL Ubuntu 中包含的 EdgeAI 组件构建自定义 Linux 映像、并 在 ti-tidl-osrt 配方的 do_package_qa 步骤中获取错误:  

ERROR: ti-tidl-osrt-1.0-r0_edgeai_4 do_package_qa: QA Issue: /usr/lib/python3.12/site-packages/bin/onnxruntime_test contained in package ti-tidl-osrt requires /home/user/work/am69-b55/build/tmp/work/aarch64-oe-linux/ti-tidl-osrt/1.0/recipe-sysroot-native/usr/bin/nativepython3, but no providers found in RDEPENDS:ti-tidl-osrt? [file-rdeps]
ERROR: ti-tidl-osrt-1.0-r0_edgeai_4 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/user/work/am69-b55/build/tmp/work/aarch64-oe-linux/ti-tidl-osrt/1.0/temp/log.do_package_qa.23941
ERROR: Task (/home/user/work/am69-b55/sources/core/../meta-edgeai/recipes-tisdk/ti-tidl/ti-tidl-osrt.bb:do_package_qa) failed with exit code '1'

那么、如何解决这个问题呢?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Andre、

    您能提供您采取的步骤吗? 确保您的路径正确无误。 我明白了 AArch64-WE-Linux 而不是在路径中放置 AArch64-OE-Linux . 我还建议您尝试清除故障封装。

    $ MACHINE=<machine> bitbake -c cleanall <package-name>

    谢谢!

    Fabiana

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

     Fabiana、您好!

    路径中的差异是复制-粘贴拼写错误、更正了该错误。

    'bitbake -c cleanall'命令无效。

    步骤。 我 能够基于 meta-ti、meta-arago 和 meta-edgeai 层构建一个可用的定制 Linux 图像、该图像已在 AM69-SK TI 电路板上成功测试。 现在我想向其添加 EdgeAI 分量、但在 DO_PACKAGE_QA 步骤中、我得到 ti-tidl-osrt 配方中存在错误。

    在相关的 e2e 线程(https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1405683/am62a7-sdk-10-yocto-ti-tidl-osrt-installs-onnxruntime_test-with-nativepython3-in-path)中讨论了该配方中的 Nativepython、但2个月后尚未更新。  

    那么、问题是、 ti-tidl-osrt 是否真的需要 nativepython3、如果否、我如何正确删除依赖项?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    安德烈、您好!

    我已加入开发团队、并将在我收到回复后更新此主题。 感谢您的耐心。

    - Fabiana

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    安德烈、您好!

    此问题已得到解决、此修复程序将在预计于12月13日发布的 SDK 10.1版中提供。

    谢谢!

    Fabiana