* [bug#37033] [PATCH] gnu: monero: Update to 0.14.1.2.
@ 2019-08-14 21:30 Guillaume Le Vaillant
2019-08-15 8:22 ` Efraim Flashner
0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Le Vaillant @ 2019-08-14 21:30 UTC (permalink / raw)
To: 37033; +Cc: Guillaume Le Vaillant
* gnu/packages/finance.scm (monero): Update to 0.14.1.2.
---
gnu/packages/finance.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 7bfe5e62ff..57c12daa9b 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -445,7 +445,7 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
;; the system's dynamically linked library.
(package
(name "monero")
- (version "0.14.1.0")
+ (version "0.14.1.2")
(source
(origin
(method git-fetch)
@@ -466,7 +466,7 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
#t))
(sha256
(base32
- "1asa197fad81jfv12qgaa7y7pdr1r1pda96m9pvivkh4v30cx0nh"))))
+ "00zl883c7lcd9z7g4y3vv7rxmr7ppzrxdblnhk32r9l3qzyw55r6"))))
(build-system cmake-build-system)
(native-inputs
`(("doxygen" ,doxygen)
@@ -508,6 +508,12 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
(("return \\(")
"return ((std::string(getenv(\"HOME\"))) / "))
#t))
+ (add-after 'change-log-path 'fix-file-permissions-for-tests
+ (lambda _
+ (for-each (lambda (f)
+ (chmod f #o644))
+ (find-files "tests/data/" "wallet_9svHk1.*"))
+ #t))
;; Only try tests that don't need access to network or system
(replace 'check
(lambda _
@@ -522,11 +528,6 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
"DNSResolver.DNSSECSuccess"
"DNSResolver.DNSSECFailure"
"DNSResolver.GetTXTRecord"
- ;; TODO: Find why portability_wallet test fails
- ;; Maybe the Boost version used to create the test
- ;; wallet and the current Boost version are not
- ;; completely compatible?
- "Serialization.portability_wallet"
"is_hdd.linux_os_root")
":")))
(invoke "tests/unit_tests/unit_tests"
--
2.22.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#37033] [PATCH] gnu: monero: Update to 0.14.1.2.
2019-08-14 21:30 [bug#37033] [PATCH] gnu: monero: Update to 0.14.1.2 Guillaume Le Vaillant
@ 2019-08-15 8:22 ` Efraim Flashner
2019-08-15 12:23 ` [bug#37033] [PATCH v2] " Guillaume Le Vaillant
0 siblings, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2019-08-15 8:22 UTC (permalink / raw)
To: Guillaume Le Vaillant; +Cc: 37033
[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]
On Wed, Aug 14, 2019 at 11:30:09PM +0200, Guillaume Le Vaillant wrote:
> * gnu/packages/finance.scm (monero): Update to 0.14.1.2.
> ---
> gnu/packages/finance.scm | 15 ++++++++-------
> 1 file changed, 8 insertions(+), 7 deletions(-)
>
> "return ((std::string(getenv(\"HOME\"))) / "))
> #t))
> + (add-after 'change-log-path 'fix-file-permissions-for-tests
> + (lambda _
> + (for-each (lambda (f)
> + (chmod f #o644))
> + (find-files "tests/data/" "wallet_9svHk1.*"))
> + #t))
> ;; Only try tests that don't need access to network or system
> (replace 'check
Does 'make-file-writable' from (guix build utils) instead of 'chmod'
work here?
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#37033] [PATCH v2] gnu: monero: Update to 0.14.1.2.
2019-08-15 8:22 ` Efraim Flashner
@ 2019-08-15 12:23 ` Guillaume Le Vaillant
2019-08-20 6:29 ` bug#37033: " Efraim Flashner
0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Le Vaillant @ 2019-08-15 12:23 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 37033
[-- Attachment #1: Type: text/plain, Size: 980 bytes --]
Efraim Flashner a écrit :
> On Wed, Aug 14, 2019 at 11:30:09PM +0200, Guillaume Le Vaillant wrote:
>> * gnu/packages/finance.scm (monero): Update to 0.14.1.2.
>> ---
>> gnu/packages/finance.scm | 15 ++++++++-------
>> 1 file changed, 8 insertions(+), 7 deletions(-)
>>
>> "return ((std::string(getenv(\"HOME\"))) / "))
>> #t))
>> + (add-after 'change-log-path 'fix-file-permissions-for-tests
>> + (lambda _
>> + (for-each (lambda (f)
>> + (chmod f #o644))
>> + (find-files "tests/data/" "wallet_9svHk1.*"))
>> + #t))
>> ;; Only try tests that don't need access to network or system
>> (replace 'check
>
> Does 'make-file-writable' from (guix build utils) instead of 'chmod'
> work here?
Yes it works. The 'make-file-writable' function is perfect here, I just
didn't know about it. Here's the updated patch:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-monero-Update-to-0.14.1.2.patch --]
[-- Type: text/x-diff, Size: 2478 bytes --]
From 9ec625224313e609c4f3d50b6bd6cf3bb38450a9 Mon Sep 17 00:00:00 2001
From: Guillaume Le Vaillant <glv@posteo.net>
Date: Thu, 15 Aug 2019 14:07:44 +0200
Subject: [PATCH] gnu: monero: Update to 0.14.1.2.
* gnu/packages/finance.scm (monero): Update to 0.14.1.2.
---
gnu/packages/finance.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 7bfe5e62ff..fc26b77279 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -445,7 +445,7 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
;; the system's dynamically linked library.
(package
(name "monero")
- (version "0.14.1.0")
+ (version "0.14.1.2")
(source
(origin
(method git-fetch)
@@ -466,7 +466,7 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
#t))
(sha256
(base32
- "1asa197fad81jfv12qgaa7y7pdr1r1pda96m9pvivkh4v30cx0nh"))))
+ "00zl883c7lcd9z7g4y3vv7rxmr7ppzrxdblnhk32r9l3qzyw55r6"))))
(build-system cmake-build-system)
(native-inputs
`(("doxygen" ,doxygen)
@@ -508,6 +508,11 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
(("return \\(")
"return ((std::string(getenv(\"HOME\"))) / "))
#t))
+ (add-after 'change-log-path 'fix-file-permissions-for-tests
+ (lambda _
+ (for-each make-file-writable
+ (find-files "tests/data/" "wallet_9svHk1.*"))
+ #t))
;; Only try tests that don't need access to network or system
(replace 'check
(lambda _
@@ -522,11 +527,6 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
"DNSResolver.DNSSECSuccess"
"DNSResolver.DNSSECFailure"
"DNSResolver.GetTXTRecord"
- ;; TODO: Find why portability_wallet test fails
- ;; Maybe the Boost version used to create the test
- ;; wallet and the current Boost version are not
- ;; completely compatible?
- "Serialization.portability_wallet"
"is_hdd.linux_os_root")
":")))
(invoke "tests/unit_tests/unit_tests"
--
2.22.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#37033: [PATCH v2] gnu: monero: Update to 0.14.1.2.
2019-08-15 12:23 ` [bug#37033] [PATCH v2] " Guillaume Le Vaillant
@ 2019-08-20 6:29 ` Efraim Flashner
0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2019-08-20 6:29 UTC (permalink / raw)
To: Guillaume Le Vaillant; +Cc: 37033-done
[-- Attachment #1: Type: text/plain, Size: 638 bytes --]
On Thu, Aug 15, 2019 at 02:23:48PM +0200, Guillaume Le Vaillant wrote:
>
> Efraim Flashner a écrit :
>
> >
> > Does 'make-file-writable' from (guix build utils) instead of 'chmod'
> > work here?
>
> Yes it works. The 'make-file-writable' function is perfect here, I just
> didn't know about it. Here's the updated patch:
>
That was the plan :)
Patch pushed with minimal changes to the commit message.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-08-20 6:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-14 21:30 [bug#37033] [PATCH] gnu: monero: Update to 0.14.1.2 Guillaume Le Vaillant
2019-08-15 8:22 ` Efraim Flashner
2019-08-15 12:23 ` [bug#37033] [PATCH v2] " Guillaume Le Vaillant
2019-08-20 6:29 ` bug#37033: " Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).