guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit 11d32a4abaefbf84ccb9c4a462758443af92a675 Author: Yelninei <yelni...@tutamail.com> AuthorDate: Sun May 11 12:20:43 2025 +0000 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 712c9f7faa..a300153dfa 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2715,7 +2715,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: ;; <https://bugs.gnu.org/47791>.