gnu: diffutils: Skip Gnulib’s ‘test-year2038’ on i586-gnu.

This is a followup to 391ce2ea75.

* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags.

Change-Id: Ia760cf9a86a2ae60206e42498a07517552d0c9f2
This commit is contained in:
Ludovic Courtès 2024-09-01 16:16:50 +02:00
parent 8f584d2bdb
commit eb4d26ce8e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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