Libhailort: yocto offline build fails

I notice that the offline build of the libhailort under yocto fails.

The variables required for this (HAILORT_OFFLINE_BUILD_ENABLE, HAILORT_OFFLINE_BUILD_USE_EXISTING_TAR) are according to the instructions.

However, there is no problem with do_fetch. Rather, the do_configure section fails when attempting to clone protobuf in the context of cmake.

log.do_configure:

| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| [ 11%] Creating directories for 'protobuf-populate'
| [ 22%] Performing download step (git clone) for 'protobuf-populate'
| Cloning into 'protobuf-src'...
| fatal: unable to access 'https://github.com/protocolbuffers/protobuf.git/': Could not resolve host: github.com

Why is protobuf fetched via git clone? Instead, this dependency should be modeled by the yocto recipe.

Do you have any suggestions on how we can solve the problem?

Kind regards,
Jörg

Another note on the topic.

As soon as I set the following entry in my local.conf, the error occurs in the configure step (even with network connected)

HAILORT_OFFLINE_BUILD_ENABLE = "1"

I’m on yocto-kirkstone, libhailort 4.18.0

Hi Joerg,

Thank you for sharing this info.
I’ll check and update.

Yaniv