guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: coreutils: Disable 64-bit time_t on 32


From: guix-commits
Subject: branch core-updates updated: gnu: coreutils: Disable 64-bit time_t on 32-bit systems.
Date: Sun, 19 Feb 2023 05:42:27 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new 4eebb73295 gnu: coreutils: Disable 64-bit time_t on 32-bit systems.
4eebb73295 is described below

commit 4eebb73295a8ffdaefcfb7940254ad9c18e4e5d4
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 19 12:40:39 2023 +0200

    gnu: coreutils: Disable 64-bit time_t on 32-bit systems.
    
    Not all software is ready for 64-bit time in Guix.
    
    * gnu/packages/base.scm (coreutils)[arguments]: When building for a
    32-bit system add a configure-flag to not use 64-bit time_t.
---
 gnu/packages/base.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index b9fb09272d..558abf8492 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -416,6 +416,10 @@ used to apply commands with arbitrarily long arguments.")
                                    " test-renameatu"
                                    " test-utimensat")))
             '())
+      ,@(if (not (target-64bit?))
+          ;; Not all software is ready for 64bit time_t.
+          '(#:configure-flags (list "--disable-year2038"))
+          '())
       #:phases (modify-phases %standard-phases
                  (add-before 'build 'patch-shell-references
                    (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]