Skip to contentSkip to conversation

Fix dependency issues for librdmacm and glusterfs

PATCH In review [email protected] 2 participants 6 messages May 6, 2019 – May 7, 2019

lore
Share & tools
lore
#0 lore raw

v2 cover Fix dependency issues for librdmacm and glusterfs

From: Kai Kang <[email protected]>

Re-send v2:
* Maybe wrong recipient in previous v2 thread, Bruce didn't recieve the 3rd patch. So re-send.

Kai Kang (3):
glusterfs: remove PACKAGECONFIG libibverbs for arm 32 and mips
librdmacm: set imcompatible with arm 32 and mips arches layer.conf: depends on meta-filesystems

 conf/layer.conf                               | 2 +-
 recipes-extended/glusterfs/glusterfs.inc      | 3 +++
 recipes-extended/librdmacm/librdmacm_1.1.0.bb | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.0
#1 lore raw

PATCH v2 1/3 glusterfs: remove PACKAGECONFIG libibverbs for arm 32 and mips

From: Kai Kang <[email protected]>

Package libibverbs has been set imcompatible with arm 32 and mips arches by commit 215b975. So disable libibverbs support of glusterfs for arm 32 and mips arches too.

---
 recipes-extended/glusterfs/glusterfs.inc | 3 +++
 1 file changed, 3 insertions(+)
recipes-extended/glusterfs/glusterfs.inc +3 -0
index ab5f4e0..692d74a 100644
@@ -50,6 +50,9 @@ EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \
                "
 
 PACKAGECONFIG ??= "georeplication libibverbs"
+PACKAGECONFIG_remove_mipsarch = "libibverbs"
+PACKAGECONFIG_remove_arm = "libibverbs"
+
 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,,"
 PACKAGECONFIG[georeplication] = "--enable-georeplication,--disable-georeplication,,rsync"
 PACKAGECONFIG[libibverbs] = "--enable-ibverbs,--disable-ibverbs,virtual/libibverbs librdmacm,"
Signature · 1 line
2.20.0
#2 lore raw

PATCH v2 2/3 librdmacm: set imcompatible with arm 32 and mips arches

In reply to [email protected]

From: Kai Kang <[email protected]>

librdmacm depends on package libibverbs which has been set imcompatible with arm 32 and mips arches by commit 215b975.

When build librdmacm it shows errors:

| NOTE: Resolving any missing task queue dependencies
| ERROR: Nothing PROVIDES 'virtual/libibverbs' (but
|   .../meta-cloud-services/recipes-extended/librdmacm/librdmacm_1.1.0.bb
|   DEPENDS on or otherwise requires it)
| libibverbs PROVIDES virtual/libibverbs but was skipped: incompatible
|   with host arm-wrs-linux-gnueabi (not in COMPATIBLE_HOST)
| ERROR: Required build target 'librdmacm' has no buildable providers.
|   Missing or unbuildable dependency chain was: ['librdmacm', 'virtual/libibverbs']

So set librdmacm imcompatible with arm 32 and mips arches too.

---
 recipes-extended/librdmacm/librdmacm_1.1.0.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-extended/librdmacm/librdmacm_1.1.0.bb +3 -0
index 30a0c94..edf92f0 100644
@@ -39,3 +39,6 @@ do_install_append() {
         rm -f ${D}${libdir}/librdmacm.la
         rm -f ${D}${libdir}/rsocket/librspreload.la
 }
+
+COMPATIBLE_HOST_mipsarch = "none"
+COMPATIBLE_HOST_arm = "none"
Signature · 1 line
2.20.0
#3 lore raw

PATCH v2 3/3 layer.conf: depends on meta-filesystems

In reply to [email protected]

From: Kai Kang <[email protected]>

Package glusterfs requires fuse which is from layer meta-filesystems. So update layer.conf to depend on the layer.

---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/layer.conf +1 -1
index 8df9829..203f9db 100644
@@ -8,4 +8,4 @@ BBFILE_COLLECTIONS += "cloud-services-layer"
 BBFILE_PATTERN_cloud-services-layer := "^${LAYERDIR}/"
 BBFILE_PRIORITY_cloud-services-layer = "5"
 LAYERSERIES_COMPAT_cloud-services-layer = "thud warrior"
-LAYERDEPENDS_cloud-services-layer = "core"
+LAYERDEPENDS_cloud-services-layer = "core filesystems-layer"
Signature · 1 line
2.20.0
#4 lore raw
In reply to [email protected]
Quoted 6 lines · On Sun, May 5, 2019 at 10:17 PM <[email protected]> wrote:

From: Kai Kang <[email protected]>

Re-send v2:
* Maybe wrong recipient in previous v2 thread, Bruce didn't recieve the 3rd patch. So re-send.

thanks. I got all three this time.

They are now merged.

Bruce

Quoted 15 lines

Kai Kang (3):
glusterfs: remove PACKAGECONFIG libibverbs for arm 32 and mips
librdmacm: set imcompatible with arm 32 and mips arches layer.conf: depends on meta-filesystems

 conf/layer.conf                               | 2 +-
 recipes-extended/glusterfs/glusterfs.inc      | 3 +++
 recipes-extended/librdmacm/librdmacm_1.1.0.bb | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

--
2.20.0

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
author
#5 lore raw
Quoted 7 lines · Bruce Ashfield

On Sun, May 5, 2019 at 10:17 PM <[email protected] <mailto:[email protected]>> wrote:

From: Kai Kang <[email protected]
<mailto:[email protected]>>

Quoted 8 lines

Re-send v2:
* Maybe wrong recipient in previous v2 thread, Bruce didn't recieve the 3rd patch. So re-send.

thanks. I got all three this time.

They are now merged.

Thanks.

Kai

Quoted 25 lines

Bruce

Kai Kang (3):
  glusterfs: remove PACKAGECONFIG libibverbs for arm 32 and mips
  librdmacm: set imcompatible with arm 32 and mips arches layer.conf: depends on meta-filesystems

 conf/layer.conf                               | 2 +- recipes-extended/glusterfs/glusterfs.inc      | 3 +++ recipes-extended/librdmacm/librdmacm_1.1.0.bb
<http://librdmacm_1.1.0.bb> | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

--
2.20.0

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await 
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
Signature · 1 line
Kai Kang