From: Khem Raj <raj.khem@gmail.com>
To: Ashish Dalela <ashish.dalela@gmail.com>
Cc: Yocto list discussion <yocto@yoctoproject.org>
Subject: Re: meta-oracle-java fails
Date: Sun, 19 Jan 2014 22:43:55 -0800 [thread overview]
Message-ID: <77247586.nOUUETFFot@leo> (raw)
In-Reply-To: <CABhkJRc_V2uA40Hct1FbJ8GpBMSsum+NRm8Hkq9Z18spqfWxag@mail.gmail.com>
[-- 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 --]
prev parent reply other threads:[~2014-01-20 7:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=77247586.nOUUETFFot@leo \
--to=raj.khem@gmail.com \
--cc=ashish.dalela@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.