From patchwork Wed Apr 10 23:55:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Leo_Nikkil=C3=A4?= X-Patchwork-Id: 62916 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B178227BBE2; Thu, 11 Apr 2024 00:57:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A67DF27BBE9 for ; Thu, 11 Apr 2024 00:57:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruhoH-0004kg-A5; Wed, 10 Apr 2024 19:56:57 -0400 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 1ruhoG-0004kW-K1 for guix-patches@gnu.org; Wed, 10 Apr 2024 19:56:56 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ruhoG-0002AX-BV for guix-patches@gnu.org; Wed, 10 Apr 2024 19:56:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ruhoP-00071T-0M for guix-patches@gnu.org; Wed, 10 Apr 2024 19:57:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70328] [PATCH] gnu: audit: Build with aarch64 and arm support. Resent-From: Leo =?utf-8?q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Apr 2024 23:57:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70328 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70328@debbugs.gnu.org Cc: Leo =?utf-8?q?Nikkil=C3=A4?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171279340826814 (code B ref -1); Wed, 10 Apr 2024 23:57:04 +0000 Received: (at submit) by debbugs.gnu.org; 10 Apr 2024 23:56:48 +0000 Received: from localhost ([127.0.0.1]:54494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruho7-0006yA-6T for submit@debbugs.gnu.org; Wed, 10 Apr 2024 19:56:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruho2-0006wQ-Vi for submit@debbugs.gnu.org; Wed, 10 Apr 2024 19:56:45 -0400 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 1ruhno-0004eg-9f for guix-patches@gnu.org; Wed, 10 Apr 2024 19:56:28 -0400 Received: from wfhigh8-smtp.messagingengine.com ([64.147.123.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruhnm-000248-JJ for guix-patches@gnu.org; Wed, 10 Apr 2024 19:56:28 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id 766D318000A7; Wed, 10 Apr 2024 19:56:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 10 Apr 2024 19:56:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1712793381; x=1712879781; bh=5uS8M/W6qDGBkJABPNeCm QPtTA5Hxa2nw3KHLRFHO2Q=; b=c1yoq4SgXlPL28VAJO/EGVMT4KVS0uPr5/5Zz hmdFaN8MLDLS5Xkog+wkmLSOsSZwR+cUmeaRH1hRDqq6xU6XUewt4Iuxl13up9sz j1BNXLvmxS4TZe35htPu96TUYYS2lRCjcGr+d4tS06Ql9OfK9tkTOzm0QHg1Opl7 rD88X/2q7FJdwKqnAxrAGXgiRwq6Aj9zyzCfehKftQhoxNh/Pf5+jUHvu2wBWuTg 9nZ5k0IKPv6FfyjtCCdeySeQaWyaSEmmKXLOlW+JX1RHsfXlUWwE5XQlnd11FFpC NRRPEsR2ql96BbCAn7PRkLGE1ucDQTAf5UWrp9Ngrygn/g9Mg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1712793381; x=1712879781; bh=5uS8M/W6qDGBkJABPNeCmQPtTA5H xa2nw3KHLRFHO2Q=; b=R5bPyEPW0QtBmN9wWdXno9T5UCvr/hr3EW9rr/ZyJScC Mbwj2VKez8W2oQodjjIb7U5HkoY0GeRrxPw8c8Xz2BOYaaPegdh0Kr8IgwOQEWqu Y7b0sEGMBH+FA4vFqUOjEwDKRSLFf/VNop7nrsHbZbP72dD+oS0fGvpY3vCKjxgM QcDl/93eLA5M3DMxc/s5TWzqNmMOqO8MPbBTRNa/FlGOiqOFiQ70m2x8Av6dobGd mM57gcHgYPCOvNh8ChAui6zO3tg22m0oMN1yLR894MswRBjBAqSHLLOUfaJRWebd g56q6sWboW2aTFLLrufRZ/RP2admHwzWqB/68WVIDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudehjedgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertd ertdejnecuhfhrohhmpefnvghoucfpihhkkhhilhomuceohhgvlhhloheslhhnihhkkhhi rdhlrgeqnecuggftrfgrthhtvghrnhephfffgfduieeljedtffevgfejjeekhfevhfffhf ffheegffehheeifffgveeiudfhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhephhgvlhhloheslhhnihhkkhhirdhlrg X-ME-Proxy: Feedback-ID: i41f146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 Apr 2024 19:56:21 -0400 (EDT) Date: Thu, 11 Apr 2024 02:55:03 +0300 Message-ID: <20240410235555.21183-1-hello@lnikki.la> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=64.147.123.159; envelope-from=hello@lnikki.la; helo=wfhigh8-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Leo =?utf-8?q?Nikkil=C3=A4?= X-ACL-Warn: , =?utf-8?q?Leo_Nikkil=C3=A4_via_Guix-patches?= X-Patchwork-Original-From: =?utf-8?q?Leo_Nikkil=C3=A4_via_Guix-patches?= via From: =?utf-8?q?Leo_Nikkil=C3=A4?= Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/admin.scm (audit)[arguments]<#:configure-flags>: Add `--with-aarch64' when building for aarch64. Likewise for arm. --- gnu/packages/admin.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 2b94b1e17a..d8b2c25af4 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -3355,9 +3355,18 @@ (define-public audit "0y5w8pl91xapi49ih1pw7h48lac201cj7fm89hkklmzi9m2715gx")))) (build-system gnu-build-system) (arguments - `(#:configure-flags (list "--with-python=no" - "--disable-static"))) + (list #:configure-flags + #~(list #$@(let ((system (or (%current-target-system) + (%current-system)))) + (cond ((string-prefix? "aarch64-" system) + '("--with-aarch64")) + ((string-prefix? "arm-" system) + '("--with-arm")) + (else + '()))) + "--with-python=no" + "--disable-static"))) (inputs (list openldap gnutls cyrus-sasl)) (synopsis "User-space component to the Linux auditing system")