From patchwork Thu Aug 15 12:23:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 14934 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 22805172DB; Thu, 15 Aug 2019 13:25:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id D34B7172BB for ; Thu, 15 Aug 2019 13:25:09 +0100 (BST) Received: from localhost ([::1]:41416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyEoX-0002kT-8o for patchwork@mira.cbaines.net; Thu, 15 Aug 2019 08:25:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38679) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyEoS-0002jf-4G for guix-patches@gnu.org; Thu, 15 Aug 2019 08:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyEoR-000655-12 for guix-patches@gnu.org; Thu, 15 Aug 2019 08:25:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41951) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyEoQ-00064l-Gz for guix-patches@gnu.org; Thu, 15 Aug 2019 08:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hyEoQ-0004kI-AE for guix-patches@gnu.org; Thu, 15 Aug 2019 08:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37033] [PATCH v2] gnu: monero: Update to 0.14.1.2. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Aug 2019 12:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37033 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Received: via spool by 37033-submit@debbugs.gnu.org id=B37033.156587184218165 (code B ref 37033); Thu, 15 Aug 2019 12:25:02 +0000 Received: (at 37033) by debbugs.gnu.org; 15 Aug 2019 12:24:02 +0000 Received: from localhost ([127.0.0.1]:50772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyEnS-0004ik-19 for submit@debbugs.gnu.org; Thu, 15 Aug 2019 08:24:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyEnN-0004iN-51 for 37033@debbugs.gnu.org; Thu, 15 Aug 2019 08:23:58 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A3B082400E6 for <37033@debbugs.gnu.org>; Thu, 15 Aug 2019 14:23:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1565871830; bh=bYeGVowxpAr0l5Qp33TDWx0erxEvfDRKXC63UpyPwt0=; h=From:To:Cc:Subject:Date:From; b=P70eaLzOA/BoEObZY62Fta9y9mghbCPFGkJNybSDh0dT83uLy6hHxv43riNGb4Hzk 6iC/nsokInhosNQTI3Rekn1/y+xz29vgA1Aw+kUSMF0CatBNgL0UoAzj0n9XNTmEwl eUfL2ErIFmJT67XqTvPtM1IqZjL18RQHh6TMYi6qkzikSLajRBoxltbJ60iVVbRk3W wNI0VP6knmAIGNaFvwYRestbLSCSdpfxn5qmkO7eOY1o6wXcjaEbHwsP5VXk8MSG9+ me3OvVt1SREsIFBiNPpyod8zwbeV8krBEPkLgos3LZftUz7wGeOraUfqFmX8co3a24 IvoLbaJBFx1NA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 468Qbn0nJyz9rxG; Thu, 15 Aug 2019 14:23:48 +0200 (CEST) References: <20190814213009.10656-1-glv@posteo.net> <20190815082227.GB27046@E2140> User-agent: mu4e 1.2.0; emacs 26.2 From: Guillaume Le Vaillant In-reply-to: <20190815082227.GB27046@E2140> Date: Thu, 15 Aug 2019 14:23:48 +0200 Message-ID: <87h86i7h2j.fsf@yamatai> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 37033@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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: From 9ec625224313e609c4f3d50b6bd6cf3bb38450a9 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant 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