I am using a BSP build "as is" and getting an error...
ERROR: onnxruntime-1.8.2-r0 do_package_qa: QA Issue: /usr/lib/python3.9/site-packages/bin/onnxruntime_test contained in package onnxruntime requires /short2/bld-xwayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/recipe-sysroot-native/usr/bin/nativepython3, but no providers found in RDEPENDS_onnxruntime? [file-rdeps]
ERROR: onnxruntime-1.8.2-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: Logfile of failure stored in: /short2/bld-xwayland/tmp/work/cortexa53-crypto-poky-linux/onnxruntime/1.8.2-r0/temp/log.do_package_qa.2763304
ERROR: Task (/short2/sources/meta-imx/meta-ml/recipes-libraries/onnxruntime/onnxruntime_1.8.2.bb:do_package_qa) failed with exit code '1'
The commands I am executing are...
repo init -u git@github.com:nxp-imx/imx-manifest.git -b imx-linux-hardknott -m imx-5.10.72-2.2.0.xml
repo sync
DISTRO=fsl-imx-xwayland MACHINE=imx8mpevk source ./imx-setup-release.sh -b bld-xwayland
bitbake onnxruntime
This looks like a similar issue but the recipe references a different repository.
https://community.nxp.com/t5/i-MX-Processors/Yocto-imx-image-full-build-error-with-onnxruntime-qa-is...
The recipe that I am using references...
ONNXRUNTIME_SRC ?= "gitsm://github.com/nxp-imx/onnxruntime-imx.git;protocol=https"
SRCBRANCH = "lf-5.10.72_2.2.0"
SRCREV = "d5d8898338f8713d09ff0e85b6ddbe464138baf7"