aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-09-30 19:47:27 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2020-09-30 19:47:27 +0200
commit510278134b533e3d0b50c11d64b1c2193e9bc23a (patch)
tree10623cf09ab4075f471e6b3a0dcaa9cee9e5976e
parentdb194f714a8beb155c508c06e346c7c2322e7053 (diff)
downloadguix-510278134b533e3d0b50c11d64b1c2193e9bc23a.tar
guix-510278134b533e3d0b50c11d64b1c2193e9bc23a.tar.gz
gnu: bitcoin-unlimited: Update to 1.9.0.1.
* gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.9.0.1. [arguments]: Add "--disable-static" to 'configure-flags. Remove 'fix-build' and 'make-qt-deterministic' phases. Enable "txvalidationcache" test.
-rw-r--r--gnu/packages/finance.scm28
1 files changed, 8 insertions, 20 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 05cb0ad88b..3f6cf62f83 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1399,7 +1399,7 @@ entity management.")
(define-public bitcoin-unlimited
(package
(name "bitcoin-unlimited")
- (version "1.9.0.0")
+ (version "1.9.0.1")
(source
(origin
(method git-fetch)
@@ -1408,7 +1408,7 @@ entity management.")
(commit (string-append "BCHunlimited" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1a64h7mcqdra4ahnw1nycp4ysx308ymgbl4yn5fj5jfaszdzvy0h"))))
+ (base32 "1pan24g3d5csa004d7zvlizj4mv58ly5i579341isp944phl3g5v"))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
@@ -1443,32 +1443,20 @@ entity management.")
"/bin/lrelease")
(string-append "ac_cv_path_LUPDATE="
(assoc-ref %build-inputs "qttools")
- "/bin/lupdate"))
+ "/bin/lupdate")
+ "--disable-static")
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'fix-build
- (lambda _
- ;; The 'stack' header was not included in unlimited.cpp, which
- ;; caused the build to fail.
- (substitute* "src/unlimited.cpp"
- (("#include <queue>" all)
- (string-append all "\n#include <stack>")))
- #t))
(add-after 'unpack 'fix-tests
(lambda _
- ;; TODO: Find why txvalidationcache_tests fails and
- ;; utilprocess_tests never ends. Disable for now.
+ ;; Disable utilprocess_tests because it never ends.
+ ;; It looks like it tries to start /bin/sleep and waits until it
+ ;; is in the list of running processes, but /bin/sleep doesn't
+ ;; exist.
(substitute* "src/Makefile.test.include"
- (("test/txvalidationcache_tests.cpp")
- "")
(("test/utilprocess_tests.cpp")
""))
#t))
- (add-before 'configure 'make-qt-deterministic
- (lambda _
- ;; Make Qt deterministic.
- (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
- #t))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME