Hello,
I am building imx-image-full for i.MX8ULP EVK using NXP Yocto 5.2 (kernel L6.12.49) and encounter build failures related to tensorflow-lite-vx-delegate and litert-vx-delegate.
Both packages fail during the download/verify step when fetching kleidiai from Arm GitLab, resulting in a SHA256 checksum mismatch.
The issue is reproducible for:
tensorflow-lite-vx-delegate (2.19.0)
litert-vx-delegate (1.2.0)
It appears that the upstream kleidiai archive content has changed while keeping the same commit hash, causing the checksum defined in the recipes to be invalid.
Full build logs for both packages are attached below.
Questions:
Is this a known issue in Yocto 5.2?
Is there an official fix or updated checksum?
Thanks in advance.
$ bitbake tensorflow-lite-vx-delegate -c cleansstate
$ bitbake tensorflow-lite-vx-delegate -c patch
$ cd build/tmp/work/armv8a-poky-linux/tensorflow-lite-vx-delegate/2.19.0/sources-unpack/tfgit
$ patch -p1 <0001-Fix-source-sha256-mismatch-issue-for-KleidiAI.patch
$ bitbake tensorflow-lite-vx-delegate
I ran into the same tensorflow-lite build failure related to kleidiai on Yocto for the frdm-imx93 board. Here is my solution:
cd sources/meta-imx
patch -Np1 -i 0001-Fixed-KleidiAI-sha256-mismatch.patch
This solution does not patch tensorflow itself. I think this is a clearer solution.
Thank you for the suggestion.
Instead of modifying the downloaded source directly, I applied the workaround properly via a custom meta layer.
After applying this change, the build issue of tensorflow-lite-vx-delegate is resolved successfully.
However, litert-vx-delegate still fails with the same kleidiai SHA256 checksum mismatch during the download step.
Do you have any suggestion for litert-vx-delegate, or is there a separate fix planned for this package?
Please refer to the attached patch.