[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: gnu: grep: Work around test failure with glibc 2.28.
From: |
Marius Bakke |
Subject: |
06/10: gnu: grep: Work around test failure with glibc 2.28. |
Date: |
Sat, 25 Aug 2018 10:30:53 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 8c8ded2cc9201e69e87999bb40ef09c6c868deb8
Author: Marius Bakke <address@hidden>
Date: Fri Aug 24 16:37:50 2018 +0200
gnu: grep: Work around test failure with glibc 2.28.
* gnu/packages/base.scm (grep)[arguments]: Add phase
'disable-failing-tests'.
---
gnu/packages/base.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 114413b..1c652bc 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -102,6 +102,15 @@ command-line arguments, multiple languages, and so on.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-before 'check 'disable-failing-tests
+ (lambda _
+ ;; These tests are expected to fail due to a glibc bug which has
+ ;; been fixed in 2.28, so they are unexpectedly passing. They
+ ;; should be fixed for grep versions > 3.1.
+ (substitute* "tests/Makefile.in"
+ (("^[[:blank:]]+backref-alt[[:blank:]]+\\\\") "\\")
+ (("^[[:blank:]]+triple-backref[[:blank:]]+\\\\") "\\"))
+ #t))
(add-after 'install 'fix-egrep-and-fgrep
;; Patch 'egrep' and 'fgrep' to execute 'grep' via its
;; absolute file name instead of searching for it in $PATH.
- branch core-updates updated (3ea66da -> 27c1df0), Marius Bakke, 2018/08/25
- 10/10: gnu: linux-libre-headers: Update to 4.14.67., Marius Bakke, 2018/08/25
- 09/10: gnu: Remove address@hidden, Marius Bakke, 2018/08/25
- 02/10: gnu: gcc: Fix build with glibc >= 2.28., Marius Bakke, 2018/08/25
- 08/10: gnu: flex: Update bison-for-tests to 3.0.5., Marius Bakke, 2018/08/25
- 07/10: gnu: findutils: Fix build with glibc 2.28., Marius Bakke, 2018/08/25
- 05/10: gnu: coreutils: Update to 8.30., Marius Bakke, 2018/08/25
- 03/10: gnu: m4: Fix FTBFS with glibc >= 2.28., Marius Bakke, 2018/08/25
- 06/10: gnu: grep: Work around test failure with glibc 2.28.,
Marius Bakke <=
- 01/10: gnu: glibc: Update to 2.28., Marius Bakke, 2018/08/25
- 04/10: gnu: gzip: Fix FTBFS with glibc >= 2.28., Marius Bakke, 2018/08/25