[yocto] meta-oracle-java error when building a recipe

Paul Eggleton paul.eggleton at linux.intel.com
Tue Feb 17 10:43:52 PST 2015


On Tuesday 17 February 2015 13:35:48 Bruce Ashfield wrote:
> On 15-02-17 01:31 PM, Alexandru Vaduva wrote:
> > I am building for an arm v7.
> 
> So I presume that you noticed in
> recipes-devtools/oracle-java/oracle-jse-jdk_1.7.0.bb
> 
> The following:
> 
> -----
> 
> # Automatically choose java package based on target architecture
> def get_java_pkg(d):
>         TA = d.getVar('TARGET_ARCH', True)
>         if TA == "i586":
>                 javaPkg = "oracle-jse-jdk-i586"
>         elif TA == "x86_64":
>                 javaPkg = "oracle-jse-jdk-x86-64"
>         else:
>                 raise bb.parse.SkipPackage("The target architecture '%s'
> is not supported by the meta-oracle-java layer" %TA)
> 
>         return javaPkg
> 
> ----
> 
> Unless someone extends arch support to ARMv7, that skip is going to
> persist.

Not showing this message in the error is probably a bug that we should fix, 
though. It probably has something to do with how/where the exception is being 
raised.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list