From eb4d26ce8e1063ffa801860b74352f355f560b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 1 Sep 2024 16:16:50 +0200 Subject: [PATCH] =?UTF-8?q?gnu:=20diffutils:=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 This is a followup to 391ce2ea752c9eb43e47a1e97b1e13aaf6a63385. * gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags. Change-Id: Ia760cf9a86a2ae60206e42498a07517552d0c9f2 --- gnu/packages/base.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index f45bcd6ff2..4e8121ae2c 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -370,6 +370,14 @@ (define-public diffutils (build-system gnu-build-system) (arguments (list + ;; 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 (if (system-hurd?) #~(modify-phases %standard-phases (add-after 'unpack 'skip-tests