guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 200f80b0d4601e03f94b3194f63d57c6a301cf52
Author: Yelninei <yelni...@tutamail.com>
AuthorDate: Sun May 11 12:25:16 2025 +0000

    gnu: tar: Disable 64bit time_t on the 32bit Hurd.
    
    * gnu/packages/base.scm (tar): Add --disable-year2038 configure-flag for
    32bit hurd.
    Change-Id: I8573dca7fa848afb968365977c49edbd01e97756
    
    Change-Id: Ie3ab2f7275c9d7163557a8874f7b004dae3c6a17
---
 gnu/packages/base.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 0949c71950..a916320b76 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -268,6 +268,11 @@ implementation offers several extensions over the standard 
utility.")
           ((not (target-64bit?))
            '(#:make-flags (list "TESTSUITEFLAGS= -k '!tricky time stamps'")))
           (else '()))
+      ;; XXX: 32-bit Hurd platforms don't support 64bit time_t
+      ,@(if (and (target-hurd?)
+                 (not (target-64bit?)))
+            (list #:configure-flags ''("--disable-year2038"))
+            '())
       #:phases (modify-phases %standard-phases
                  (add-before 'build 'set-shell-file-name
                    (lambda* (#:key inputs #:allow-other-keys)

Reply via email to