As of libvirt commit c98de2173e95, we use pkg-config to obtain CFLAGS and LIBS for readline whenever possible. However, since the readline.pc file contains a Requires.private for a module that's shipped with ncurses (the actual module varies based on the platform) we will end up falling back to the old library detection if said library is not installed on the system. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- guests/vars/mappings.yml | 8 ++++++++ guests/vars/projects/libvirt.yml | 1 + 2 files changed, 9 insertions(+) diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml index 05d312d..464c403 100644 --- a/guests/vars/mappings.yml +++ b/guests/vars/mappings.yml @@ -603,6 +603,14 @@ mappings: nano: default: nano + ncurses: + deb: libncurses-dev + pkg: ncurses + rpm: ncurses-devel + Debian9: libncurses5-dev + Ubuntu18: libncurses5-dev + cross-policy-deb: foreign + netcf: deb: libnetcf-dev rpm: netcf-devel diff --git a/guests/vars/projects/libvirt.yml b/guests/vars/projects/libvirt.yml index f813f21..688dfa3 100644 --- a/guests/vars/projects/libvirt.yml +++ b/guests/vars/projects/libvirt.yml @@ -38,6 +38,7 @@ packages: - libxml2 - lvm2 - modprobe + - ncurses - netcf - numad - openwsman -- 2.20.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list