GNU bug report logs -
#52186
[core-updates-frozen] [PATCH] gnu: libunwind-julia: Fix build on i686-linux.
Previous Next
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
* gnu/packages/julia-xyz.scm (julia-intervalsets)[arguments]<#:phases>:
Conditionally disable the failing test.
---
gnu/packages/julia-xyz.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 42f79e58c5..ea7f9a3caa 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2630,6 +2630,21 @@ (define-public julia-intervalsets
(sha256
(base32 "0gsz89cd3iygbl5qr389k9vwpg7w1nk0s90g25nsmk34y9hifxag"))))
(build-system julia-build-system)
+ (arguments
+ `(#:phases
+ ,@(if (string-prefix? "i686" (or (%current-target-system)
+ (%current-system)))
+ '((modify-phases %standard-phases
+ (add-after 'unpack 'remove-failing-test-i686
+ (lambda _
+ (substitute* "test/runtests.jl"
+ ;; For some reason, the output is correct but the test
+ ;; is considered as failed:
+ ;; Expression: duration(ClosedInterval(A, B)) ≡ 60
+ ;; Evaluated: 60 ≡ 60
+ (("@test duration\\(ClosedInterval")
+ "@test_broken duration(ClosedInterval"))))))
+ '(%standard-phases))))
(propagated-inputs
`(("julia-ellipsisnotation" ,julia-ellipsisnotation)))
(native-inputs
--
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.