Skip to contentSkip to conversation

net-snmp-native: dependency with libpci-native

PATCH New Christos Gavros 1 participant 1 message Jan 28, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 net-snmp-native: dependency with libpci-native

Building of net-snmp-native aborted due to missing dependency with libpci-native. Fixed by keeping the dependency on for target recipe and removing it for native

CC Yoann Congal <[email protected]>
CC Randy MacLeod <[email protected]>

---
v1->v2
* shortlog changed
* description changed
* remove libpci from RDEPENDS:${PN}-libs
* add libpci to new RDEPENDS only for target

---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +2 -2
index 06decbe852..61a2a3d1a8 100644
@@ -268,12 +268,12 @@ RDEPENDS:${PN}-server-snmpd += "net-snmp-mibs"
 RDEPENDS:${PN}-server-snmptrapd += "net-snmp-server-snmpd ${PN}-lib-trapd"
 RDEPENDS:${PN}-server += "net-snmp-server-snmpd net-snmp-server-snmptrapd"
 RDEPENDS:${PN}-client += "net-snmp-mibs net-snmp-libs"
-RDEPENDS:${PN}-libs += "libpci \
-                        ${PN}-lib-netsnmp \
+RDEPENDS:${PN}-libs += "${PN}-lib-netsnmp \
                         ${PN}-lib-agent \
                         ${PN}-lib-helpers \
                         ${PN}-lib-mibs \
 "
+RDEPENDS:append:${PN}-libs:class-target = " libpci"
 RDEPENDS:${PN}-ptest += "perl \
                          perl-module-test \
                          perl-module-file-basename \
Signature · 1 line
2.34.1