GNU bug report logs - #52186
[core-updates-frozen] [PATCH] gnu: libunwind-julia: Fix build on i686-linux.

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Mon, 29 Nov 2021 18:22:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: zimoun <zimon.toutoune <at> gmail.com>
To: 52186 <at> debbugs.gnu.org
Cc: efraim <at> flashner.co.il, maxim.cournoyer <at> gmail.com, zimoun <zimon.toutoune <at> gmail.com>
Subject: [bug#52186] [core-updates-frozen PATCH v2 11/17] gnu: julia-reversediff: Disable tests on i686-linux.
Date: Wed,  1 Dec 2021 16:54:36 +0100
* gnu/packages/julia-xyz (julia-reversediff)[arguments]<#:tests?>:
Conditionally disable tests.
---
 gnu/packages/julia-xyz.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index b7074c66ae..42f79e58c5 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -4090,6 +4090,14 @@ (define-public julia-reversediff
         (sha256
          (base32 "1wrr6sqj2xl9grkvdp88rw3manxy9vbx28zq2wssya5ns1xabsnl"))))
     (build-system julia-build-system)
+    (arguments
+     ;; XXXX: Test suite failing for i686, e.g.,
+     ;; Expression: hash(tr_float, hash(1)) === hash(v_float, hash(1))
+     ;; MethodError: no method matching decompose(::ReverseDiff.TrackedReal{Float64, Float64, Nothing})
+     ;; Disable as stopgap.
+     `(#:tests? ,(if (string-prefix? "i686" (or (%current-target-system)
+                                                (%current-system)))
+                     #f #t)))
     (propagated-inputs
      `(("julia-diffresults" ,julia-diffresults)
        ("julia-diffrules" ,julia-diffrules)
-- 
2.32.0





This bug report was last modified 3 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.