From 55ca8d7b6a9d6d64a76ec5ab1b222dae7dbde51c Mon Sep 17 00:00:00 2001 From: Matoro Mahri Date: Tue, 19 Dec 2023 23:37:49 -0500 Subject: [PATCH] app-emulation/qemu: require CONFIG_IP_MULTICAST for test suite Bug: https://bugs.gentoo.org/914827 Signed-off-by: Matoro Mahri Closes: https://github.com/gentoo/gentoo/pull/34380 Signed-off-by: Sam James --- app-emulation/qemu/qemu-8.0.5.ebuild | 2 ++ app-emulation/qemu/qemu-8.1.2.ebuild | 2 ++ app-emulation/qemu/qemu-8.1.3.ebuild | 2 ++ app-emulation/qemu/qemu-9999.ebuild | 2 ++ 4 files changed, 8 insertions(+) diff --git a/app-emulation/qemu/qemu-8.0.5.ebuild b/app-emulation/qemu/qemu-8.0.5.ebuild index 438e63f95e5be..ec208b855eb08 100644 --- a/app-emulation/qemu/qemu-8.0.5.ebuild +++ b/app-emulation/qemu/qemu-8.0.5.ebuild @@ -396,6 +396,8 @@ pkg_pretend() { use vhost-net && CONFIG_CHECK+=" ~VHOST_NET" ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net" ERROR_VHOST_NET+=" support" + use test && CONFIG_CHECK+=" IP_MULTICAST" + ERROR_IP_MULTICAST="Test suite requires IP_MULTICAST" if use amd64 || use x86 || use amd64-linux || use x86-linux; then if grep -q AuthenticAMD /proc/cpuinfo; then diff --git a/app-emulation/qemu/qemu-8.1.2.ebuild b/app-emulation/qemu/qemu-8.1.2.ebuild index 2ea790325cf18..9557c4eff16f6 100644 --- a/app-emulation/qemu/qemu-8.1.2.ebuild +++ b/app-emulation/qemu/qemu-8.1.2.ebuild @@ -396,6 +396,8 @@ pkg_pretend() { use vhost-net && CONFIG_CHECK+=" ~VHOST_NET" ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net" ERROR_VHOST_NET+=" support" + use test && CONFIG_CHECK+=" IP_MULTICAST" + ERROR_IP_MULTICAST="Test suite requires IP_MULTICAST" if use amd64 || use x86 || use amd64-linux || use x86-linux; then if grep -q AuthenticAMD /proc/cpuinfo; then diff --git a/app-emulation/qemu/qemu-8.1.3.ebuild b/app-emulation/qemu/qemu-8.1.3.ebuild index 2ea790325cf18..9557c4eff16f6 100644 --- a/app-emulation/qemu/qemu-8.1.3.ebuild +++ b/app-emulation/qemu/qemu-8.1.3.ebuild @@ -396,6 +396,8 @@ pkg_pretend() { use vhost-net && CONFIG_CHECK+=" ~VHOST_NET" ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net" ERROR_VHOST_NET+=" support" + use test && CONFIG_CHECK+=" IP_MULTICAST" + ERROR_IP_MULTICAST="Test suite requires IP_MULTICAST" if use amd64 || use x86 || use amd64-linux || use x86-linux; then if grep -q AuthenticAMD /proc/cpuinfo; then diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index cef7e03b44b62..41fbe471c0c9a 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -401,6 +401,8 @@ pkg_pretend() { use vhost-net && CONFIG_CHECK+=" ~VHOST_NET" ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net" ERROR_VHOST_NET+=" support" + use test && CONFIG_CHECK+=" IP_MULTICAST" + ERROR_IP_MULTICAST="Test suite requires IP_MULTICAST" if use amd64 || use x86 || use amd64-linux || use x86-linux; then if grep -q AuthenticAMD /proc/cpuinfo; then