diff mbox series

[oe,meta-networking] openipmi: Mark libOpenIPMI.so.0 as private lib in openipmi-perl

Message ID 20190928013543.3537073-1-raj.khem@gmail.com
State Accepted
Commit b3dd5f95ce667e3b8e568ec98d717a62e71a250b
Headers show
Series [oe,meta-networking] openipmi: Mark libOpenIPMI.so.0 as private lib in openipmi-perl | expand

Commit Message

Khem Raj Sept. 28, 2019, 1:35 a.m. UTC
libOpenIPMI.so.0 is SONAME for openIPMI.so in openipmi-perl package
which means the shlibs code will automatically add it as a provider for
this shared library but actual public library is provided by openipmi
package, and it results in

ERROR: openipmi-2.0.27-r0 do_package: openipmi: Multiple shlib providers for libOpenIPMI.so.0: openipmi-perl, openipmi (used by files: /mnt/jenkins/workspace/Yocto-world-musl/build/tmp/work/aarch64-yoe-linux/openipmi/2.0.27-r0/packages-split/openipmi/usr/bin/openipmi_eventd)

The library in perl package is actually not required to compete to
provide for public interfaces

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-networking/recipes-support/openipmi/openipmi_2.0.27.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/openipmi/openipmi_2.0.27.bb b/meta-networking/recipes-support/openipmi/openipmi_2.0.27.bb
index 51cc256890..f092780399 100644
--- a/meta-networking/recipes-support/openipmi/openipmi_2.0.27.bb
+++ b/meta-networking/recipes-support/openipmi/openipmi_2.0.27.bb
@@ -51,6 +51,7 @@  PACKAGECONFIG ??= "gdbm"
 PACKAGECONFIG[gdbm] = "ac_cv_header_gdbm_h=yes,ac_cv_header_gdbm_h=no,gdbm,"
 
 PACKAGES += "${PN}-perl ${PN}-python"
+PRIVATE_LIBS_${PN}-perl = "libOpenIPMI.so.0"
 
 FILES_${PN}-perl = " \
     ${libdir}/perl/vendor_perl/*/OpenIPMI.pm \