[oe] [meta-java][PATCH] jikes: fix absolute symlink error

Dan McGregor danismostlikely at gmail.com
Fri Mar 17 16:53:55 UTC 2017


On 17 March 2017 at 07:44, Maxin B. John <maxin.john at intel.com> wrote:
> Hi Dan,
>
> On Thu, Mar 16, 2017 at 10:42:43AM -0600, Dan McGregor wrote:
>> On 13 March 2017 at 03:22, Maxin B. John <maxin.john at intel.com> wrote:
>> > The following oe-core commit made asbolute symlink an error:
>> >
>> > commit 3eee8e99e114b3db8b718834ca52da8d2919b83f
>> > sstate: Make absolute symlinks an error
>> >
>> > Fix this by inheritting relative_symlinks class:
>> > ERROR: jikes-native-1.22-r0 do_populate_sysroot: sstate found an
>> > absolute path symlink
>> >
>> > Signed-off-by: Maxin B. John <maxin.john at intel.com>
>> > ---
>> >  recipes-core/jikes/jikes_1.22.bb | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/recipes-core/jikes/jikes_1.22.bb b/recipes-core/jikes/jikes_1.22.bb
>> > index 0c33118..a35cfcf 100644
>> > --- a/recipes-core/jikes/jikes_1.22.bb
>> > +++ b/recipes-core/jikes/jikes_1.22.bb
>> > @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \
>> >                     "
>> >  SRC_URI = "${SOURCEFORGE_MIRROR}/jikes/jikes-${PV}.tar.bz2"
>> >
>> > -inherit autotools update-alternatives
>> > +inherit autotools update-alternatives relative_symlinks
>> >
>> >  BBCLASSEXTEND = "native"
>> >
>> > --
>> > 2.4.0
>> >
>>
>> This change makes the layer depend on master, not krogoth or master
>> like the README says. Should we add the relative_symlinks
>> functionality locally, or update the README?
>
> You are right. This functionality depends on the master branch. It also
> reminds me that meta-java has been particularly bad in keeping up with
> branching of oe-core releases.
>
> I have been testing some patches to remove "meta-oe" dependency for
> "meta-java" layer (PACKAGECONFIG way). Will update README along that
> patchset. Hope that is ok.
>

It works for me. We're currently using krogoth, but plan to move to
master after it's branched. We can keep using an older snapshot of
meta-java for now.

Thanks.

> Best Regards,
> Maxin



More information about the Openembedded-devel mailing list