[meta-virtualization] [PATCH] libvirt: DEPEND on libxslt-native to fix build issue

Mark Asselstine mark.asselstine at windriver.com
Thu Sep 3 12:59:26 PDT 2015


Configure searches for and sets XSLTPROC and will not get a proper
value unless we have made sure libxslt-native is built prior to
libvirt. So we need to add it as a DEPENDS. Failing to do this we
could end up with libvirt configuring before libxslt-native has built
and installed xlstproc in the -native sysroot, resulting potential
host contamination or in a potential build error:

cat: acl.html.tmp: No such file or directory
Makefile:2215: recipe for target 'acl.html' failed

(xsltproc is used in the generation of acl.html.tmp)

Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
---
 recipes-extended/libvirt/libvirt_1.2.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/libvirt/libvirt_1.2.17.bb b/recipes-extended/libvirt/libvirt_1.2.17.bb
index a945792..d3d7252 100644
--- a/recipes-extended/libvirt/libvirt_1.2.17.bb
+++ b/recipes-extended/libvirt/libvirt_1.2.17.bb
@@ -8,7 +8,7 @@ SECTION = "console/tools"
 PR = "r1"
 
 DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
-	   iptables dnsmasq readline"
+	   iptables dnsmasq readline libxslt-native"
 
 # libvirt-guests.sh needs gettext.sh
 #
-- 
2.1.4



More information about the meta-virtualization mailing list