[oe] [PATCH][meta-oe] collectd: fix libvirt PACKAGECONFIG

Martin Jansa martin.jansa at gmail.com
Fri Jun 15 18:26:14 UTC 2018


* fixes:
  ERROR: collectd-5.8.0-r0 do_configure: QA Issue: collectd: configure was passed unrecognised options: --disable-libvirt [unknown-configure-option]
* the PACKAGECONFIG in meta-oe was introduced long time ago:

commit 5fbe2ac4e8ff67707b907c736966ee3d3357fd0d
Author: Wenzong Fan <wenzong.fan at windriver.com>
Date:Tue Dec 23 16:55:50 2014 +0800

 collectd: add PACKAGECONFIG for libvirt, libesmtp

 Add PACKAGECONFIG for libvirt, libesmtp to fix below warnings:

and at that time in 5.4.1 there was libvirt (renamed from libvirtstats) option, since this commit:
https://github.com/collectd/collectd/commit/553376a3a6c63875c84b406962e56b908dc4e675

but then in 5.5.0 it was renamed again to just virt:
https://github.com/collectd/collectd/commit/62f948605f54e1f5575699360376d75a2f849faf

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-extended/collectd/collectd_5.8.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/collectd/collectd_5.8.0.bb b/meta-oe/recipes-extended/collectd/collectd_5.8.0.bb
index 92b619e227..df9fa233cd 100644
--- a/meta-oe/recipes-extended/collectd/collectd_5.8.0.bb
+++ b/meta-oe/recipes-extended/collectd/collectd_5.8.0.bb
@@ -43,7 +43,7 @@ PACKAGECONFIG[amqp] = "--enable-amqp --with-librabbitmq=yes, \
         --disable-amqp --with-librabbitmq=no,rabbitmq-c"
 # protobuf-c, libvirt that are currently only available in meta-virtualization layer
 PACKAGECONFIG[pinba] = "--enable-pinba,--disable-pinba,protobuf-c-native protobuf-c"
-PACKAGECONFIG[libvirt] = "--enable-libvirt,--disable-libvirt,libvirt"
+PACKAGECONFIG[libvirt] = "--enable-virt,--disable-virt,libvirt"
 PACKAGECONFIG[libesmtp] = "--with-libesmtp,--without-libesmtp,libesmtp"
 PACKAGECONFIG[libmnl] = "--with-libmnl,--without-libmnl,libmnl"
 PACKAGECONFIG[libatasmart] = "--with-libatasmart,--without-libatasmart,libatasmart"
-- 
2.17.1




More information about the Openembedded-devel mailing list