[yocto] How to use JRE (Java Runtime) in Yocto Projects

Paul Eggleton paul.eggleton at linux.intel.com
Wed Dec 19 02:36:15 PST 2012


On Wednesday 19 December 2012 08:25:00 Raul Rosetto Munoz wrote:
> Hello all,
> I did some things like this wiki.
> 
> I added the meta-java layer but the only important diference is that I'm
> using meta poky (/poky/meta) and no meta oe-core (/oe-core/meta).
> 
> https://github.com/woglinde/meta-java/wiki
> 
> The fisrt probleme tha I have is that the package LLVM show me some errors.
> 
> here is what I have:
> 
> raul at phi04:/home/prjs/newcom0001/workspace/philinux/philinux-imx28-newcom$
> bitbake openjdk-6
> WARNING: Host distribution "Ubuntu 12.04.1 LTS" has not been validated with
> this version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> NOTE: Error expanding variable populate_packages
> 
>                                                             | ETA:  00:00:38
> 
> NOTE: Error during finalise of
> /home/prjs/newcom0001/workspace/philinux/meta-java/recipes-core/llvm/
> llvm2.8_2.8.bb
> ERROR: Unable to parse
> /home/prjs/newcom0001/workspace/philinux/meta-java/recipes-core/llvm/
> llvm2.8_2.8.bb
> ERROR: Command execution failed: Traceback (most recent call last):
>   File "/home/prjs/poky/bitbake/lib/bb/command.py", line 84, in
> runAsyncCommand
>     self.cooker.updateCache()
>   File "/home/prjs/poky/bitbake/lib/bb/cooker.py", line 1202, in updateCache
> if not self.parser.parse_next():
>   File "/home/prjs/poky/bitbake/lib/bb/cooker.py", line 1669, in parse_next
>     self.virtuals += len(result)
> UnboundLocalError: local variable 'result' referenced before assignment
> 
> 
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> raul at phi04:/home/prjs/newcom0001/workspace/philinux/philinux-imx28-newcom$

Which version of the build system are you using?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list