GNU bug report logs - #70328
[PATCH] gnu: audit: Build with aarch64 and arm support.

Previous Next

Package: guix-patches;

Reported by: Leo Nikkilä <hello <at> lnikki.la>

Date: Wed, 10 Apr 2024 23:57:04 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 70328 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#70328; Package guix-patches. (Wed, 10 Apr 2024 23:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Nikkilä <hello <at> lnikki.la>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 10 Apr 2024 23:57:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Nikkilä <hello <at> lnikki.la>
To: guix-patches <at> gnu.org
Cc: Leo Nikkilä <hello <at> lnikki.la>
Subject: [PATCH] gnu: audit: Build with aarch64 and arm support.
Date: Thu, 11 Apr 2024 02:55:03 +0300
* 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")

-- 
2.41.0





This bug report was last modified 23 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.