From 9afe74cd350598c92aa5faff54d93ba06d33079d Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 6 Jun 2018 11:57:35 -0400 Subject: 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 Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_4.3.0.bb | 1 - 1 file changed, 1 deletion(-) 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 inherit autotools gettext update-rc.d pkgconfig ptest systemd CACHED_CONFIGUREVARS += "\ -ac_cv_path_XMLLINT=/usr/bin/xmllint \ ac_cv_path_XMLCATLOG=/usr/bin/xmlcatalog \ ac_cv_path_AUGPARSE=/usr/bin/augparse \ ac_cv_path_DNSMASQ=/usr/bin/dnsmasq \ -- cgit v1.2.3-54-g00ecf