* meta-oracle-java error when building a recipe
@ 2015-02-17 16:17 Alexandru Vaduva
2015-02-17 17:07 ` Bruce Ashfield
0 siblings, 1 reply; 5+ messages in thread
From: Alexandru Vaduva @ 2015-02-17 16:17 UTC (permalink / raw)
To: yocto
When trying to build 'oracle-jse-jdk' from meta-oracle-java layer I found this errors.
ERROR: Nothing PROVIDES 'oracle-jse-jdk'
ERROR: oracle-jse-jdk was skipped: True
bitbake-layers show-recipes | grep "oracle-"
Parsing recipes..done.
oracle-jse-jdk:
meta-oracle-java 1.7.0 (skipped)
oracle-jse-jre:
meta-oracle-java 1.7.0
Any idea of why this recipe is skipped?
Alex Vaduva
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java error when building a recipe
2015-02-17 16:17 meta-oracle-java error when building a recipe Alexandru Vaduva
@ 2015-02-17 17:07 ` Bruce Ashfield
2015-02-17 18:31 ` Alexandru Vaduva
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2015-02-17 17:07 UTC (permalink / raw)
To: Alexandru Vaduva, yocto
On 15-02-17 11:17 AM, Alexandru Vaduva wrote:
> When trying to build 'oracle-jse-jdk' from meta-oracle-java layer I found this errors.
> ERROR: Nothing PROVIDES 'oracle-jse-jdk'
> ERROR: oracle-jse-jdk was skipped: True
>
> bitbake-layers show-recipes | grep "oracle-"
> Parsing recipes..done.
> oracle-jse-jdk:
> meta-oracle-java 1.7.0 (skipped)
> oracle-jse-jre:
> meta-oracle-java 1.7.0
> Any idea of why this recipe is skipped?
There's a built in skip based on the architecture of your build.
What exact config are you using ?
Bruce
>
>
> Alex Vaduva
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java error when building a recipe
2015-02-17 17:07 ` Bruce Ashfield
@ 2015-02-17 18:31 ` Alexandru Vaduva
2015-02-17 18:35 ` Bruce Ashfield
0 siblings, 1 reply; 5+ messages in thread
From: Alexandru Vaduva @ 2015-02-17 18:31 UTC (permalink / raw)
To: Bruce Ashfield, Alexandru Vaduva, yocto
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
I am building for an arm v7.
On Tuesday, February 17, 2015 7:08 PM, Bruce Ashfield <bruce.ashfield@windriver.com> wrote:
On 15-02-17 11:17 AM, Alexandru Vaduva wrote:
> When trying to build 'oracle-jse-jdk' from meta-oracle-java layer I found this errors.
> ERROR: Nothing PROVIDES 'oracle-jse-jdk'
> ERROR: oracle-jse-jdk was skipped: True
>
> bitbake-layers show-recipes | grep "oracle-"
> Parsing recipes..done.
> oracle-jse-jdk:
> meta-oracle-java 1.7.0 (skipped)
> oracle-jse-jre:
> meta-oracle-java 1.7.0
> Any idea of why this recipe is skipped?
There's a built in skip based on the architecture of your build.
What exact config are you using ?
Bruce
>
>
> Alex Vaduva
>
>
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
[-- Attachment #2: Type: text/html, Size: 2391 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java error when building a recipe
2015-02-17 18:31 ` Alexandru Vaduva
@ 2015-02-17 18:35 ` Bruce Ashfield
2015-02-17 18:43 ` Paul Eggleton
0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2015-02-17 18:35 UTC (permalink / raw)
To: Alexandru Vaduva, Alexandru Vaduva, yocto
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.
Cheers,
Bruce
>
>
> On Tuesday, February 17, 2015 7:08 PM, Bruce Ashfield
> <bruce.ashfield@windriver.com> wrote:
>
>
> On 15-02-17 11:17 AM, Alexandru Vaduva wrote:
> > When trying to build 'oracle-jse-jdk' from meta-oracle-java layer I
> found this errors.
> > ERROR: Nothing PROVIDES 'oracle-jse-jdk'
> > ERROR: oracle-jse-jdk was skipped: True
> >
> > bitbake-layers show-recipes | grep "oracle-"
> > Parsing recipes..done.
> > oracle-jse-jdk:
> > meta-oracle-java 1.7.0 (skipped)
> > oracle-jse-jre:
> > meta-oracle-java 1.7.0
> > Any idea of why this recipe is skipped?
>
> There's a built in skip based on the architecture of your build.
> What exact config are you using ?
>
> Bruce
>
>
> >
> >
> > Alex Vaduva
> >
> >
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java error when building a recipe
2015-02-17 18:35 ` Bruce Ashfield
@ 2015-02-17 18:43 ` Paul Eggleton
0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggleton @ 2015-02-17 18:43 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-02-17 18:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-17 16:17 meta-oracle-java error when building a recipe Alexandru Vaduva
2015-02-17 17:07 ` Bruce Ashfield
2015-02-17 18:31 ` Alexandru Vaduva
2015-02-17 18:35 ` Bruce Ashfield
2015-02-17 18:43 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.