* meta-oracle-java fails
@ 2014-01-17 19:46 Ashish Dalela
2014-01-17 19:53 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Ashish Dalela @ 2014-01-17 19:46 UTC (permalink / raw)
To: Yocto list discussion
[-- Attachment #1: Type: text/plain, Size: 689 bytes --]
Hi,
I'm trying to build JDK and JRE using the meta-oracle-java recipes. The
recipes build fine, but during do_rootfs (core-image-basic) I see the
following errors:
FOR JRE:
| Computing transaction...error: Can't install
oracle-jse-jre-i586-1.7.0-u25r0@i586: no package provides libavcodec.so.52
FOR JDK:
| Computing transaction...error: Can't install
oracle-jse-jdk-i586-1.7.0-u51r0@i586: no package provides
libavcodec.so.52(LIBAVCODEC_52)
meta/recipes-multimedia/libav/libav_0.7.4.bb builds libavcodec.so.53.
Does anyone know how to fix this issue?
I already tried manually copying libavcodec.so.53 to libavcodec.so.52 but
it does not help.
Thanks
-Ashish
[-- Attachment #2: Type: text/html, Size: 977 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java fails
2014-01-17 19:46 meta-oracle-java fails Ashish Dalela
@ 2014-01-17 19:53 ` Khem Raj
2014-01-17 20:16 ` Ashish Dalela
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2014-01-17 19:53 UTC (permalink / raw)
To: Ashish Dalela; +Cc: Yocto list discussion
On Fri, Jan 17, 2014 at 11:46 AM, Ashish Dalela <ashish.dalela@gmail.com> wrote:
>
> Hi,
>
> I'm trying to build JDK and JRE using the meta-oracle-java recipes. The
> recipes build fine, but during do_rootfs (core-image-basic) I see the
> following errors:
>
> FOR JRE:
> | Computing transaction...error: Can't install
> oracle-jse-jre-i586-1.7.0-u25r0@i586: no package provides libavcodec.so.52
>
> FOR JDK:
> | Computing transaction...error: Can't install
> oracle-jse-jdk-i586-1.7.0-u51r0@i586: no package provides
> libavcodec.so.52(LIBAVCODEC_52)
>
> meta/recipes-multimedia/libav/libav_0.7.4.bb builds libavcodec.so.53.
>
> Does anyone know how to fix this issue?
add libav to DEPENDS in recipe which is providing oracle-jse-jdk
>
> I already tried manually copying libavcodec.so.53 to libavcodec.so.52 but it
> does not help.
>
> Thanks
> -Ashish
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java fails
2014-01-17 19:53 ` Khem Raj
@ 2014-01-17 20:16 ` Ashish Dalela
2014-01-20 5:45 ` Ashish Dalela
0 siblings, 1 reply; 5+ messages in thread
From: Ashish Dalela @ 2014-01-17 20:16 UTC (permalink / raw)
To: Khem Raj; +Cc: Yocto list discussion
[-- Attachment #1: Type: text/plain, Size: 1341 bytes --]
I already have the following in my jdk and jre recipes:
DEPENDS = "libav gtk+ libxslt libxtst"
Should I have RDEPENDS?
Thanks
-Ashish
On Sat, Jan 18, 2014 at 1:23 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Fri, Jan 17, 2014 at 11:46 AM, Ashish Dalela <ashish.dalela@gmail.com>
> wrote:
> >
> > Hi,
> >
> > I'm trying to build JDK and JRE using the meta-oracle-java recipes. The
> > recipes build fine, but during do_rootfs (core-image-basic) I see the
> > following errors:
> >
> > FOR JRE:
> > | Computing transaction...error: Can't install
> > oracle-jse-jre-i586-1.7.0-u25r0@i586: no package provides
> libavcodec.so.52
> >
> > FOR JDK:
> > | Computing transaction...error: Can't install
> > oracle-jse-jdk-i586-1.7.0-u51r0@i586: no package provides
> > libavcodec.so.52(LIBAVCODEC_52)
> >
> > meta/recipes-multimedia/libav/libav_0.7.4.bb builds libavcodec.so.53.
> >
> > Does anyone know how to fix this issue?
>
> add libav to DEPENDS in recipe which is providing oracle-jse-jdk
>
> >
> > I already tried manually copying libavcodec.so.53 to libavcodec.so.52
> but it
> > does not help.
> >
> > Thanks
> > -Ashish
> >
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
[-- Attachment #2: Type: text/html, Size: 2166 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java fails
2014-01-17 20:16 ` Ashish Dalela
@ 2014-01-20 5:45 ` Ashish Dalela
2014-01-20 6:43 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Ashish Dalela @ 2014-01-20 5:45 UTC (permalink / raw)
To: Khem Raj; +Cc: Yocto list discussion
[-- Attachment #1: Type: text/plain, Size: 2171 bytes --]
I need help on this one to resolve the problem. I have noticed that the
Java download from Oracle website has library dependencies on both .52 and
.53 versions. This in itself is unusual because in Yocto we expect only one
library version. But, as it may be, to use this recipe I need to get two
versions of libav.
1. How can I force libav recipe to build two versions (.52 and .53) instead
of one? I am currently copying .53 to .52 in the do_install_append, but it
doesn't seem to help.
2. How does Yocto build determine that a package does not support a
particular version? What files/data is it looking up before it comes to
that conclusion?
Thanks
-Ashish
On Sat, Jan 18, 2014 at 1:46 AM, Ashish Dalela <ashish.dalela@gmail.com>wrote:
> I already have the following in my jdk and jre recipes:
>
> DEPENDS = "libav gtk+ libxslt libxtst"
>
> Should I have RDEPENDS?
>
> Thanks
> -Ashish
>
>
> On Sat, Jan 18, 2014 at 1:23 AM, Khem Raj <raj.khem@gmail.com> wrote:
>
>> On Fri, Jan 17, 2014 at 11:46 AM, Ashish Dalela <ashish.dalela@gmail.com>
>> wrote:
>> >
>> > Hi,
>> >
>> > I'm trying to build JDK and JRE using the meta-oracle-java recipes. The
>> > recipes build fine, but during do_rootfs (core-image-basic) I see the
>> > following errors:
>> >
>> > FOR JRE:
>> > | Computing transaction...error: Can't install
>> > oracle-jse-jre-i586-1.7.0-u25r0@i586: no package provides
>> libavcodec.so.52
>> >
>> > FOR JDK:
>> > | Computing transaction...error: Can't install
>> > oracle-jse-jdk-i586-1.7.0-u51r0@i586: no package provides
>> > libavcodec.so.52(LIBAVCODEC_52)
>> >
>> > meta/recipes-multimedia/libav/libav_0.7.4.bb builds libavcodec.so.53.
>> >
>> > Does anyone know how to fix this issue?
>>
>> add libav to DEPENDS in recipe which is providing oracle-jse-jdk
>>
>> >
>> > I already tried manually copying libavcodec.so.53 to libavcodec.so.52
>> but it
>> > does not help.
>> >
>> > Thanks
>> > -Ashish
>> >
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>> >
>>
>
>
[-- Attachment #2: Type: text/html, Size: 3443 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: meta-oracle-java fails
2014-01-20 5:45 ` Ashish Dalela
@ 2014-01-20 6:43 ` Khem Raj
0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2014-01-20 6:43 UTC (permalink / raw)
To: Ashish Dalela; +Cc: Yocto list discussion
[-- Attachment #1: Type: text/plain, Size: 2567 bytes --]
On Monday, January 20, 2014 11:15:44 AM Ashish Dalela wrote:
> I need help on this one to resolve the problem. I have noticed that the
> Java download from Oracle website has library dependencies on both .52 and
> .53 versions. This in itself is unusual because in Yocto we expect only one
> library version. But, as it may be, to use this recipe I need to get two
> versions of libav.
>
> 1. How can I force libav recipe to build two versions (.52 and .53) instead
> of one? I am currently copying .53 to .52 in the do_install_append, but it
> doesn't seem to help.
you can add a new recipe something like libav52.bb which installs .53
make sure that library package renaming doesnt create same providers in both
.53 and .52 versions
>
> 2. How does Yocto build determine that a package does not support a
> particular version? What files/data is it looking up before it comes to
> that conclusion?
>
> Thanks
> -Ashish
>
> On Sat, Jan 18, 2014 at 1:46 AM, Ashish Dalela
<ashish.dalela@gmail.com>wrote:
> > I already have the following in my jdk and jre recipes:
> >
> > DEPENDS = "libav gtk+ libxslt libxtst"
> >
> > Should I have RDEPENDS?
> >
> > Thanks
> > -Ashish
> >
> > On Sat, Jan 18, 2014 at 1:23 AM, Khem Raj <raj.khem@gmail.com> wrote:
> >> On Fri, Jan 17, 2014 at 11:46 AM, Ashish Dalela <ashish.dalela@gmail.com>
> >>
> >> wrote:
> >> > Hi,
> >> >
> >> > I'm trying to build JDK and JRE using the meta-oracle-java recipes. The
> >> > recipes build fine, but during do_rootfs (core-image-basic) I see the
> >> > following errors:
> >> >
> >> > FOR JRE:
> >> > | Computing transaction...error: Can't install
> >> >
> >> > oracle-jse-jre-i586-1.7.0-u25r0@i586: no package provides
> >>
> >> libavcodec.so.52
> >>
> >> > FOR JDK:
> >> > | Computing transaction...error: Can't install
> >> >
> >> > oracle-jse-jdk-i586-1.7.0-u51r0@i586: no package provides
> >> > libavcodec.so.52(LIBAVCODEC_52)
> >> >
> >> > meta/recipes-multimedia/libav/libav_0.7.4.bb builds libavcodec.so.53.
> >> >
> >> > Does anyone know how to fix this issue?
> >>
> >> add libav to DEPENDS in recipe which is providing oracle-jse-jdk
> >>
> >> > I already tried manually copying libavcodec.so.53 to libavcodec.so.52
> >>
> >> but it
> >>
> >> > does not help.
> >> >
> >> > Thanks
> >> > -Ashish
> >> >
> >> > _______________________________________________
> >> > yocto mailing list
> >> > yocto@yoctoproject.org
> >> > https://lists.yoctoproject.org/listinfo/yocto
--
-Khem
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-20 7:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 19:46 meta-oracle-java fails Ashish Dalela
2014-01-17 19:53 ` Khem Raj
2014-01-17 20:16 ` Ashish Dalela
2014-01-20 5:45 ` Ashish Dalela
2014-01-20 6:43 ` Khem Raj
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.