guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/06: gnu: dovecot: Add libunwind input for arm.


From: guix-commits
Subject: 01/06: gnu: dovecot: Add libunwind input for arm.
Date: Fri, 17 Apr 2020 07:03:11 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 84ce7c5a559c0eabd831b4bf3633103036df1929
Author: Pierre Langlois <address@hidden>
AuthorDate: Sat Apr 11 16:34:01 2020 +0100

    gnu: dovecot: Add libunwind input for arm.
    
    * gnu/packages/mail.scm (dovecot)[inputs]: Add libunwind when targetting 
arm.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/mail.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 9f7bbcd..d2ec51f 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -24,7 +24,7 @@
 ;;; Copyright © 2017 Kyle Meyer <address@hidden>
 ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2017, 2018 Rene Saavedra <address@hidden>
-;;; Copyright © 2018, 2019 Pierre Langlois <address@hidden>
+;;; Copyright © 2018, 2019, 2020 Pierre Langlois <address@hidden>
 ;;; Copyright © 2018 Alex Vong <address@hidden>
 ;;; Copyright © 2018 Gábor Boskovits <address@hidden>
 ;;; Copyright © 2018, 2019, 2020 Ricardo Wurmus <address@hidden>
@@ -89,6 +89,7 @@
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libidn)
   #:use-module (gnu packages libunistring)
+  #:use-module (gnu packages libunwind)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lsof)
   #:use-module (gnu packages lua)
@@ -1435,6 +1436,11 @@ facilities for checking incoming mail.")
     (inputs
      `(("bzip2" ,bzip2)
        ("libsodium" ,libsodium)         ; extra password algorithms
+       ;; FIXME: The 'test-backtrace' tests fail on arm when using glibc's
+       ;; backtrace_symbol() function so fallback to using libunwind.
+       ,@(if (target-arm?)
+          `(("libunwind" ,libunwind))
+          '())
        ("linux-pam" ,linux-pam)
        ("lz4" ,lz4)
        ("openssl" ,openssl)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]