Skip to main content

Yocto Build & Recipe Troubleshooting

:::note Draft Outline ready to be filled with real troubleshooting cases from your Yocto projects. :::

1. do_fetch Failures (Checksum / Git Mirror / Proxy)​

  • Symptom: TODO: Paste the real fetcher error log.
  • Root Cause: TODO: Explain why it failed (wrong SRCREV, upstream change, network/proxy).
  • Fix: TODO: Steps applied (PREMIRRORS, updated SRC_URI[sha256sum], bbappend).

2. sstate-cache Misses​

  • Symptom: TODO: Describe when a full rebuild happened unexpectedly.
  • Root Cause: TODO: Env variable or taskhash mismatch (checked via bitbake-diffsigs).
  • Fix: TODO: Config fix or shared SSTATE_DIR setup.

3. do_package QA Issues & File Conflicts​

  • Symptom: TODO: Example QA errors (installed-vs-shipped, file-rdeps, already-stripped).
  • Root Cause: TODO: Cause in FILES:${PN} or install paths.
  • Fix: TODO: Applied .bbappend snippet or packaging fix.