[libvirt] [jenkins-ci PATCH] guests: Install rpcgen when building libvirt

Andrea Bolognani posted 1 patch 6 years, 3 months ago
Failed in applying to current master (apply log)
guests/vars/mappings.yml         | 6 ++++++
guests/vars/projects/libvirt.yml | 1 +
2 files changed, 7 insertions(+)
[libvirt] [jenkins-ci PATCH] guests: Install rpcgen when building libvirt
Posted by Andrea Bolognani 6 years, 3 months ago
The dependency on rpcgen had not been made explicit up until now
because the command was part of the base glibc development packages;
however, Fedora Rawhide now ships it in a separate package, so we
need to list it along with all other dependencies in order for it
to get installed.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 guests/vars/mappings.yml         | 6 ++++++
 guests/vars/projects/libvirt.yml | 1 +
 2 files changed, 7 insertions(+)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index eca8dbe..b79757e 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -604,6 +604,12 @@ mappings:
     pkg: readline
     rpm: readline-devel
 
+  rpcgen:
+    deb: libc-dev-bin
+    rpm: glibc-common
+    FedoraRawhide: glibc-rpcgen
+    FreeBSD:
+
   rpmbuild:
     rpm: rpm-build
 
diff --git a/guests/vars/projects/libvirt.yml b/guests/vars/projects/libvirt.yml
index 407881d..ba1e4c3 100644
--- a/guests/vars/projects/libvirt.yml
+++ b/guests/vars/projects/libvirt.yml
@@ -67,6 +67,7 @@ packages:
   - qemu-img
   - radvd
   - readline
+  - rpcgen
   - sanlock
   - scrub
   - sheepdog
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [jenkins-ci PATCH] guests: Install rpcgen when building libvirt
Posted by Michal Privoznik 6 years, 3 months ago
On 01/12/2018 11:44 AM, Andrea Bolognani wrote:
> The dependency on rpcgen had not been made explicit up until now
> because the command was part of the base glibc development packages;
> however, Fedora Rawhide now ships it in a separate package, so we
> need to list it along with all other dependencies in order for it
> to get installed.
> 
> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
> ---
>  guests/vars/mappings.yml         | 6 ++++++
>  guests/vars/projects/libvirt.yml | 1 +
>  2 files changed, 7 insertions(+)
> 

ACK

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list