From patchwork Wed Jan 5 13:49:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 530144 Delivered-To: patch@linaro.org Received: by 2002:ad5:544f:0:0:0:0:0 with SMTP id a15csp301169imp; Wed, 5 Jan 2022 05:59:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwQlr7N4Lx/U0Ns0izL7NyuZHG8lzpQDduMjou2x6Wi77QInr6hN+tC7/iVlBwLRyIwAEF2 X-Received: by 2002:a5b:544:: with SMTP id r4mr74823575ybp.601.1641391196042; Wed, 05 Jan 2022 05:59:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1641391196; cv=none; d=google.com; s=arc-20160816; b=X4pECS5yx/e6q/Lo3mogaYNI4JzEUaO4sVu0TqQoSe0yb3RypF7o8rs8OwPdwEJLcT w3oovvRFIuLjERIdtO3CHbjH37B1KRhHGnWHvlVDkld02RxoA/rrgTlRSEQyR4F/apAR UqRnk5SrYWB5Bwu1W4pMgVS8efyh9dt51Dkm50I18gADQgR021+Eu3j8TI7l3Wnlbt+j 2Z3O9GM0euNlBT37KBw1VKORkaXIVzsAzyEpl3EReIcswWygMUINOK+/YkX/1G+FQGzr N2S6G2Ms9pgNDBD88Vp/2h9DaMKraP8nBopU7a9he4X34pStCLTiAGyAkcStoPIt74xI DKtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=zDOzIOq3YZIQbmOkHWOVk0HkK0osTnjPM1dEzBgMF2M=; b=MDIvonAaz2vPoK4BXQIAHc5Q49DzlGy7CxXc2M0SWUS5RVCSoG5mD8BA+6N9o9RxgV ZNKOSenMM8vvcJA3IwJa67NhiTvmBeV/jwjkSdiGeLZFrWIF65v5GxVZVJJ83AhBC4dp GAOgXmlIPkzaRnJR/asX7EnkN4RWlTXOeFlJhBEjs1Yv6a0W87QjZeFKdE/aB0DvT9da a84tPbrq9H0l2EDoE1Dxy378+pIjWLczVch5xEyZRnKQLRkUQa3Aqg3TOf2yQ4Dqnt6i 7vo3dcq5H+KHcK0vVxjFuMm2sDtlQHXj9Y3ZLBghP5vcI5BgwgewW0WktpwmX0Uu77jj z6Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mSkqIJ4i; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x198si24245461ybg.807.2022.01.05.05.59.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Jan 2022 05:59:56 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mSkqIJ4i; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n56pX-0002Eo-I9 for patch@linaro.org; Wed, 05 Jan 2022 08:59:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n56gN-00088Z-5v for qemu-devel@nongnu.org; Wed, 05 Jan 2022 08:50:27 -0500 Received: from [2a00:1450:4864:20::52d] (port=46917 helo=mail-ed1-x52d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n56gC-0004BY-BY for qemu-devel@nongnu.org; Wed, 05 Jan 2022 08:50:21 -0500 Received: by mail-ed1-x52d.google.com with SMTP id n30so50120189eda.13 for ; Wed, 05 Jan 2022 05:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zDOzIOq3YZIQbmOkHWOVk0HkK0osTnjPM1dEzBgMF2M=; b=mSkqIJ4iUDUvE9kfJYsAzs/V9opj80+QovWQDOSunEHY6A0q0ClORvqu/BtYQocN1B QfreXoTjCDAKpFQzfmqJlFe1khenHnJiKqY7WHDqjoP9zt7j5ZNK0rZVTFb3/II3lmm+ NwXFs1bSkXA0c1XxY1tftUR26H0/TNZ7JskfWhQPgbkvLUJGfvDCUYoEB8zp/MoJzYPJ OESs73/tWHVBh9bTEvtBkTHMxZBdVqIA2oIN4SVZ7Dkbzw1AfXOVdNkfJsQ6Ku8NK3r0 1hryT1SK5okqxQb1QmBmZiNIJLdcQAak9Jfqwp5i33E44brwv0FYergJZLeTevLhaQLy UrbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zDOzIOq3YZIQbmOkHWOVk0HkK0osTnjPM1dEzBgMF2M=; b=yEKrh9Z0DIjDTi1s3mhElXVnHughRqcCDPJiNYfT1o1vEFd6W4we//jiOSyMl/HuSo BzLGWFFIUOIHYLRgbRBRTt258R8Xc89B3z4UzFvi2jWPjNiJyb2C6Uy8NVnbxgZTHrCx jbPfseSIczwoNSz5DaSN7BzmMcyVu4pAHKiLo2KCbpQ8VB5MIbsTfwqFAvJG1ErXhnuK 8YSL92bDbXSe2mAW0JFELX0WVXn+itAzX1tjh/kCOid2Ij7cU+8fb8LSrtDlISuPEMfP iY4eTfNCIC8gfNl6Zyjg6B1YH1AxqRpd/EYgXeAw/1q0pgIyz++ajqsx16Ln8E5CgpwT 06Qw== X-Gm-Message-State: AOAM532eRt19RhithWRX5VpGnXG7zEgQYuwl2DVUnuV2g3EFcqBVwnbk bUYeNZ7GhRl5OwH2VChLIjqskg== X-Received: by 2002:a05:6402:35c2:: with SMTP id z2mr53672746edc.136.1641390613638; Wed, 05 Jan 2022 05:50:13 -0800 (PST) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id z22sm1064721edd.68.2022.01.05.05.50.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jan 2022 05:50:09 -0800 (PST) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5F7241FFBB; Wed, 5 Jan 2022 13:50:09 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 03/34] meson: require liburing >= 0.3 Date: Wed, 5 Jan 2022 13:49:38 +0000 Message-Id: <20220105135009.1584676-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220105135009.1584676-1-alex.bennee@linaro.org> References: <20220105135009.1584676-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=alex.bennee@linaro.org; helo=mail-ed1-x52d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, berrange@redhat.com, =?utf-8?q?Alex_Benn=C3=A9e?= , f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, =?utf-8?q?Phili?= =?utf-8?q?ppe_Mathieu-Daud=C3=A9?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Daniel P. Berrangé openSUSE Leap 15.2 ships with liburing == 0.2 against which QEMU fails to build. ../util/fdmon-io_uring.c: In function ‘fdmon_io_uring_need_wait’: ../util/fdmon-io_uring.c:305:9: error: implicit declaration of function ‘io_uring_sq_ready’; did you mean ‘io_uring_cq_ready’? [-Werror=implicit-function-declaration] if (io_uring_sq_ready(&ctx->fdmon_io_uring)) { ^~~~~~~~~~~~~~~~~ io_uring_cq_ready This method was introduced in liburing 0.3, so set that as a minimum requirement. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Daniel P. Berrangé Signed-off-by: Alex Bennée Message-Id: <20211215141949.3512719-4-berrange@redhat.com> --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 53065e96ec..0e52f54b10 100644 --- a/meson.build +++ b/meson.build @@ -440,7 +440,8 @@ if not get_option('linux_aio').auto() or have_block endif linux_io_uring = not_found if not get_option('linux_io_uring').auto() or have_block - linux_io_uring = dependency('liburing', required: get_option('linux_io_uring'), + linux_io_uring = dependency('liburing', version: '>=0.3', + required: get_option('linux_io_uring'), method: 'pkg-config', kwargs: static_kwargs) endif libxml2 = not_found