Skip to contentSkip to conversation

libvirt: DEPEND on libxslt-native to fix build issue

PATCH In review Mark Asselstine 2 participants 2 messages Sep 3, 2015 – Sep 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: DEPEND on libxslt-native to fix build issue

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)

---
 recipes-extended/libvirt/libvirt_1.2.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.2.17.bb +1 -1
index a945792..d3d7252 100644
@@ -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
 #
Signature · 1 line
2.1.4
#1 lore raw

merged.

Bruce

Quoted 38 lines · Mark Asselstine

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)

---
 recipes-extended/libvirt/libvirt_1.2.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.2.17.bb +1 -2
index a945792..d3d7252 100644
@@ -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

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"