From 510278134b533e3d0b50c11d64b1c2193e9bc23a Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Wed, 30 Sep 2020 19:47:27 +0200 Subject: 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. --- gnu/packages/finance.scm | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) (limited to 'gnu/packages') 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 @@ (define-public opensp (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 @@ (define-public bitcoin-unlimited (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 @@ (define-public bitcoin-unlimited "/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 " all) - (string-append all "\n#include "))) - #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 -- cgit v1.2.3