Skip to contentSkip to conversation

glusterfs: remove PACKAGECONFIG libibverbs for arm 32 and mips

PATCH In review [email protected] 2 participants 4 messages Apr 28, 2019 – May 1, 2019

lore
Share & tools
lore
#0 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
#1 lore raw

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

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
#2 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
#3 lore raw
In reply to [email protected]

Is there a patch 2/3 in this v2 series ? I don't see it in my inbox(s).

Bruce

Quoted 37 lines · On Sat, Apr 27, 2019 at 9:33 PM <[email protected]> wrote:

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," --
2.20.0

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

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