[yocto] meta-oracle-java fails

Khem Raj raj.khem at gmail.com
Sun Jan 19 22:43:55 PST 2014


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 at 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 at gmail.com> wrote:
> >> On Fri, Jan 17, 2014 at 11:46 AM, Ashish Dalela <ashish.dalela at 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 at i586: no package provides
> >> 
> >> libavcodec.so.52
> >> 
> >> > FOR JDK:
> >> > | Computing transaction...error: Can't install
> >> > 
> >> > oracle-jse-jdk-i586-1.7.0-u51r0 at 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 at yoctoproject.org
> >> > https://lists.yoctoproject.org/listinfo/yocto

-- 
-Khem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140119/75fec89a/attachment.pgp>


More information about the yocto mailing list