net-snmp-native: dependency with libpci
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 net-snmp-native: dependency with libpci
Building of net-snmp-native aborted due to missing dependency with libpci-native. Fixed by changing the name to 'libpciaccess' which is recipe's name
--- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +1 -1
@@ -268,7 +268,7 @@ 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 \ +RDEPENDS:${PN}-libs += "libpciaccess \ ${PN}-lib-netsnmp \ ${PN}-lib-agent \ ${PN}-lib-helpers \
Signature · 1 line
2.34.1
if its a build time issue then shouldn't it be added to DEPENDS ?
Quoted 36 lines · Christos Gavros via lists.openembedded.org
Building of net-snmp-native aborted due to
missing dependency with libpci-native.
Fixed by changing the name to 'libpciaccess'
which is recipe's nameSigned-off-by Christos Gavros <[email protected]>--- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +1
-2@@ -268,7 +268,7 @@ 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 \ +RDEPENDS:${PN}-libs += "libpciaccess \ ${PN}-lib-netsnmp \ ${PN}-lib-agent \ ${PN}-lib-helpers \ --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115077): https://lists.openembedded.org/g/openembedded-devel/message/115077
Mute This Topic: https://lists.openembedded.org/mt/110805858/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 17 lines · Khem Raj
if its a build time issue then shouldn't it be added to DEPENDS ?
Quoted 11 lines · Christos Gavros via lists.openembedded.org
Building of net-snmp-native aborted due to
missing dependency with libpci-native.
Fixed by changing the name to 'libpciaccess'
which is recipe's nameSigned-off-by Christos Gavros <[email protected]>--- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 10 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb RDEPENDS:${PN}-server-snmpd += "net-snmp-mibs" · line 271
Quoted 10 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +1
-1@@ -268,7 +268,7 @@ 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 \ +RDEPENDS:${PN}-libs += "libpciaccess \
looking further, libpci is a package built by pciutils recipe and its added to DEPENDS here but only
for target recipe. if we know this is not needed for native version then we should mark the rdepends
for target too. So remove it from RDEPENDS:${PN}-libs and Add something like this
RDEPENDS:append:${PN}-libs:class-target = " libpci"
Quoted 15 lines
Quoted 15 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +0
-1${PN}-lib-netsnmp \ ${PN}-lib-agent \ ${PN}-lib-helpers \ --2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115077): https://lists.openembedded.org/g/openembedded-devel/message/115077
Mute This Topic: https://lists.openembedded.org/mt/110805858/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
hi
I made the change you suggested and test it (bitbake net-snap-native) locally. The building is successful. Give me some time to discuss it with 'CC' fellows for my understanding and I will submit a v2 during the week.
Thank you
Christos
hi Raj,
i have made some further investigation with the support of Yoann Congal about this issue.
It seems that 'net-snmp-native' started breaking after the following patch which includes changes in native.bbclass to handle recipes/packages with suffix:
https://git.yoctoproject.org/poky/commit/?id=d26c72b7dccaf4802914dafcc95911f4d166086d
Before patch -> RDEPENDS: net-snmp-native-libs = libpci-native net-snmp-lib-netsnmp-native ..... After patch -> RDEPENDS: net-snmp-libs-native = libpci-native net-snmp-lib-netsnmp-native .....
It looks that the issue was already there but after the patch it is exposed.
I have tested the changes you proposed locally and build successfully 'net-snmp' and 'net-snmp-native'. I will prepare the v2 and send it unless you want me to test something more..
Br
Christos