From 4dff1be05e906f5c3cfd56ebc1458579635b4ca7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 9 Jan 2022 21:20:03 +0100 Subject: [PATCH] package/libvirt: libvirtd needs C++ for nmap-ncat Fix the following build failure raised since commit fbf25acfbfd5a73b3560918bea081768abbe5723: WARNING: unmet direct dependencies detected for BR2_PACKAGE_NMAP Depends on [n]: BR2_INSTALL_LIBSTDCPP [=n] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] Selected by [y]: - BR2_PACKAGE_LIBVIRT_DAEMON [=y] && BR2_PACKAGE_LIBVIRT [=y] && !BR2_PACKAGE_NETCAT_OPENBSD [=n] Fixes: - No autobuilder failures (yet) Signed-off-by: Fabrice Fontaine [yann.morin.1998@free.fr: C++ only needed without NETCAT_OPENBSD] Signed-off-by: Yann E. MORIN --- package/libvirt/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libvirt/Config.in b/package/libvirt/Config.in index e75f1cf15f..103d1b9543 100644 --- a/package/libvirt/Config.in +++ b/package/libvirt/Config.in @@ -44,6 +44,7 @@ if BR2_PACKAGE_LIBVIRT config BR2_PACKAGE_LIBVIRT_DAEMON bool "libvirtd" default y + depends on BR2_INSTALL_LIBSTDCPP || BR2_PACKAGE_NETCAT_OPENBSD # nmap select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_DNSMASQ select BR2_PACKAGE_EBTABLES @@ -57,6 +58,9 @@ config BR2_PACKAGE_LIBVIRT_DAEMON Build the libvirt daemon (libvirtd) otherwise build only the utility programs. +comment "libvirtd needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP && !BR2_PACKAGE_NETCAT_OPENBSD + # Stateful drivers are useful only when building the daemon. if BR2_PACKAGE_LIBVIRT_DAEMON