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

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 8 07:03:04 PDT 2015


merged.

Bruce

On Thu, Sep 3, 2015 at 3:59 PM, Mark Asselstine
<mark.asselstine at windriver.com> wrote:
> 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
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list