From 391ce2ea752c9eb43e47a1e97b1e13aaf6a63385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 18 Aug 2024 17:25:51 +0200 Subject: [PATCH] =?UTF-8?q?gnu:=20grep:=20Skip=20Gnulib=E2=80=99s=20?= =?UTF-8?q?=E2=80=98test-year2038=E2=80=99=20on=20i586-gnu.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/base.scm (grep)[arguments]: Add #:make-flags. Change-Id: I262b6e677a40c37c14807a6189bd18c792099cae --- gnu/packages/base.scm | 8 ++++++++ 1 file changed, 8 insertions(+) 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 @@ (define-public grep (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