Bitbake tdx-reference-minimal-image stuck at 94% when parsing recipes

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

It sounds like you’re encountering a frustrating issue with the Bitbake process getting stuck at 94% during the parsing recipes step for the tdx-reference-minimal-image. Let’s go through some steps to help resolve this:

  1. Clean the Cache: Sometimes, the Bitbake cache can become corrupted. Try cleaning it with the following commands:

    bitbake -c cleanall tdx-reference-minimal-image
    bitbake -c cleansstate tdx-reference-minimal-image
    

    Then, attempt the Bitbake command again.

  2. Check Configuration Files: Double-check your local.conf and bblayers.conf files for any errors or misconfigurations that might cause Bitbake to hang.

  3. Verify Dependencies: Ensure all necessary dependencies and tools are installed on your host system, as missing ones can stall the build process.

  4. Review Logs: Look into the Bitbake logs for any error messages or warnings. These logs are usually located in build/tmp/log/cooker/$MACHINE/.

  5. Environment Setup: Make sure your build environment is correctly set up each time you open a new terminal by sourcing the environment setup script:

    source export
    

If these steps don’t resolve the issue, consider any recent changes to your build environment or configuration that might have introduced the problem. Reverting those changes could help identify the cause.

I hope these suggestions help you get back on track. If the issue persists, further investigation into specific error messages in the logs will be necessary.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Tdx-reference-minimal-image failure (Apalis-iMx8).