mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: rdup: Fix build, disable encryption.
* gnu/packages/backup.scm (nettle)[inputs]: Remove nettle. [arguments]: Add ‘disable-failing-tests’ phase.
This commit is contained in:
parent
658ef2ecdd
commit
d939b2955d
1 changed files with 12 additions and 2 deletions
|
@ -308,11 +308,14 @@ (define-public rdup
|
||||||
;; For tests.
|
;; For tests.
|
||||||
("dejagnu" ,dejagnu)))
|
("dejagnu" ,dejagnu)))
|
||||||
(inputs
|
(inputs
|
||||||
|
;; XXX Compiling with nettle (encryption) support requires patching out
|
||||||
|
;; -Werror from GNUmakefile.in. Then, rdup-tr-{en,de}crypt tests fail:
|
||||||
|
;; free(): invalid pointer
|
||||||
|
;; ** rdup-tr: SIGPIPE received, exiting
|
||||||
`(("glib" ,glib)
|
`(("glib" ,glib)
|
||||||
("pcre" ,pcre)
|
("pcre" ,pcre)
|
||||||
("libarchive" ,libarchive)
|
("libarchive" ,libarchive)
|
||||||
("mcrypt" ,mcrypt)
|
("mcrypt" ,mcrypt)))
|
||||||
("nettle" ,nettle)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:parallel-build? #f ;race conditions
|
`(#:parallel-build? #f ;race conditions
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -328,6 +331,13 @@ (define-public rdup
|
||||||
;; Avoid frivolous dependency on ‘which’ with a shell builtin.
|
;; Avoid frivolous dependency on ‘which’ with a shell builtin.
|
||||||
(("which") "command -v"))
|
(("which") "command -v"))
|
||||||
#t))
|
#t))
|
||||||
|
(add-before 'check 'disable-encryption-tests
|
||||||
|
(lambda _
|
||||||
|
(for-each delete-file
|
||||||
|
(list "testsuite/rdup/rdup.rdup-tr-crypt.exp"
|
||||||
|
"testsuite/rdup/rdup.rdup-tr-decrypt.exp"
|
||||||
|
"testsuite/rdup/rdup.rdup-tr-encrypt.exp"))
|
||||||
|
#t))
|
||||||
(add-before 'check 'pre-check
|
(add-before 'check 'pre-check
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "HOME" (getcwd))
|
(setenv "HOME" (getcwd))
|
||||||
|
|
Loading…
Reference in a new issue