guix-commits
[Top][All Lists]
Advanced

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

07/09: gnu: gettext: Work around Gnulib test failures on armhf-linux.


From: guix-commits
Subject: 07/09: gnu: gettext: Work around Gnulib test failures on armhf-linux.
Date: Thu, 6 Jan 2022 10:41:31 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit a21590dabfcef0aa008503ea981364b90750b07c
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jan 6 16:26:09 2022 +0100

    gnu: gettext: Work around Gnulib test failures on armhf-linux.
    
    * gnu/packages/gettext.scm (gettext-minimal)[arguments]: In
    'patch-tests' phase, conditionally apply "coreutils-gnulib-tests.patch"
    on ARMv7.
---
 gnu/packages/gettext.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index b75c20c751..d5fd197922 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -111,6 +111,15 @@
                          (("/bin/pwd")
                           "pwd"))
 
+                       ;; Work around Gnulib test failures on armhf-linux.
+                       #$@(if (target-arm32?)
+                              #~((with-directory-excursion "gettext-tools"
+                                   (invoke "patch" "--force" "-p1" "-i"
+                                           #$(local-file
+                                              (search-patch
+                                               
"coreutils-gnulib-tests.patch")))))
+                              '())
+
                        #t)))))
 
        ;; When tests fail, we want to know the details.



reply via email to

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