Skip to contentSkip to conversation

collectd: build with rrdcached plugin

PATCH New [email protected] 1 participant 1 message Sep 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 collectd: build with rrdcached plugin

From: Βούλγαρη Αικατερίνη <[email protected]>

rrdcached package is provided by rrdtool recipe. The build dependency in PACKAGECONFIG is changed to rrdtool.
The error was:
Nothing PROVIDES 'rrdcached' but ../collectd_5.12.0.bb DEPENDS on or otherwise requires it). Close matches:
rrdtool RPROVIDES rrdcached
ERROR: Required build target 'collectd' has no buildable providers.
Missing or unbuildable dependency chain was: ['collectd', 'rrdcached']

With the patch, collectd builds with no errors and the final image I tested includes collectd with rrdcached plugin. Tested on custom image with collectd_5.12.0.

---
 meta-oe/recipes-extended/collectd/collectd_5.12.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/collectd/collectd_5.12.0.bb +1 -1
index 5dc64588d..479c12d6a 100644
@@ -50,7 +50,7 @@ PACKAGECONFIG[libmnl] = "--with-libmnl,--without-libmnl,libmnl"
 PACKAGECONFIG[libatasmart] = "--with-libatasmart,--without-libatasmart,libatasmart"
 PACKAGECONFIG[ldap] = "--enable-openldap --with-libldap,--disable-openldap --without-libldap, openldap"
 PACKAGECONFIG[rrdtool] = "--enable-rrdtool,--disable-rrdtool,rrdtool"
-PACKAGECONFIG[rrdcached] = "--enable-rrdcached,--disable-rrdcached,rrdcached"
+PACKAGECONFIG[rrdcached] = "--enable-rrdcached,--disable-rrdcached,rrdtool"
 PACKAGECONFIG[python] = "--enable-python,--disable-python"
 
 EXTRA_OECONF = " \
Signature · 1 line
2.34.1