Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 53B39E01161; Wed, 6 Jun 2018 20:04:39 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C4062E00DE1 for ; Wed, 6 Jun 2018 20:04:38 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com ([147.11.189.41]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id w5734cBM027117 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 6 Jun 2018 20:04:38 -0700 (PDT) Received: from server.local (128.224.21.96) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.399.0; Wed, 6 Jun 2018 20:04:37 -0700 To: Mark Asselstine , References: <1528300655-5974-1-git-send-email-mark.asselstine@windriver.com> From: Bruce Ashfield Message-ID: <61657598-501e-bfba-8fff-9ef018715af0@windriver.com> Date: Wed, 6 Jun 2018 23:04:36 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1528300655-5974-1-git-send-email-mark.asselstine@windriver.com> Subject: Re: [PATCH] libvirt: fix build error caused by host 'xmllint' X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 03:04:39 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit merged. Bruce On 2018-06-06 11:57 AM, Mark Asselstine wrote: > 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 > --- > 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 a9cc011..ef51b9e 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 \ >