From 310b02de41bd69e807e49cc595a7361d13c4abe6 Mon Sep 17 00:00:00 2001 From: Yelninei Date: Sun, 11 May 2025 12:20:43 +0000 Subject: [PATCH] gnu: util-linux: Disable 64bit time_t on the 32bit Hurd. * gnu/packages/linux.scm (util-linux): Add --disable-year2038 configure-flag for 32bit hurd. Change-Id: I5637bb9bf3c02759c7c9ed85c1f0bdf93bf03352 Change-Id: I387dc1559041956874c756d53382e5c8addf8202 --- gnu/packages/linux.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index a89d2c21500ff13f9c887da3b40971f7c6e567df..e8fc9ee26c30c0a7e46b719c2f173aea68f7f104 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2775,7 +2775,12 @@ deviation, and minimum and maximum values. It can show a nice histogram too.") ;; Install completions where our bash-completion package ;; expects them. (string-append "--with-bashcompletiondir=" #$output - "/etc/bash_completion.d")) + "/etc/bash_completion.d") + ;; XXX: 32-bit Hurd platforms don't support 64bit time_t + #$@(if (and (target-hurd?) + (not (target-64bit?))) + '("--disable-year2038") + '())) ;; FIXME: For now we cannot reliably run tests on GNU/Hurd: ;; .