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.dal...@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.k...@gmail.com> wrote:
>
>> On Fri, Jan 17, 2014 at 11:46 AM, Ashish Dalela <ashish.dal...@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
>> >
>>
>
>
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to