From nobody Sun May 5 15:39:29 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gentoo.org ARC-Seal: i=1; a=rsa-sha256; t=1599550890; cv=none; d=zohomail.com; s=zohoarc; b=CR9rljFqPad34QU2J17x+gaQdyh4zgpWevClc3XJX1iKr4GLVCLrLPPk+7zi13meu/PJ8k0R2GU+/hvJYtYhiNSNq7YihPyLRXxS0Aat6uNNqJgciq1FdqVRLoFx+gKCPT/PaBPFoTRBp5NRp9WIF73uaQA3wyhuQfEDpegVRvw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599550890; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=rcOu3Jk/FDBLEju4Jq/ire48Ixy3ucmCNTzHh++MZtQ=; b=hJO7Dei7cKfPrDb4PMkJAKc53/je0zTmf4O0i/L8oaeSzbRDt7OL0l9uKmorCXk+6LrhzwmOWc89wPtxDD5nQoCj5H7LQ66lKOfSIkrQ/6aXhGKYiwLBvuvkvWuiJJHWT9u+m6vRc5YbCO5r+KLjQy4DHMah0JXzfq+2l24Rot0= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1599550890118482.32292217182544; Tue, 8 Sep 2020 00:41:30 -0700 (PDT) Received: from localhost ([::1]:41504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFYFs-0004wf-NV for importer@patchew.org; Tue, 08 Sep 2020 03:41:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFYFF-0004Mp-S8 for qemu-devel@nongnu.org; Tue, 08 Sep 2020 03:40:49 -0400 Received: from mail.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:54983 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFYFD-0004zn-ID for qemu-devel@nongnu.org; Tue, 08 Sep 2020 03:40:49 -0400 Received: by sf.home (Postfix, from userid 1000) id 877265A22061; Tue, 8 Sep 2020 08:40:33 +0100 (BST) From: Sergei Trofimovich To: qemu-devel@nongnu.org Subject: [PATCH] meson.build: tweak sdl-image error message Date: Tue, 8 Sep 2020 08:40:16 +0100 Message-Id: <20200908074016.2593596-1-slyfox@gentoo.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4; envelope-from=slyfox@gentoo.org; helo=smtp.gentoo.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/08 03:40:37 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Rafael Kitover , Sergei Trofimovich , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Before the change missing SDL was reported as: ../meson.build:253:4: ERROR: Expected 1 arguments, got 2. After the error as: ../meson.build:258:4: ERROR: Problem encountered: sdl-image required, b= ut SDL was not found CC: Paolo Bonzini CC: "Marc-Andr=C3=A9 Lureau" CC: "Philippe Mathieu-Daud=C3=A9" CC: Rafael Kitover Signed-off-by: Sergei Trofimovich Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 04e070bb3b..7fd2a903c5 100644 --- a/meson.build +++ b/meson.build @@ -255,8 +255,8 @@ if sdl.found() method: 'pkg-config', static: enable_static) else if get_option('sdl_image').enabled() - error('sdl-image required, but SDL was @0@', - get_option('sdl').disabled() ? 'disabled' : 'not found') + error('sdl-image required, but SDL was @0@'.format( + get_option('sdl').disabled() ? 'disabled' : 'not found')) endif sdl_image =3D not_found endif --=20 2.28.0