Skip to contentSkip to conversation

jikes: fix absolute symlink error

PATCH In review Maxin B. John 2 participants 4 messages Mar 13, 2017 – Mar 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 jikes: fix absolute symlink error

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

---
 recipes-core/jikes/jikes_1.22.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/jikes/jikes_1.22.bb +1 -1
index 0c33118..a35cfcf 100644
@@ -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"
 
Signature · 1 line
2.4.0
#1 lore raw
Quoted 28 lines · Maxin B. John

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

---
 recipes-core/jikes/jikes_1.22.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/jikes/jikes_1.22.bb +1 -2
index 0c33118..a35cfcf 100644
@@ -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"
 
--
Quoted 2 lines

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?

#2 lore raw

Hi Dan,

Quoted 28 lines · Dan McGregor
Quoted 27 lines · Maxin B. John

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

---
 recipes-core/jikes/jikes_1.22.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/jikes/jikes_1.22.bb +1 -1
index 0c33118..a35cfcf 100644
@@ -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"
 
Quoted 7 lines
Quoted 3 lines

--
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.

Best Regards,
Maxin

#3 lore raw
Quoted 39 lines · Maxin B. John

Hi Dan,

Quoted 28 lines · Dan McGregor
Quoted 27 lines · Maxin B. John

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

---
 recipes-core/jikes/jikes_1.22.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/jikes/jikes_1.22.bb +1 -1
index 0c33118..a35cfcf 100644
@@ -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"
 
Quoted 7 lines
Quoted 3 lines

--
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?

Quoted 8 lines

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.

Quoted 2 lines

Best Regards,
Maxin