3.23 version of meta-hailo recipe seems to be seriously bugged

Recently, the whole meta-hailo layer got upgraded to 3.32
What I found out is , the recipe somehow generates library for 3.31 and the whole thing concerning ${PV} inside the bb recipe fails to built. I circumvented it by putting the absolute path with 3.31 that has been generated, but now it generates compile error on the hailo-postprocess side.

The way I see it, the whole ‘packagegroup-hailo-tapps’ is fetching the source code from the hailo-ai/tappas.git and it seems to be that the code that was referenced by the SRCREV the last commit updated to the recipe is somehow not the version it is supposed to download.

Right now, I’m going to refrain myself building the packagegroup for tapps, but I do hope the issue would be resolved soon enough.

Just quickly browsed GitHub - hailo-ai/tappas: High-performance, optimized pre-trained template AI application pipelines for systems using Hailo devices repository and there is no trace of 3.32 there. Which is aligned with the problem described in this post.

Hey @ksj ,

I will move this to R&D and update about the status of this.

@omria
Thank you very much. I found out that kirkstone-v3.29.1 branch of meta-hailo is not able to be built with the Scarthgap version of Yocto either. To be more precisely, the issue is with the hailo-post-processes bb recipe and the source code it tries to build, which is a clone of
github.com/hailo-ai/tappas.git;protocol=https;branch=master
and the commit hash of
4327923422ababaf3a9395f86bf39f5b34dcfd83

do_compile on bitbake’s end was not going through because

is only including and the template of uint16_t inside of the std::map definition prints out undefined definition error.

I’m assuming that it’s something to do with newer version of the compiler deployed with the Scarthgap version of the compiler, but I am not 100% sure. I just included
#include
on the source and the do_compile and the rest got completed.

I know Scarthgap is not officially supported with meta-hailo yet, but for the previous versions, we haven’t had any major issues with using the recipes.

For anybody that is having the issues of building meta-hailo with the Scarthgap version of Yocto, refer to

for some reason, I could not post it with the bracket inside the text contents.
I included cstdint to resolve the undefined definition error.