diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-08-18 17:25:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:45:46 +0200 |
commit | 391ce2ea752c9eb43e47a1e97b1e13aaf6a63385 (patch) | |
tree | a3449bd62bf6c8916450663df4cba43af009e320 /gnu/packages | |
parent | 461df5574fbadaaec71c774cd7eb38d091944532 (diff) | |
download | guix-391ce2ea752c9eb43e47a1e97b1e13aaf6a63385.tar.gz guix-391ce2ea752c9eb43e47a1e97b1e13aaf6a63385.zip |
gnu: grep: Skip Gnulib’s ‘test-year2038’ on i586-gnu.
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags.
Change-Id: I262b6e677a40c37c14807a6189bd18c792099cae
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/base.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index bc30d73426..d58fe59b0b 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -134,6 +134,14 @@ command-line arguments, multiple languages, and so on.") (arguments `(#:configure-flags (list "--enable-perl-regexp") + + ;; XXX: On 32-bit Hurd platforms, 'time_t' is defined as a 32-bit + ;; integer in 'hurd_types.defs', so this Gnulib test always fails. + #:make-flags ,(if (and (not (%current-target-system)) + (string=? (%current-system) "i586-gnu")) + ''("XFAIL_TESTS=test-year2038") + ''()) + #:phases (modify-phases %standard-phases (add-after 'install 'fix-egrep-and-fgrep |