All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OSSTEST: Install libtirpc-dev for libvirt builds
@ 2020-07-23 21:31 Jim Fehlig
  2020-08-10 10:13 ` Ian Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Fehlig @ 2020-07-23 21:31 UTC (permalink / raw)
  To: xen-devel; +Cc: Jim Fehlig, ian.jackson

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@suse.com>
---

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] OSSTEST: Install libtirpc-dev for libvirt builds
  2020-07-23 21:31 [PATCH] OSSTEST: Install libtirpc-dev for libvirt builds Jim Fehlig
@ 2020-08-10 10:13 ` Ian Jackson
  2020-08-10 14:26   ` Jim Fehlig
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Jackson @ 2020-08-10 10:13 UTC (permalink / raw)
  To: Jim Fehlig; +Cc: xen-devel

Jim Fehlig writes ("[PATCH] OSSTEST: Install libtirpc-dev for libvirt builds"):
> 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@suse.com>

Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>

Thanks!  I will push this to osstest pretest shortly.

Ian.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] OSSTEST: Install libtirpc-dev for libvirt builds
  2020-08-10 10:13 ` Ian Jackson
@ 2020-08-10 14:26   ` Jim Fehlig
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Fehlig @ 2020-08-10 14:26 UTC (permalink / raw)
  To: Ian Jackson; +Cc: xen-devel

On 8/10/20 4:13 AM, Ian Jackson wrote:
> Jim Fehlig writes ("[PATCH] OSSTEST: Install libtirpc-dev for libvirt builds"):
>> 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@suse.com>
> 
> Reviewed-by: Ian Jackson <ian.jackson@eu.citrix.com>
> 
> Thanks!  I will push this to osstest pretest shortly.

Thanks Ian! Perhaps you've noticed libvirt has now moved to the meson build 
system. My weak perl skills have discouraged me from investigating ways to 
accommodate that.

Regards,
Jim



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-10 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 21:31 [PATCH] OSSTEST: Install libtirpc-dev for libvirt builds Jim Fehlig
2020-08-10 10:13 ` Ian Jackson
2020-08-10 14:26   ` Jim Fehlig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.