From nobody Sat Feb 7 05:49:19 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1769380992; cv=none; d=zohomail.com; s=zohoarc; b=JjkgnrN15H7omOzDsBFy2k4eAzOGLuw+jgUZ4TUdcfB+WnMSgrpSnu6tqQowoKtnSM9Lj1cDdz3cbNYXbKlFXPtlReLWIir/qCYSHwlCZsP2Ijo5MuoVTu6uSOca+/fve6+1J5ds2NNFzV5KSKU0fiKoeIWgGLMK98d1cSb5lrw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769380992; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=L2OhobGTV2SuDpKLlE0vqJOklwRhk9R23qqLgwH29TE=; b=aAoscIeDnVh2Jtwq5L7DTRCM6KXQaHAT2p/LzGu2RsaaK8YJllBng7Q2NKwcWKO7Tz3NplTSX/Sc5KlX3i+EJ2wM/qJ0lKPkfp6ZwhrJiWxGTX0KbxLfGDWGdeF7+pux0Sl/TzKDsXMSz5WU1/Rl+FBaOQTuj+52I480hTmWGPI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1769380992470972.5112380252784; Sun, 25 Jan 2026 14:43:12 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vk8oG-0003RV-OD; Sun, 25 Jan 2026 17:42:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vk8oE-0003R3-L6 for qemu-devel@nongnu.org; Sun, 25 Jan 2026 17:42:18 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vk8oD-0000Td-8Y for qemu-devel@nongnu.org; Sun, 25 Jan 2026 17:42:18 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-47ee2ea598bso1985145e9.2 for ; Sun, 25 Jan 2026 14:42:16 -0800 (PST) Received: from localhost.localdomain ([178.143.191.80]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-480470bfe42sm303115505e9.9.2026.01.25.14.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jan 2026 14:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1769380935; x=1769985735; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=L2OhobGTV2SuDpKLlE0vqJOklwRhk9R23qqLgwH29TE=; b=Zi/Tva6rIyixPdzX+QwcEAz6YiQRN4NcBjSnDfy8GsvnNDQT03rBXbX1jfXFmwgOJq ifUm/ygh3tZNfFvvNE5L9xcRs2gFegx+BcMl4OQQ5wB2zL6AOrOtAU8rW6ggD1JXN3e+ 3iLEIlOaKuK+7hSC2jVZhFYefU8IffJUYKs92VIcI6Hx7+sw0ecr87k+/ZtSsQx/3sTF m7CpbWLEQuT7L6c9m3JAAUDD3HA9hh70hzba0O5oPp3eWhO1W9B5f7C6+Iu/n1KdXUd6 nIibrlWq4QiXgAkXKRGh6n9Lue3Y+GWylHFcojCQ3aaY18qdWU8F+PD9RC5VYic4KxDf ZKIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769380935; x=1769985735; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=L2OhobGTV2SuDpKLlE0vqJOklwRhk9R23qqLgwH29TE=; b=ZbRXnDVdHG5q5BG4TTBmTqAG5K+Bqcsu3GTpr4I3JEVSwQa5ma8UHhdKztKhAtbiKS j2/BQg44A7HsKxnEjnf9K1Kc/a578R2xkuDWw/eduMR46yd+RlbmxHyuaOoOe1TxFFAD HiQiRa1rqScdiN8Pw5pS2AbvydSM6mVuuOMJJlv6atvXC27wVkMc2q9yN3f5Y1wkFydG NhPFUOXBSg/f34/H3agstdF3A/eqqveCE5cDlSHqA7t5N/C2VGchElqqM0bn2CDyOOHZ UXxiTSaH9E6ySUwCSYcS8zx/tw6KOdGi6kDGL++6fBUtceFZktuiy/TjA1oSEULPnxlY glqg== X-Gm-Message-State: AOJu0Yw/mDtBzNsnqhqPh+19fvV0PxqGYeUAV+Ss7QvDwMEB+73bEZoD 3e8JNdcWqh+2MS0QDkHpxXBH9SwWOeBh0pa8L7Al1vyTiiJG9uIaCeg+WVNluP3S X-Gm-Gg: AZuq6aLMGCFMv7ieBekuKqc26x29CAiYpH+JjU6ECiK7wLI0iJA+MiIobpro9VN8B/F 8Q3vrk8UMggfBpThzIZZ/aeRVUb/hEeF/RzlguEANIcghgsV4FOrK+Ci8CPqjGlv+xHISzxF0nD 7hMAH+lRkL4JYP80Uot3DdG4kyMuo6btlhuB513xnFJn2h+VLrb/XF6n3vwDic93mivfOF++B8Q PMQ4KKoWSHTxMtLsvIoD75328r3EcE6a8Rl4UMcxv1pW/4oarB2QGMB6f/pP2RQUouv4UhPyxQ6 HN8hZcaGh2oJGYf3+66ZxU+96ZMJ/gGwkDA/pbgVsxOXk2NyGE0qIefKQzr28eh9ZZG9+Sl0OH7 4Zb333vDD6+woGpm1brmkqccjCuVS4fBM5QkuLVfG4CDspte88O+F33zoH9+tOLMRLELDmO6prB g2PpgyhOvyPYVEHIRw2pRJ49W8Flpz X-Received: by 2002:a05:600c:8b0c:b0:480:1f6b:d4a2 with SMTP id 5b1f17b1804b1-4805d06b097mr26638335e9.7.1769380935164; Sun, 25 Jan 2026 14:42:15 -0800 (PST) From: Marian Cingel To: qemu-devel@nongnu.org Cc: thuth@redhat.com, iii@linux.ibm.com, Marian Cingel Subject: [PATCH] meson: FreeBSD: make inotify dependency optional Date: Sun, 25 Jan 2026 23:36:51 +0100 Message-ID: <20260125223651.798234-1-cingel.marian@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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=2a00:1450:4864:20::333; envelope-from=cingel.marian@gmail.com; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1769381016144158500 Content-Type: text/plain; charset="utf-8" - 'libinitofy' is not a base package, therefore installed to /usr/local - 'find_library' invokes clang, which by default *does not* search '/usr/local/lib', so even when libinotify.so is present in system, the detection does not work and 'configure' reports an error. - tested on FreeBSD-15 Signed-off-by: Marian Cingel --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index a84f14258b..ac1c02d7da 100644 --- a/meson.build +++ b/meson.build @@ -2661,7 +2661,7 @@ have_inotify_init1 =3D cc.has_header_symbol('sys/inot= ify.h', 'inotify_init1') inotify =3D not_found if (have_inotify_init or have_inotify_init1) and host_os =3D=3D 'freebsd' # libinotify-kqueue - inotify =3D cc.find_library('inotify') + inotify =3D cc.find_library('inotify', required: false) if have_inotify_init have_inotify_init =3D inotify.found() endif --=20 2.43.0