[yocto] oracle-jse-jdk

Mark Hatle mark.hatle at windriver.com
Thu May 5 11:36:35 PDT 2016


On 5/5/16 12:43 PM, Mihaylov, Emil wrote:
> hi Mark,
> 
> my oracle-jse-jdk_1.7.0.bb
> 
> looks like this
> 
> -----------------------------------------------
> 
> # Automatically choose java package based on target architecture
> DEPENDS += "libav gtk+ libxslt libxtst"

DEPENDS says it needs to be there before the package builds.

RDEPENDS_<package> says it needs to be to install.

The dependency error indicates that there was no package anywhere in the system
providing that specific provide.  You should look at libav and see if it has a
matching provide.  If it does not, then you are still lacking whatever is
necessary for this to work.

--Mark

> 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
> 
> JAVA_PKG = "${@get_java_pkg(d)}"
> 
> require ${JAVA_PKG}.inc
> 
> -----------------------------------------
> 
> still error
> 
> thanks Emil
> 
> 
> 
> On 5/5/2016 10:11 AM, Mark Hatle wrote:
>> DEPENDS' and the packages associated RDEPENDS.
> 




More information about the yocto mailing list