[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] OSSTEST: Install libtirpc-dev for libvirt builds


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Jim Fehlig <jfehlig@xxxxxxxx>
  • Date: Thu, 23 Jul 2020 15:31:34 -0600
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BM+TQn3Nmw4ykgz8qpTTfxHrBNJcFEhAWOM6Tk3cPfQ=; b=h+iQYRIdplZH3cwU60rT8JP8sK1gCULOmjr+0AG7qMS8ka8ZqWKZhmvZV5+Ch4pxwVMh2enWosGaYPsL8Ouh0aZNuR45qlkc2n5Q3axGVzoW2yqcCaoXqKEYmHIEqqg8XFmsrNg5P47LmJxhMitYoFhJ3rMOFx7q/8MNpicWb5dbuehk21kXn/Z4gWqCMvt1WWTOPtICOm2w7VH7m4yaaE+61yhA76uupxhIc9vgdzKtNyA1pc+h15V9AY3sbUXoDjiAGCeKhI3749NXFgTaNobR9riHA14EmNuVXJIwbNoE30izPQJ9bL1yK3KDQfRcNCC0VGFfJRMWI+jdeWycXA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c/REZZfkqObDrwSuIDh9CeMvziu65/p+yNRFURh9S/9WXaEMg+hHxZZtP+UlTXagSKnhDMKEyoamzWVHTNPKC8P9GVF8+Uz90vzV1zjQBKpgSlSuRkS+/Kwsq579umLE5D4NVJT+DmJ+9TRDIQDMOlvK11CnLAXCUclQJtQlBB6sPnzoY93UZqGtkA6D1Ov5T8yC6nnr9HdF3qm4AYU/NHtICkB6OFhfjuHJBiX03wgHz4h/PF2akk4mnqmO85ooshLkJpNF1u1+EFv4cQRTg9YDNx5SWXGOffbMGG8nyqevmhqj5mHBfmhLMElPH2O+DeAkT6ui5eYUtRNAUDhSbQ==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: Jim Fehlig <jfehlig@xxxxxxxx>, ian.jackson@xxxxxxxxxxxxx
  • Delivery-date: Thu, 23 Jul 2020 21:32:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The check for XDR support was changed in libvirt commit d7147b3797
to use libtirpc pkg-config instead of complicated AC_CHECK_LIB,
AC_COMPILE_IFELSE, et. al. logic. The libvirt OSSTEST has been
failing since this change hit libvirt.git master. Fix it by adding
libtirpc-dev to the list of 'extra_packages' installed for libvirt
builds.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
---

I *think* this change will work for older libvirt branches too.
The old, hand-coded m4 logic should work with libtirpc-dev
installed.

 Osstest/Toolstack/libvirt.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/Toolstack/libvirt.pm b/Osstest/Toolstack/libvirt.pm
index e817f5b4..11e4d730 100644
--- a/Osstest/Toolstack/libvirt.pm
+++ b/Osstest/Toolstack/libvirt.pm
@@ -26,7 +26,7 @@ use XML::LibXML;
 
 sub new {
     my ($class, $ho, $methname,$asset) = @_;
-    my @extra_packages = qw(libavahi-client3);
+    my @extra_packages = qw(libavahi-client3 libtirpc-dev);
     my $nl_lib = "libnl-3-200";
     my $libgnutls = "libgnutls30";
 
-- 
2.26.2




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.