From a21590dabfcef0aa008503ea981364b90750b07c Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 6 Jan 2022 16:26:09 +0100 Subject: 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. -- cgit v1.2.3