mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: guile: Fix building on riscv64-linux.
* gnu/packages/guile.scm (guile-3.0)[arguments]: On riscv64-linux add a phase to skip a failing test.
This commit is contained in:
parent
697686805f
commit
f9fbed011e
1 changed files with 11 additions and 8 deletions
|
@ -362,14 +362,17 @@ (define-public guile-3.0
|
|||
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214
|
||||
(substitute* "bootstrap/Makefile.in"
|
||||
(("^GUILE_OPTIMIZATIONS.*")
|
||||
"GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives -Ocps\n"))))
|
||||
(add-after 'unpack 'skip-failing-fdes-test
|
||||
(lambda _
|
||||
;; ERROR: ((system-error "seek" "~A" ("Bad file descriptor") (9)))
|
||||
(substitute* "test-suite/tests/ports.test"
|
||||
(("fdes not closed\"" all) (string-append all "(exit 77)")))
|
||||
#t)))
|
||||
'())))))
|
||||
"GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives -Ocps\n")))))
|
||||
'())
|
||||
,@(if (or (target-ppc32?)
|
||||
(target-riscv64?))
|
||||
`((add-after 'unpack 'skip-failing-fdes-test
|
||||
(lambda _
|
||||
;; ERROR: ((system-error "seek" "~A" ("Bad file descriptor") (9)))
|
||||
(substitute* "test-suite/tests/ports.test"
|
||||
(("fdes not closed\"" all) (string-append all "(exit 77)")))
|
||||
#t)))
|
||||
'())))))
|
||||
|
||||
(native-search-paths
|
||||
(list (search-path-specification
|
||||
|
|
Loading…
Reference in a new issue