aida_owi
aida_owi

Reputation: 21

Java with Yocto - no bb files matched

I'm trying to generate an embedded linux image with a java oracle meta but here what I get :

user@user:~/poky/build$ bitbake oracle-jse-jdk-i586 
Loading cache:
100% |############################################################|
ETA:  00:00:00 Loaded 1292 entries from dependency cache. **WARNING: No
bb files matched BBFILE_PATTERN_oraclejava
'^/home/aida/poky/meta-oracle-java/'** ERROR: Nothing PROVIDES
'oracle-jse-jdk-i586' ERROR: oracle-jse-jdk-i586 was skipped: because
 it has a restricted license not whitelisted in LICENSE_FLAGS_WHITELIST

 Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR
 message shown, returning a non-zero exit code.

Despite my bblayers.conf :

BBLAYERS ?= " \
  /home/aida/poky/meta \
  /home/aida/poky/meta-yocto \
  /home/aida/poky/meta-oracle-java \
  /home/aida/poky/meta-yocto-bsp \
  "

I can't find where this No bb files matched BBFILE_PATTERN warning came from, neither then the licence problem...

Thank you !

Upvotes: 1

Views: 1795

Answers (3)

Remi Peuvergne
Remi Peuvergne

Reputation: 279

BTW, because I've just hit the bug : in such a case you can check if another layer assigns something to the variable with '=', overwritting anything other layers/conf may have set.

Such as variable should always be appended, not assigned directly.

Upvotes: 0

aida_owi
aida_owi

Reputation: 21

My bad...

Being from France, I wrote LICENCE_FLAGS_WHITELIST instead of LICENSE_FLAGS_WHITELIST

Thanks anyway :)

Upvotes: 1

balister
balister

Reputation: 421

Try adding:

LICENSE_FLAGS_WHITELIST += "oracle_java"

to your local.conf. Review the instruction in the README file in the meta-oracle-java file.

Upvotes: 2

Related Questions