From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KF4LAFWGJmFMmwAAgWs5BA (envelope-from ) for ; Wed, 25 Aug 2021 20:05:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +ExRN1SGJmFsJAAA1q6Kng (envelope-from ) for ; Wed, 25 Aug 2021 18:05:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A77433643 for ; Wed, 25 Aug 2021 20:05:08 +0200 (CEST) Received: from localhost ([::1]:58786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIxGt-0001hG-Lc for larch@yhetil.org; Wed, 25 Aug 2021 14:05:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIxFw-00082v-7R for guix-patches@gnu.org; Wed, 25 Aug 2021 14:04:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIxFv-0000sn-VC for guix-patches@gnu.org; Wed, 25 Aug 2021 14:04:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mIxFv-0002oB-R9 for guix-patches@gnu.org; Wed, 25 Aug 2021 14:04:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50201] [PATCH 13/52] gnu: polkit: Prevent cross-compilation build error. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Aug 2021 18:04:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50201 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50201@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 50201-submit@debbugs.gnu.org id=B50201.162991463910620 (code B ref 50201); Wed, 25 Aug 2021 18:04:07 +0000 Received: (at 50201) by debbugs.gnu.org; 25 Aug 2021 18:03:59 +0000 Received: from localhost ([127.0.0.1]:47689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIxFn-0002l8-Hd for submit@debbugs.gnu.org; Wed, 25 Aug 2021 14:03:59 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:50758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIxFX-0002fx-Fc for 50201@debbugs.gnu.org; Wed, 25 Aug 2021 14:03:44 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id lu3d2500J0mfAB406u3jUA; Wed, 25 Aug 2021 20:03:43 +0200 From: Maxime Devos Date: Wed, 25 Aug 2021 20:02:53 +0200 Message-Id: <20210825180332.5720-13-maximedevos@telenet.be> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210825180332.5720-1-maximedevos@telenet.be> References: <20210825180332.5720-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1629914623; bh=1Z8nej+VfaMcWw4v1GhwZ3uX8KcZQWGrPiFqbxJBh5o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=qZCVShDyFfO1oz1lGwv6d32yOGmSpOlRvq5XtgNEFVWt65LQSLuATkvdA+dA14Eo8 8UUcqXleFbMkupDAxn0lCmVYtwevpNjlNp+U0sT5kVdyTxHR5w3GI1xVtRQG6ABiLH 2FUOlEiFqtG/F/rgIaodGxh4o52WEW30S/a1syPuUwPduyFx2ZXprqpmIQ+8su0Zk0 //eTG0x6yudkvBIQalFjOgwAQBxesFB/qMq5WaFZaKwBoE1at4gvX8O0hIquPoGop2 Pi0dfhgexqWFOqeBzfCy6q0+4sGeN6BmtvZ5fSgSAnuiBw8Q3vNkrCwzPdeaK9RwOs mx6/72s/imeBA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629914708; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1Z8nej+VfaMcWw4v1GhwZ3uX8KcZQWGrPiFqbxJBh5o=; b=FCOIwEkLovNLdAC7f1XOCuT9PuE1rh2rpcEVN3nYhl1w5xevKuM8Ajjv0nXM+tLi0icpjn KCxg2nlCKcusU6paiXs/BzN3QkMgexS7bhDlZCFZtFHy90Fatzqe86d/TtfPr1aKxXN4js TMGWfzwjlZ8tNifsxFo8WPQ6GkA8X0+oCekB0S8URK5yNWMvOkmydsUWAQqjyCBkSUR+dQ x4s7BU51SFUQ60+6FfHvHi3MyomhNlyN/sFw+FRGA8wHUMpYCieVG3RIb8Qnev4iBR9kmk rhgm63sxCW2kI3liaxcFFluZoXWn6+0F9XTrocexOoE2mySKblozDaStCYWlkg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629914708; a=rsa-sha256; cv=none; b=j4ZWP8QPJrSS9ockbb4exunO2QkCJ3feilaCCxVT6TNozYJpn5WLHJoFcRm6Q6FyIknXJ3 2UFYgs3PFHGsCnfEYBGmBfO2JUIRmB6F6Zec1Fg5QKx3gi5ITTcAma01CS218nesOaOqA4 MFFD8c174eOx/I5NpBJGe684oTnoYwy4aGhjJrdNGASw9n8RVkYmqvugkYNrFJl6/4NgQX gVZ8OIc2x8h1a7CPNv6HbhbzrEmqmgUlTNbkpep13ZMIHK7Xm66venreihOvHiVBLEZkRQ ATBQr8ua7IGfuQLihkOZ9cIyXUPfrTL0sKp4qB68bFAup8w/hHwpgxn4wP3IzQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=qZCVShDy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=qZCVShDy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A77433643 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: JxYJ+6pwqVm1 Alternative ‘os types’ include RedHat and Gentoo, which don't seem applicable. * gnu/packages/polkit.scm (polkit)[arguments]<#:configure-flags>: Set "--with-os-type" to "unknown". --- gnu/packages/polkit.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm index f495d51c83..585e0d8087 100644 --- a/gnu/packages/polkit.scm +++ b/gnu/packages/polkit.scm @@ -101,7 +101,12 @@ ("gobject-introspection" ,gobject-introspection))) (arguments `(#:configure-flags '("--sysconfdir=/etc" - "--enable-man-pages") + "--enable-man-pages" + ;; Prevent ‘configure: error: cannot check for + ;; file existence when cross compiling’. + ,@(if (%current-target-system) + '("--with-os-type=unknown") + '())) #:phases (modify-phases %standard-phases (add-after -- 2.33.0