diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-09-01 16:16:50 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-03 13:59:33 +0200 |
commit | eb4d26ce8e1063ffa801860b74352f355f560b9d (patch) | |
tree | 485406649cb06a8eba703fe1b1bcc43f4c3fc6d8 | |
parent | 8f584d2bdb0a5a5e78f04ce0b468d99605157420 (diff) | |
download | guix-eb4d26ce8e1063ffa801860b74352f355f560b9d.tar guix-eb4d26ce8e1063ffa801860b74352f355f560b9d.tar.gz |
gnu: diffutils: Skip Gnulib’s ‘test-year2038’ on i586-gnu.
This is a followup to 391ce2ea752c9eb43e47a1e97b1e13aaf6a63385.
* gnu/packages/base.scm (diffutils)[arguments]: Add #:make-flags.
Change-Id: Ia760cf9a86a2ae60206e42498a07517552d0c9f2
-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 f45bcd6ff2..4e8121ae2c 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -370,6 +370,14 @@ differences.") (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 |