ERROR: Nothing PROVIDES 'libfoo'
Correggi dipendenze mancanti aggiungendo il layer corretto o sistemando il nome.
ERROR: Nothing PROVIDES 'libfoo' (but /path/to/myapp_1.0.bb DEPENDS on or otherwise requires it)
Cosa succede
Prima di eseguire i task, bitbake crea il grafo delle dipendenze. Nessuna ricetta configurata fornisce una dipendenza in DEPENDS, RDEPENDS o IMAGE_INSTALL.
Cause
- Nome errato: refuso o confusione tra ricetta e pacchetto.
- Il layer manca in
conf/bblayers.conf. - La ricetta viene saltata per licenza,
COMPATIBLE_MACHINEoDISTRO_FEATURESmancante. Leggi “was skipped” sopra l’errore.
Soluzione
- Verifica le ricette saltate con
bitbake -se leggi le righe sopra l’errore. - Cerca il layer nell’indice OpenEmbedded e aggiungilo:
bitbake-layers add-layer ../layers/meta-openembedded/meta-oe. - Correggi il nome nella ricetta o nel
.bbappend.