From nobody Sun May 12 08:54:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1698166488; cv=none; d=zohomail.com; s=zohoarc; b=ID720G1bqMEITbKBJJHKqalF+ZuRA2xvOPX2aB6f6JvnndZ16JPhVA3gUlEayUQkhVcNNyYSbRuuBS6Yk/kcOmUTme52GAFabe/KO26k69/MVxxNbCqbabxJhO7gfKJ48Gwzne2gbd9SZsYw9ieTAE33iYPOFUmARJ91uzSjoPk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698166488; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=IXG81bWq1CKDm/JcZnSlQYc1v2O4ujwFKrPBkPcSXrc=; b=dJDjINGMZYcMc7rmhDcx8ODvocslIbfBzpI9kq7pqaV2DqmGWQ6tIlXGH0JFGLvoeznvsLWdKr9UrY72FzBV9BoFneNPJ+/p/Ozc1nBfH9OsBtpQDd0wMZSlNJO43XYaGKuxg0w/wkRGZ5h/xckMAe/RJnaqnnC/Ai0Km82pn0U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1698166488928330.5662692059054; Tue, 24 Oct 2023 09:54:48 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-561-xg8aYXDOOzqziJLgW3BvsA-1; Tue, 24 Oct 2023 12:54:38 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4541388D282; Tue, 24 Oct 2023 16:54:36 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2AFD7492BD9; Tue, 24 Oct 2023 16:54:36 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 0A81E194658C; Tue, 24 Oct 2023 16:54:36 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7CD211946586 for ; Tue, 24 Oct 2023 16:54:33 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5E66440C6F7B; Tue, 24 Oct 2023 16:54:33 +0000 (UTC) Received: from harajuku.usersys.redhat.com.homenet.telecomitalia.it (unknown [10.45.226.127]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E829140C6F79 for ; Tue, 24 Oct 2023 16:54:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698166487; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=IXG81bWq1CKDm/JcZnSlQYc1v2O4ujwFKrPBkPcSXrc=; b=H611ACt7VhjK+sGlujUzmQjqr1cQuFhBdf0vOAYivxWx9ypgnDNf53q/b7dMGmW0u0mwlD JUv8OJcX5nppCCP5B6V2U3WLKKnof9lgmbSoCCH1zJzUR11euKFlAcgxIpxdUKBBhATEJ4 HLeIxWOUHmgUr/y+xWyzavxR1KZgdoA= X-MC-Unique: xg8aYXDOOzqziJLgW3BvsA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 1/1] meson: Fix XDR check for GNU/Hurd Date: Tue, 24 Oct 2023 18:54:30 +0200 Message-ID: <20231024165430.144312-2-abologna@redhat.com> In-Reply-To: <20231024165430.144312-1-abologna@redhat.com> References: <20231024165430.144312-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1698166490119100001 Content-Type: text/plain; charset="utf-8"; x-default="true" The situation is the same as Linux: since glibc no longer includes the RPC functionality, libtirpc must be used to complement it. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index de23fbda1e..47748febb8 100644 --- a/meson.build +++ b/meson.build @@ -867,7 +867,7 @@ if not get_option('driver_remote').disabled() # use extra library as it's provided by libc directly. if host_machine.system() =3D=3D 'windows' xdr_dep =3D cc.find_library('portablexdr', required: get_option('drive= r_remote')) - elif host_machine.system() =3D=3D 'linux' + elif host_machine.system() in [ 'linux', 'gnu' ] xdr_dep =3D dependency('libtirpc', required: get_option('driver_remote= ')) elif host_machine.system() in [ 'freebsd', 'darwin' ] xdr_dep =3D cc.find_library('c', required: get_option('driver_remote')) --=20 2.41.0