summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2018-06-06 11:57:35 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-06-06 23:03:49 -0400
commit9afe74cd350598c92aa5faff54d93ba06d33079d (patch)
treece773d38733152b11ba9d046d25f9ea6cac4875e
parentd4c5cd1d939ac9bc8f4e2065e5afa83b1fa00418 (diff)
downloadmeta-virtualization-9afe74cd350598c92aa5faff54d93ba06d33079d.tar.gz
libvirt: fix build error caused by host 'xmllint'
There is host contamination in that we force XMLLINT to be '/usr/bin/xmllint' via ac_cv_path_XMLLINT. This results in the error: /bin/bash: /usr/bin/xmllint: No such file or directory We only use XMLLINT during the build, it is present in two Makefiles included with ptest package but they are unused. So we drop the setting of ac_cv_path_XMLLINT to ensure we are using xmllint in the recipe sysroot instead of the host's. Should the ptest package ever evolve to make use of the Makefiles we need to update not only the XMLLINT path but that for XSLTPROC and others too. (I would suggest that the Makefiles may have been used on the target as part of ptest at one point, but are no longer and should be removed, though I haven't investigated further). Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/libvirt/libvirt_4.3.0.bb1
1 files changed, 0 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb
index a9cc0112..ef51b9e5 100644
--- a/recipes-extended/libvirt/libvirt_4.3.0.bb
+++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
@@ -43,7 +43,6 @@ SRC_URI[libvirt.sha256sum] = "a531e22c8b985ecb2d1223b913fd6ec0f1800e3ebe02351924
43inherit autotools gettext update-rc.d pkgconfig ptest systemd 43inherit autotools gettext update-rc.d pkgconfig ptest systemd
44 44
45CACHED_CONFIGUREVARS += "\ 45CACHED_CONFIGUREVARS += "\
46ac_cv_path_XMLLINT=/usr/bin/xmllint \
47ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \ 46ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \
48ac_cv_path_AUGPARSE=/usr/bin/augparse \ 47ac_cv_path_AUGPARSE=/usr/bin/augparse \
49ac_cv_path_DNSMASQ=/usr/bin/dnsmasq \ 48ac_cv_path_DNSMASQ=/usr/bin/dnsmasq \