guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 916078cc22001f65311726038f63b846efe70ed4
Author: Dariqq <[email protected]>
AuthorDate: Sat Jun 28 12:44:27 2025 +0000

    gnu: jq: XFAIL test ‘tests/optionaltest’ on some 32 bit systems.
    
    This test requires 64bit time_t.  The patch covers systems verified by the
    author.  Other 32bit systems are not checked therefore not included in this
    patch.
    
    * gnu/packages/web.scm (jq)[arguments]: XFAIL tests/optionaltest when 
building
    for 32bit arm or x86.
    
    Fixes: https://codeberg.org/guix/guix/issues/806
    Change-Id: I6b5570750746f68f1bb966a6fb08779ed3bd20da
    Signed-off-by: Hilton Chain <[email protected]>
---
 gnu/packages/web.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index af97acb107..41ba9fe03a 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -5637,6 +5637,12 @@ It uses the uwsgi protocol for all the 
networking/interprocess communications.")
        (snippet
         ;; Remove bundled onigurama.
         '(delete-file-recursively "vendor/oniguruma"))))
+    (arguments
+     (if (or (target-x86-32?)
+             (target-arm32?))
+         ;; requires 64bit time_t
+         (list #:make-flags #~'("XFAIL_TESTS=tests/optionaltest"))
+         '()))
     (inputs
      (list oniguruma))
     (native-inputs

Reply via email to