Skip to contentSkip to conversation

openvswitch: add missing inherit

PATCH In review Mark Asselstine 2 participants 3 messages Dec 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 openvswitch: add missing inherit

openvswitch requires pkgconfig or you may see an error:

configure.ac:53: error: Please install pkg-config.

during configure.

---
Bruce,

Here is another set of commits to fix potential build issues, usually encountered while building out of sstate. Sorry for not grouping these with my recent lxc commit, I pulled the trigger too quickly.

Mark

 recipes-networking/openvswitch/openvswitch_1.10.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch_1.10.0.bb +1 -1
index 02c8ab3..931beb8 100644
@@ -59,7 +59,7 @@ FILES_${PN}-switch = "${sysconfdir}/init.d/openvswitch-switch \
 FILES_${PN} += "${datadir}/ovsdbmonitor"
 FILES_${PN} += "/run"
 
-inherit autotools update-rc.d
+inherit autotools update-rc.d pkgconfig
 
 INITSCRIPT_PACKAGES = "${PN}-switch ${PN}-controller"
 INITSCRIPT_NAME_${PN}-switch = "openvswitch-switch"
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 libvirt: add missing inherit

libvirt's configure script makes use of pkg-config so we need to inherit pkgconfig or else we may see an error like

./configure: line 55867: syntax error near unexpected token `AVAHI,'
./configure: line 55867: ` PKG_CHECK_MODULES(AVAHI, avahi-client >= 0.6.0,'

during configure.

---
 recipes-extended/libvirt/libvirt_1.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.2.0.bb +1 -1
index 80f06a2..f574ec5 100644
@@ -27,7 +27,7 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz \
 SRC_URI[md5sum] = "f74f78059def4e68d69b975ad6e6c3e2"
 SRC_URI[sha256sum] = "a8e578ae7861db2ac5f454073293d2ef3229fd3f6c4f9029101763244db22ddd"
 
-inherit autotools gettext update-rc.d
+inherit autotools gettext update-rc.d pkgconfig
 
 CACHED_CONFIGUREVARS += "\
 ac_cv_path_XMLLINT=/usr/bin/xmllint \
Signature · 1 line
1.8.3.2
#2 lore raw
In reply to Mark Asselstine
Quoted 6 lines · Mark Asselstine

openvswitch requires pkgconfig or you may see an error:

configure.ac:53: error: Please install pkg-config.

during configure.

Quoted 7 lines

---
Bruce,

Here is another set of commits to fix potential build issues, usually encountered while building out of sstate. Sorry for not grouping these with my recent lxc commit, I pulled the trigger too quickly.

merged all three.

Bruce

Quoted 21 lines

Mark

  recipes-networking/openvswitch/openvswitch_1.10.0.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/openvswitch/openvswitch_1.10.0.bb +1 -1
index 02c8ab3..931beb8 100644
@@ -59,7 +59,7 @@ FILES_${PN}-switch = "${sysconfdir}/init.d/openvswitch-switch \
  FILES_${PN} += "${datadir}/ovsdbmonitor"
  FILES_${PN} += "/run"
 
-inherit autotools update-rc.d
+inherit autotools update-rc.d pkgconfig
 
  INITSCRIPT_PACKAGES = "${PN}-switch ${PN}-controller"
  INITSCRIPT_NAME_${PN}-switch = "openvswitch-switch"