Skip to contentSkip to conversation

libibverbs: don't do battle when meta-dpdk is in play

PATCH In review Mark Asselstine 2 participants 2 messages Dec 15, 2017 – Dec 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libibverbs: don't do battle when meta-dpdk is in play

The meta-dpdk layer has its own special version of libibverbs which will conflict with our version:

Error: Transaction check error:
file /usr/lib64/libibverbs.so.1.0.0 conflicts between attempted installs of \
libibverbs1-1.1.7-r0.corei7_64 and dpdk-dev-libibverbs-1.2.1+3.4+2.0.0.0-r0.corei7_64

Ensure only our version or the meta-dpdk version is in use. With current layer priorities and such this should result in the meta-dpdk version being used, which is fine since if DPDK is desired we are best using the version recommended by meta-dpdk. Users can use PREFERRED_VERSION or other tools to override the default behavior.

---
 recipes-extended/libibverbs/libibverbs_1.1.7.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-extended/libibverbs/libibverbs_1.1.7.bb +2 -0
index e75f90d..9fc0d6e 100644
@@ -25,3 +25,5 @@ do_install_append() {
         mkdir -p ${D}${sysconfdir}/libibverbs.d
         rm -f ${D}${libdir}/libibverbs.la
 }
+
+RCONFLICTS_${PN} = "dpdk-dev-libibverbs"
Signature · 1 line
2.7.4
#1 lore raw

merged!

Bruce

Quoted 36 lines · Mark Asselstine

The meta-dpdk layer has its own special version of libibverbs which will conflict with our version:

Error: Transaction check error:
file /usr/lib64/libibverbs.so.1.0.0 conflicts between attempted installs of \
libibverbs1-1.1.7-r0.corei7_64 and dpdk-dev-libibverbs-1.2.1+3.4+2.0.0.0-r0.corei7_64

Ensure only our version or the meta-dpdk version is in use. With current layer priorities and such this should result in the meta-dpdk version being used, which is fine since if DPDK is desired we are best using the version recommended by meta-dpdk. Users can use PREFERRED_VERSION or other tools to override the default behavior.

---
 recipes-extended/libibverbs/libibverbs_1.1.7.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-extended/libibverbs/libibverbs_1.1.7.bb +2 -1
index e75f90d..9fc0d6e 100644
@@ -25,3 +25,5 @@ do_install_append() {
         mkdir -p ${D}${sysconfdir}/libibverbs.d
         rm -f ${D}${libdir}/libibverbs.la
 }
+
+RCONFLICTS_${PN} = "dpdk-dev-libibverbs"
--

2.7.4

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

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"