From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 06 04:23:32 2020 Received: (at submit) by debbugs.gnu.org; 6 Mar 2020 09:23:32 +0000 Received: from localhost ([127.0.0.1]:44062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jA9Ce-0005Tv-DW for submit@debbugs.gnu.org; Fri, 06 Mar 2020 04:23:32 -0500 Received: from lists.gnu.org ([209.51.188.17]:48338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jA9Cb-0005Tn-TR for submit@debbugs.gnu.org; Fri, 06 Mar 2020 04:23:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46931) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jA9Ca-0006KB-Ks for guix-patches@gnu.org; Fri, 06 Mar 2020 04:23:29 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jA9CZ-0003FK-Dm for guix-patches@gnu.org; Fri, 06 Mar 2020 04:23:28 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:49903) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jA9CZ-0002xI-7K for guix-patches@gnu.org; Fri, 06 Mar 2020 04:23:27 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 3FE16E0015 for ; Fri, 6 Mar 2020 09:23:22 +0000 (UTC) From: Pierre Neidhardt To: guix-patches@gnu.org Subject: [PATCH 0/3] WIP: Hyperledger Iroha Date: Fri, 6 Mar 2020 10:23:22 +0100 Message-Id: <20200306092322.10256-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.196 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) It's close to build but fails with some unreadable C++ / Boost error. I've reported upstream: https://jira.hyperledger.org/browse/IR-689?jql=text%20~%20%22guix%22 Anyone proficient enough in C++ / Boost to solve this? Pierre Neidhardt (3): gnu: Add fmt-5. gnu: Add hyperledger-iroha-ed25519. gnu: Add hyperledger-iroha. gnu/packages/hyperledger.scm | 125 +++++++++++++++++- ...oha-ed25519-cmake-remove-hunter-gate.patch | 23 ++++ gnu/packages/pretty-print.scm | 14 ++ 3 files changed, 157 insertions(+), 5 deletions(-) create mode 100644 gnu/packages/patches/hyperledger-iroha-ed25519-cmake-remove-hunter-gate.patch -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 06 04:41:39 2020 Received: (at 39943) by debbugs.gnu.org; 6 Mar 2020 09:41:39 +0000 Received: from localhost ([127.0.0.1]:44081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jA9UB-0005zC-JK for submit@debbugs.gnu.org; Fri, 06 Mar 2020 04:41:39 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:50889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jA9UA-0005yn-BI for 39943@debbugs.gnu.org; Fri, 06 Mar 2020 04:41:38 -0500 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id F19BA200003 for <39943@debbugs.gnu.org>; Fri, 6 Mar 2020 09:41:30 +0000 (UTC) From: Pierre Neidhardt To: 39943@debbugs.gnu.org Subject: [PATCH 1/3] gnu: Add fmt-5. Date: Fri, 6 Mar 2020 10:41:28 +0100 Message-Id: <20200306094130.20695-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 39943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) * gnu/packages/pretty-print.scm (fmt-5): New variable. --- gnu/packages/pretty-print.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm index 14fe7a1bef..74e60cbd2a 100644 --- a/gnu/packages/pretty-print.scm +++ b/gnu/packages/pretty-print.scm @@ -191,6 +191,20 @@ to @code{IOStreams}.") ;; The library is bsd-2, but documentation and tests include other licenses. (license (list bsd-2 bsd-3 psfl)))) +(define-public fmt-5 ; fmt >= 6 API is not backward compatible. + (package + (inherit fmt) + (version "5.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fmtlib/fmt") + (commit version))) + (file-name (git-file-name (package-name fmt) version)) + (sha256 + (base32 + "1hl9s69a5ql5nckc0ifh2fzlgsgv1wsn6yhqkpnrhasqkhj0hgv4")))))) + (define-public source-highlight (package (name "source-highlight") -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 06 04:41:41 2020 Received: (at 39943) by debbugs.gnu.org; 6 Mar 2020 09:41:41 +0000 Received: from localhost ([127.0.0.1]:44083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jA9UC-0005zL-Q4 for submit@debbugs.gnu.org; Fri, 06 Mar 2020 04:41:41 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:45187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jA9UA-0005yo-Ax for 39943@debbugs.gnu.org; Fri, 06 Mar 2020 04:41:39 -0500 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id DDCA9200002 for <39943@debbugs.gnu.org>; Fri, 6 Mar 2020 09:41:31 +0000 (UTC) From: Pierre Neidhardt To: 39943@debbugs.gnu.org Subject: [PATCH 2/3] gnu: Add hyperledger-iroha-ed25519. Date: Fri, 6 Mar 2020 10:41:29 +0100 Message-Id: <20200306094130.20695-2-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200306094130.20695-1-mail@ambrevar.xyz> References: <20200306094130.20695-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519): New variable. --- gnu/packages/hyperledger.scm | 62 ++++++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/gnu/packages/hyperledger.scm b/gnu/packages/hyperledger.scm index 158a66e898..1fb76e3504 100644 --- a/gnu/packages/hyperledger.scm +++ b/gnu/packages/hyperledger.scm @@ -1,5 +1,5 @@ ;;; G [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519): New variable. --- gnu/packages/hyperledger.scm | 62 ++++++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) diff --git a/gnu/packages/hyperledger.scm b/gnu/packages/hyperledger.scm index 158a66e898..1fb76e3504 100644 --- a/gnu/packages/hyperledger.scm +++ b/gnu/packages/hyperledger.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019 Pierre Neidhardt +;;; Copyright © 2019, 2020 Pierre Neidhardt ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -20,16 +20,18 @@ (define-module (gnu packages hyperledger) #:use-module (ice-9 match) #:use-module (guix build-system go) - #:use-module (guix build-system trivial) + #:use-module (guix build-system cmake) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix licenses) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages check) #:use-module (gnu packages curl) #:use-module (gnu packages docker) #:use-module (gnu packages golang) + #:use-module (gnu packages tls) #:use-module (gnu packages version-control)) (define-public hyperledger-fabric @@ -93,3 +95,59 @@ solutions, underpinned by a modular architecture focusing on confidentiality and resiliency. It is designed to support pluggable implementations of different components.") (license asl2.0))) + +(define-public hyperledger-iroha-ed25519 ;; TODO: Public or not? + (package + (name "hyperledger-iroha-ed25519") + (version "2.0.2") + (home-page "https://github.com/hyperledger/iroha-ed25519") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (patches + (search-patches + "hyperledger-iroha-ed25519-cmake-remove-hunter-gate.patch")) + ;; (modules '((guix build utils))) + ;; (snippet '(delete-file "./cmake/dependencies.cmake")) + (sha256 + (base32 + "0kr1zwah8mhnpfrpk3h6hdafyqdl3ixhs7czdfscqv6vxqfiabc4")))) + (build-system cmake-build-system) + (inputs + `(("openssl" ,openssl))) + (native-inputs + `(("googletest" ,googletest))) + (arguments + `(#:tests? #f ; Tests don't build because CMake cannot find GTest main. + #:configure-flags '("-DTESTING=OFF" + "-DBUILD=SHARED" + "-DEDIMPL=ref10" ; TODO: Use x86_64 should use amd64-64-24k-pic but it fails to link. https://github.com/hyperledger/iroha-ed25519/issues/6. + "-DHASH=sha3_brainhub") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-hunter-gate-fetch + (lambda _ + (substitute* "cmake/dependencies.cmake" + ;; (("hunter_add_package\\(benchmark\\)") "") + (("hunter_add_package\\(GTest\\)") "")) + #t))))) + (synopsis "Ed25519 digital signature algorithm") + (description "This repository aims to provide modularized implementation +of the Ed25519 digital signature algorithm which is is described in +RFC8032 (@url{https://tools.ietf.org/html/rfc8032}). + +Originally Ed25519 consists of three modules: + +@itemize +@item digital signature algorithm itself +@item SHA512 hash function +@item random number generator, to generate keypairs +@end itemize + +This project offers at least two different C implementations for every +module. Every implementation can be replaced with another one at +link-time. New implementations can be added as well.") + (license asl2.0))) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:22:16 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:22:16 +0000 Received: from localhost ([127.0.0.1]:51785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBa9X-0001cm-Vv for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:22:16 -0400 Received: from flashner.co.il ([178.62.234.194]:44098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBa9W-0001cZ-Bm for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:22:14 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 933D3400E5; Tue, 10 Mar 2020 08:22:07 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 0/4] WIP: Hyperledger Iroha Date: Tue, 10 Mar 2020 10:21:25 +0200 Message-Id: <20200310082129.20416-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39943 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I fixed the boost errors by using boost-1.69, which of course is suboptimal. There were other linking errors with grpc so I made it also produce a shared library and adjusted tensorflow so the changes don't break building that. Efraim Flashner (2): gnu: grpc: Build shared libraries. gnu: Add boost-1.69. Pierre Neidhardt (2): gnu: Add hyperledger-iroha-ed25519. gnu: Add hyperledger-iroha. gnu/packages/boost.scm | 25 +++++- gnu/packages/hyperledger.scm | 129 +++++++++++++++++++++++++++++- gnu/packages/machine-learning.scm | 43 +++++++++- 3 files changed, 190 insertions(+), 7 deletions(-) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:24:07 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:24:07 +0000 Received: from localhost ([127.0.0.1]:51789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaBL-0001fv-BI for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:24:07 -0400 Received: from flashner.co.il ([178.62.234.194]:44670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaBK-0001fV-GY for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:24:06 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id A4E0A40248; Tue, 10 Mar 2020 08:24:00 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 0/4] WIP: Hyperledger Iroha Date: Tue, 10 Mar 2020 10:23:18 +0200 Message-Id: <20200310082322.20478-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39943 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I fixed the boost errors by using boost-1.69, which of course is suboptimal. There were other linking errors with grpc so I made it also produce a shared library and adjusted tensorflow so the changes don't break building that. Efraim Flashner (2): gnu: grpc: Build shared libraries. gnu: Add boost-1.69. Pierre Neidhardt (2): gnu: Add hyperledger-iroha-ed25519. gnu: Add hyperledger-iroha. gnu/packages/boost.scm | 25 +++++- gnu/packages/hyperledger.scm | 129 +++++++++++++++++++++++++++++- gnu/packages/machine-learning.scm | 43 +++++++++- 3 files changed, 190 insertions(+), 7 deletions(-) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:25:04 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:25:05 +0000 Received: from localhost ([127.0.0.1]:51793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaCG-0001hZ-Lm for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:25:04 -0400 Received: from flashner.co.il ([178.62.234.194]:44798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaCF-0001gx-Sf for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:25:04 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 115B140248; Tue, 10 Mar 2020 08:24:57 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 0/4] WIP: Hyperledger Iroha Date: Tue, 10 Mar 2020 10:24:21 +0200 Message-Id: <20200310082425.20542-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39943 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I fixed the boost errors by using boost-1.69, which of course is suboptimal. There were other linking errors with grpc so I made it also produce a shared library and adjusted tensorflow so the changes don't break building that. Efraim Flashner (2): gnu: grpc: Build shared libraries. gnu: Add boost-1.69. Pierre Neidhardt (2): gnu: Add hyperledger-iroha-ed25519. gnu: Add hyperledger-iroha. gnu/packages/boost.scm | 25 +++++- gnu/packages/hyperledger.scm | 129 +++++++++++++++++++++++++++++- gnu/packages/machine-learning.scm | 43 +++++++++- 3 files changed, 190 insertions(+), 7 deletions(-) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:26:03 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:26:03 +0000 Received: from localhost ([127.0.0.1]:51797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaDD-0001jL-0W for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:26:03 -0400 Received: from flashner.co.il ([178.62.234.194]:45058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaDB-0001ih-Nz for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:26:02 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id E7C2540248; Tue, 10 Mar 2020 08:25:55 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 0/4] WIP: Hyperledger Iroha Date: Tue, 10 Mar 2020 10:25:20 +0200 Message-Id: <20200310082524.20602-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39943 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I fixed the boost errors by using boost-1.69, which of course is suboptimal. There were other linking errors with grpc so I made it also produce a shared library and adjusted tensorflow so the changes don't break building that. Efraim Flashner (2): gnu: grpc: Build shared libraries. gnu: Add boost-1.69. Pierre Neidhardt (2): gnu: Add hyperledger-iroha-ed25519. gnu: Add hyperledger-iroha. gnu/packages/boost.scm | 25 +++++- gnu/packages/hyperledger.scm | 129 +++++++++++++++++++++++++++++- gnu/packages/machine-learning.scm | 43 +++++++++- 3 files changed, 190 insertions(+), 7 deletions(-) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:31:51 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:31:51 +0000 Received: from localhost ([127.0.0.1]:51801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaIp-0001sY-M0 for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:31:51 -0400 Received: from flashner.co.il ([178.62.234.194]:46114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaIo-0001sK-7j for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:31:50 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 226A940248; Tue, 10 Mar 2020 08:31:44 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 0/4] WIP: Hyperledger Iroha Date: Tue, 10 Mar 2020 10:31:01 +0200 Message-Id: <20200310083105.21013-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39943 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I fixed the boost errors by using boost-1.69, which of course is suboptimal. There were other linking errors with grpc so I made it also produce a shared library and adjusted tensorflow so the changes don't break building that. Efraim Flashner (2): gnu: grpc: Build shared libraries. gnu: Add boost-1.69. Pierre Neidhardt (2): gnu: Add hyperledger-iroha-ed25519. gnu: Add hyperledger-iroha. gnu/packages/boost.scm | 25 +++++- gnu/packages/hyperledger.scm | 129 +++++++++++++++++++++++++++++- gnu/packages/machine-learning.scm | 43 +++++++++- 3 files changed, 190 insertions(+), 7 deletions(-) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:32:33 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:32:33 +0000 Received: from localhost ([127.0.0.1]:51805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaJR-0001uA-Tq for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:32:33 -0400 Received: from flashner.co.il ([178.62.234.194]:46290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaJO-0001tX-4N for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:32:27 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 4A42240248; Tue, 10 Mar 2020 08:32:20 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 1/4] gnu: grpc: Build shared libraries. Date: Tue, 10 Mar 2020 10:31:02 +0200 Message-Id: <20200310083105.21013-2-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200310083105.21013-1-efraim@flashner.co.il> References: <20200310083105.21013-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39943 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/machine-learning.scm (grpc)[outputs]: Add static. [arguments]: Copy configure-flags from cmake-build-system. Add custom phases 'configure-shared, 'install-shared-libraries and 'move-static-libs to build shared libs and move static libs to their own output. (tensorflow)[native-inputs]: Add grpc:static. --- gnu/packages/machine-learning.scm | 43 ++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 50c41dc113..52e639723b 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus -;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016, 2020 Efraim Flashner ;;; Copyright © 2016, 2017 Marius Bakke ;;; Copyright © 2016 Hartmut Goebel ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice @@ -1285,6 +1285,7 @@ Python.") (package (name "grpc") (version "1.16.1") + (outputs '("out" "static")) (source (origin (method git-fetch) (uri (git-reference @@ -1301,7 +1302,42 @@ Python.") (list "-DgRPC_ZLIB_PROVIDER=package" "-DgRPC_CARES_PROVIDER=package" "-DgRPC_SSL_PROVIDER=package" - "-DgRPC_PROTOBUF_PROVIDER=package"))) + "-DgRPC_PROTOBUF_PROVIDER=package" + (string-append "-DCMAKE_INSTALL_PREFIX=" + (assoc-ref %outputs "out")) + "-DCMAKE_INSTALL_LIBDIR=lib" + (string-append "-DCMAKE_INSTALL_RPATH=" + (assoc-ref %outputs "out") "/lib") + "-DCMAKE_VERBOSE_MAKEFILE=ON") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'configure-shared + (lambda* (#:key (configure-flags '()) #:allow-other-keys) + (mkdir "../build-shared") + (with-directory-excursion "../build-shared" + (apply invoke + "cmake" "../source" + "-DBUILD_SHARED_LIBS=ON" + configure-flags) + (apply invoke "make" + `("-j" ,(number->string (parallel-job-count))))))) + (add-after 'install 'install-shared-libraries + (lambda _ + (with-directory-excursion "../build-shared" + (invoke "make" "install")))) + (add-before 'strip 'move-static-libs + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (static (assoc-ref outputs "static"))) + (mkdir-p (string-append static "/lib")) + (with-directory-excursion + (string-append out "/lib") + (for-each + (lambda (file) + (rename-file file + (string-append static "/lib/" file))) + (find-files "." "\\.a$")))) + #t))))) (inputs `(("c-ares" ,c-ares/cmake) ("openssl" ,openssl) @@ -1731,6 +1767,7 @@ INSTALL_RPATH " (assoc-ref outputs "out") "/lib)\n"))) (sha256 (base32 "161g9841rjfsy5pn52fcis0s9hdr7rxvb06pad38j5rppfihvign"))))) + ("grpc" ,grpc "static") ("googletest" ,googletest) ("swig" ,swig) ("unzip" ,unzip))) @@ -1752,7 +1789,7 @@ INSTALL_RPATH " (assoc-ref outputs "out") "/lib)\n"))) ("libjpeg" ,libjpeg) ("libpng" ,libpng) ("giflib" ,giflib) - ("grpc" ,grpc) + ("grpc:bin" ,grpc) ("jsoncpp" ,jsoncpp-for-tensorflow) ("snappy" ,snappy) ("sqlite" ,sqlite) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:32:59 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:33:00 +0000 Received: from localhost ([127.0.0.1]:51808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaJv-0001ut-LG for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:32:59 -0400 Received: from flashner.co.il ([178.62.234.194]:46312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaJt-0001uf-ET for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:32:58 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 93B3940248; Tue, 10 Mar 2020 08:32:51 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 2/4] gnu: Add hyperledger-iroha-ed25519. Date: Tue, 10 Mar 2020 10:31:03 +0200 Message-Id: <20200310083105.21013-3-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200310083105.21013-1-efraim@flashner.co.il> References: <20200310083105.21013-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Pierre Neidhardt * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519): New variable. --- gnu/packages/hyperledger.scm | 45 +++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: tobias.gr] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 39943 Cc: Pierre Neidhardt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) From: Pierre Neidhardt * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519): New variable. --- gnu/packages/hyperledger.scm | 45 +++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/gnu/packages/hyperledger.scm b/gnu/packages/hyperledger.scm index 158a66e898..71194fba38 100644 --- a/gnu/packages/hyperledger.scm +++ b/gnu/packages/hyperledger.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2019 Pierre Neidhardt +;;; Copyright © 2019, 2020 Pierre Neidhardt ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -93,3 +93,46 @@ solutions, underpinned by a modular architecture focusing on confidentiality and resiliency. It is designed to support pluggable implementations of different components.") (license asl2.0))) + +(define-public hyperledger-iroha-ed25519 + (package + (name "hyperledger-iroha-ed25519") + (version "2.0.2") + (home-page "https://github.com/hyperledger/iroha-ed25519") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0kr1zwah8mhnpfrpk3h6hdafyqdl3ixhs7czdfscqv6vxqfiabc4")))) + (build-system cmake-build-system) + (native-inputs + `(("googletest" ,googletest))) + (arguments + `(#:tests? #f ; Tests don't build because CMake cannot find GTest main. + #:configure-flags '("-DHUNTER_ENABLED=OFF" + "-DBUILD=SHARED" + ;; TODO: x86_64 should use amd64-64-24k-pic but it + ;; fails to link when built as a shared library. + "-DEDIMPL=ref10" + "-DHASH=sha3_brainhub"))) + (synopsis "Ed25519 digital signature algorithm") + (description "This repository aims to provide modularized implementation +of the Ed25519 digital signature algorithm which is is described in +RFC8032 (@url{https://tools.ietf.org/html/rfc8032}). + +Originally Ed25519 consists of three modules: + +@itemize +@item digital signature algorithm itself +@item SHA512 hash function +@item random number generator, to generate keypairs +@end itemize + +This project offers at least two different C implementations for every +module. Every implementation can be replaced with another one at +link-time. New implementations can be added as well.") + (license asl2.0))) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:33:34 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:33:34 +0000 Received: from localhost ([127.0.0.1]:51813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaKR-0001w5-00 for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:33:34 -0400 Received: from flashner.co.il ([178.62.234.194]:46450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaKO-0001vs-MJ for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:33:29 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id E4DD540248; Tue, 10 Mar 2020 08:33:22 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 3/4] gnu: Add boost-1.69. Date: Tue, 10 Mar 2020 10:31:04 +0200 Message-Id: <20200310083105.21013-4-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200310083105.21013-1-efraim@flashner.co.il> References: <20200310083105.21013-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39943 Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/boost.scm (boost-1.69): New hidden package. --- gnu/packages/boost.scm | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index 11fb8e1201..8bf2002adb 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -9,7 +9,7 @@ ;;; Copyright © 2018 Arun Isaac ;;; Copyright © 2018, 2019 Ricardo Wurmus ;;; Copyright © 2018 Maxim Cournoyer -;;; Copyright © 2018 Efraim Flashner +;;; Copyright © 2018, 2020 Efraim Flashner ;;; Copyright © 2019 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. @@ -195,6 +195,29 @@ across a broad spectrum of applications.") (symlink "libboost_python27.a" "libboost_python.a")) #t))))))))) +(define-public boost-1.69 + (package + (inherit boost) + (name "boost") + (version "1.69.0") + (source (origin + (method url-fetch) + (uri (let ((version-with-underscores + (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version))) + (list (string-append "mirror://sourceforge/boost/boost/" version + "/boost_" version-with-underscores ".tar.bz2") + (string-append "https://dl.bintray.com/boostorg/release/" + version "/source/boost_" + version-with-underscores ".tar.bz2")))) + (sha256 + (base32 + "01j4n142dz20lcgqji8d8hspp04p1nv7m8i6dz8w5lchfdhx8clg")))) + (arguments + (substitute-keyword-arguments (package-arguments boost) + ((#:make-flags flags) + `(cons* "cxxflags=-std=c++14" ,flags)))) + (properties '((hidden? . #t))))) + (define-public boost-for-mysql ;; Older version for MySQL 5.7.23. (package -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 04:34:02 2020 Received: (at 39943) by debbugs.gnu.org; 10 Mar 2020 08:34:02 +0000 Received: from localhost ([127.0.0.1]:51816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaKv-0001ws-NY for submit@debbugs.gnu.org; Tue, 10 Mar 2020 04:34:02 -0400 Received: from flashner.co.il ([178.62.234.194]:46550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBaKu-0001wZ-2h for 39943@debbugs.gnu.org; Tue, 10 Mar 2020 04:34:00 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id 3B95440248; Tue, 10 Mar 2020 08:33:54 +0000 (UTC) From: Efraim Flashner To: 39943@debbugs.gnu.org Subject: [PATCH v2 4/4] gnu: Add hyperledger-iroha. Date: Tue, 10 Mar 2020 10:31:05 +0200 Message-Id: <20200310083105.21013-5-efraim@flashner.co.il> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200310083105.21013-1-efraim@flashner.co.il> References: <20200310083105.21013-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Pierre Neidhardt This package was co-authored with Efraim Flashner * gnu/packages/hyperledger.scm (hyperledger-iroha): New variable. --- gnu/packages/hyperledger.scm | 84 +++++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 2 deletions(-) Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 39943 Cc: Pierre Neidhardt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) From: Pierre Neidhardt This package was co-authored with Efraim Flashner * gnu/packages/hyperledger.scm (hyperledger-iroha): New variable. --- gnu/packages/hyperledger.scm | 84 +++++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/gnu/packages/hyperledger.scm b/gnu/packages/hyperledger.scm index 71194fba38..697074d9a9 100644 --- a/gnu/packages/hyperledger.scm +++ b/gnu/packages/hyperledger.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2019, 2020 Pierre Neidhardt ;;; Copyright © 2019 Tobias Geerinckx-Rice +;;; Copyright © Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,18 +20,28 @@ (define-module (gnu packages hyperledger) #:use-module (ice-9 match) + #:use-module (guix build-system cmake) #:use-module (guix build-system go) - #:use-module (guix build-system trivial) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix licenses) #:use-module (gnu packages) #:use-module (gnu packages base) + #:use-module (gnu packages boost) + #:use-module (gnu packages check) #:use-module (gnu packages curl) + #:use-module (gnu packages databases) #:use-module (gnu packages docker) #:use-module (gnu packages golang) - #:use-module (gnu packages version-control)) + #:use-module (gnu packages logging) + #:use-module (gnu packages machine-learning) + #:use-module (gnu packages popt) + #:use-module (gnu packages pretty-print) + #:use-module (gnu packages protobuf) + #:use-module (gnu packages tbb) + #:use-module (gnu packages version-control) + #:use-module (gnu packages web)) (define-public hyperledger-fabric (package @@ -136,3 +147,72 @@ This project offers at least two different C implementations for every module. Every implementation can be replaced with another one at link-time. New implementations can be added as well.") (license asl2.0))) + +(define-public hyperledger-iroha + (package + (name "hyperledger-iroha") + (version "1.1.1") + (home-page "https://github.com/hyperledger/iroha") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "014mbwq059yxwihw0mq8zgns53fsw8ckczi1lw8q9pz3pk86pa9b")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Backport unversioned fmt dependency: + (substitute* "libs/logger/logger.hpp" + (("fmt::v5") "fmt")) + #t)))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + '("-DTESTING=OFF" + ; Don't install the shared libraries of the dependencies: + "-DENABLE_LIBS_PACKAGING=OFF") + #:tests? #f + #:test-target "." + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'change-compilation-flags + (lambda _ + (substitute* "cmake/functions.cmake" + (("-Werror") "")) + #t))))) + ;; See https://iroha.readthedocs.io/en/latest/build/index.html. + (native-inputs + `(("googletest" ,googletest))) + (inputs + `(("boost" ,boost-1.69) + ("fmt" ,fmt) + ("gflags" ,gflags) + ("grpc" ,grpc) + ("hyperledger-iroha-ed25519" ,hyperledger-iroha-ed25519) + ("postgresql" ,postgresql) + ("protobuf" ,protobuf) + ("rapidjson" ,rapidjson) + ("rxcpp" ,rxcpp) + ("soci" ,soci) + ("spdlog" ,spdlog) + ("tbb" ,tbb))) + (synopsis "Simple, decentralized ledger") + (description "Iroha is a distributed ledger technology (DLT). Iroha has +essential functionality for your asset, information and identity management +needs, at the same time being a crash fault-tolerant tool. + +Iroha has the following features: + +@itemize +@item Creation and management of custom fungible assets, such as currencies, kilos of gold, etc. +@item Management of user accounts +@item Taxonomy of accounts based on domains in the system +@item The system of rights and verification of user permissions for the execution of transactions and queries in the system +@item Validation of business rules for transactions and queries in the system +@item Multisignature transactions +@end itemize\n") + (license asl2.0))) -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 11 10:13:36 2020 Received: (at 39943) by debbugs.gnu.org; 11 Mar 2020 14:13:36 +0000 Received: from localhost ([127.0.0.1]:55283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC276-00066J-7m for submit@debbugs.gnu.org; Wed, 11 Mar 2020 10:13:36 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:46657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC274-000663-EO for 39943@debbugs.gnu.org; Wed, 11 Mar 2020 10:13:35 -0400 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 7973A240012; Wed, 11 Mar 2020 14:13:26 +0000 (UTC) From: Pierre Neidhardt To: Efraim Flashner , 39943@debbugs.gnu.org Subject: Re: [PATCH v2 4/4] gnu: Add hyperledger-iroha. In-Reply-To: <20200310083105.21013-5-efraim@flashner.co.il> References: <20200310083105.21013-1-efraim@flashner.co.il> <20200310083105.21013-5-efraim@flashner.co.il> Date: Wed, 11 Mar 2020 15:13:25 +0100 Message-ID: <87r1xz2d4q.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've tested it and run the example here https://iroha.readthedocs.io/en/latest/getting_started/cli-guide.html It works! Patch looks good, feel free to merge. A few comments below: > + (snippet > + '(begin > + ; ; Backport unversioned fmt dependency: > + (substitute* "libs/logger/logger.hpp" > + (("fmt::v5") "fmt")) > + #t)))) Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39943 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've tested it and run the example here https://iroha.readthedocs.io/en/latest/getting_started/cli-guide.html It works! Patch looks good, feel free to merge. A few comments below: > + (snippet > + '(begin > + ;; Backport unversioned fmt dependency: > + (substitute* "libs/logger/logger.hpp" > + (("fmt::v5") "fmt")) > + #t)))) Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've tested it and run the example here https://iroha.readthedocs.io/en/latest/getting_started/cli-guide.html It works! Patch looks good, feel free to merge. A few comments below: > + (snippet > + '(begin > + ;; Backport unversioned fmt dependency: > + (substitute* "libs/logger/logger.hpp" > + (("fmt::v5") "fmt")) > + #t)))) Mention the commit you've sent me and that this should be removed on next update. > + (build-system cmake-build-system) > + (arguments > + `(#:configure-flags > + '("-DTESTING=3DOFF" > + ; Don't install the shared libraries of the dependencies: > + "-DENABLE_LIBS_PACKAGING=3DOFF") > + #:tests? #f Explain why the tests must be disabled. > + #:test-target "." Why setting the test-target if you are not running it? > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'change-compilation-flags > + (lambda _ > + (substitute* "cmake/functions.cmake" > + (("-Werror") "")) > + #t))))) Why do you need to do this? > + ;; See https://iroha.readthedocs.io/en/latest/build/index.html. > + (native-inputs > + `(("googletest" ,googletest))) > + (inputs > + `(("boost" ,boost-1.69) > + ("fmt" ,fmt) > + ("gflags" ,gflags) > + ("grpc" ,grpc) > + ("hyperledger-iroha-ed25519" ,hyperledger-iroha-ed25519) > + ("postgresql" ,postgresql) > + ("protobuf" ,protobuf) > + ("rapidjson" ,rapidjson) > + ("rxcpp" ,rxcpp) > + ("soci" ,soci) > + ("spdlog" ,spdlog) > + ("tbb" ,tbb))) > + (synopsis "Simple, decentralized ledger") > + (description "Iroha is a distributed ledger technology (DLT). Iroha = has Double spacing. Thanks! Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5o8gUACgkQm9z0l6S7 zH/+Ngf/bBRW/d8gKGVwxx4URNaWz9S8p2rfBnanOY0GjPibBNIlNyCpnSqvhFKl AZX5HuGYRjRc0xZy5JsG6DhPGVYVtKXgMf5nEFKVuEOJb3rZUj3cf3GlHHUg7EO3 9k9f8YsZhu5o7olhWjlaciYWR9Hb83f4jaiaT8+hgrF+iZsc/WFbxpP+o5UJqA+Z I3AkuxCg2DSXBjBsSipHE+rEVT/1rlS6EAQVw7iSRj2pTheC67jDOb+a+0GXUtKa a8jQpYJoUpkEtdxby5W1+hmS07YfoLOSosfWbkCP9fOTtsRZw7HqSbeMk8leWB1m lYJZ9ikK3VNqcgKGR6EZPg9toVtuzw== =ukCy -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 12 09:41:34 2020 Received: (at 39943-done) by debbugs.gnu.org; 12 Mar 2020 13:41:35 +0000 Received: from localhost ([127.0.0.1]:56176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCO5e-0002vg-Jj for submit@debbugs.gnu.org; Thu, 12 Mar 2020 09:41:34 -0400 Received: from flashner.co.il ([178.62.234.194]:48670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCO5c-0002vS-Ms for 39943-done@debbugs.gnu.org; Thu, 12 Mar 2020 09:41:33 -0400 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id B945B40278; Thu, 12 Mar 2020 13:41:26 +0000 (UTC) Date: Thu, 12 Mar 2020 15:40:55 +0200 From: Efraim Flashner To: Pierre Neidhardt Subject: Re: [PATCH v2 4/4] gnu: Add hyperledger-iroha. Message-ID: <20200312134055.GC824@E5400> References: <20200310083105.21013-1-efraim@flashner.co.il> <20200310083105.21013-5-efraim@flashner.co.il> <87r1xz2d4q.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xo44VMWPx7vlQ2+2" Content-Disposition: inline In-Reply-To: <87r1xz2d4q.fsf@ambrevar.xyz> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Wed, Mar 11, 2020 at 03:13:25PM +0100, Pierre Neidhardt wrote: > I've tested it and run the example here > https://iroha.readthedocs.io/en/latest/getting_started/cli-guide.html > It works! > > Patc [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: flashner.co.il] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-Debbugs-Envelope-To: 39943-done Cc: 39943-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --xo44VMWPx7vlQ2+2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 11, 2020 at 03:13:25PM +0100, Pierre Neidhardt wrote: > I've tested it and run the example here > https://iroha.readthedocs.io/en/latest/getting_started/cli-guide.html > It works! >=20 > Patch looks good, feel free to merge. > A few comments below: >=20 > > + (snippet > > + '(begin > > + ;; Backport unversioned fmt dependency: > > + (substitute* "libs/logger/logger.hpp" > > + (("fmt::v5") "fmt")) > > + #t)))) >=20 > Mention the commit you've sent me and that this should be removed on > next update. Done >=20 > > + (build-system cmake-build-system) > > + (arguments > > + `(#:configure-flags > > + '("-DTESTING=3DOFF" > > + ; Don't install the shared libraries of the dependencies: > > + "-DENABLE_LIBS_PACKAGING=3DOFF") > > + #:tests? #f >=20 > Explain why the tests must be disabled. >=20 Noted > > + #:test-target "." >=20 > Why setting the test-target if you are not running it? >=20 I added a note to the build instructions, for when we can run the tests > > + #:phases > > + (modify-phases %standard-phases > > + (add-after 'unpack 'change-compilation-flags > > + (lambda _ > > + (substitute* "cmake/functions.cmake" > > + (("-Werror") "")) > > + #t))))) >=20 > Why do you need to do this? >=20 Turns out we don't, I removed it > > + ;; See https://iroha.readthedocs.io/en/latest/build/index.html. > > + (native-inputs > > + `(("googletest" ,googletest))) > > + (inputs > > + `(("boost" ,boost-1.69) > > + ("fmt" ,fmt) > > + ("gflags" ,gflags) > > + ("grpc" ,grpc) > > + ("hyperledger-iroha-ed25519" ,hyperledger-iroha-ed25519) > > + ("postgresql" ,postgresql) > > + ("protobuf" ,protobuf) > > + ("rapidjson" ,rapidjson) > > + ("rxcpp" ,rxcpp) > > + ("soci" ,soci) > > + ("spdlog" ,spdlog) > > + ("tbb" ,tbb))) > > + (synopsis "Simple, decentralized ledger") > > + (description "Iroha is a distributed ledger technology (DLT). Iroh= a has >=20 > Double spacing. >=20 > Thanks! > Cheers! >=20 > --=20 > Pierre Neidhardt > https://ambrevar.xyz/ --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --xo44VMWPx7vlQ2+2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl5qO+cACgkQQarn3Mo9 g1H9aQ/9G0pAXnVdrFJ0P+yaiFb8g5kZc+WcfWDLM7CCCOfJ75n2f1Z/GJb8SJOb BIQrN+depQR5SN6gZ2uJIw0bN7++sL36KkGjCuFuWyFU2khrpK03EwN+oFytgNmk T968vr6Jd75rMIby6MnyFcl8QVYCbmIV6f2CS/KrXJ3GXtqPNbH3/XVvJw54xmB5 AQFVi62qv9RHRXPAYzqbzWjwtEOwLIryE3QWfxsdN1wziVFbH6QLtWqyjdu/Gcal 7wFTFoCyjYD+6nEBVt8O+gEnkmJX/J2ZIQfsmFDTDyBVm33kdYUGGzcK3ybENmBV kSjKYuswAihV3l/gO1Vga5zo/B0+w35/hVgw9Bjif9EkYwF9V2aUl7+MFzKGvUop MXKpEJ9a5sTFgk3Jy5QG1QhmnXc42qiU8fd3PQigOOoUqf6vZJb2mttcqgvET2Y6 qZNIHU04bE11w0pD7DNW0D+U96K715cbNfLvonDAqF1rhSSWiUZjkreFPuKbrtHn zhL86qOpPGcwGQ2a80AnkR15o08kXuhAnOcdNU9rS/KlanDftycSqrTMClsY18u7 3DDtGAz5L40kWKhB6sdCILcJsD0PvS8+jxc9+zq1OROwfsqFBZVuzvj4U8po8ALk 5U+nkY1NhKmohsBe4DEVYZQuiKi4emy7PMmxwRbVaC4JUWLC8N0= =D0Ou -----END PGP SIGNATURE----- --xo44VMWPx7vlQ2+2-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 12 09:45:57 2020 Received: (at 39943-done) by debbugs.gnu.org; 12 Mar 2020 13:45:57 +0000 Received: from localhost ([127.0.0.1]:56183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCO9t-00033O-7l for submit@debbugs.gnu.org; Thu, 12 Mar 2020 09:45:57 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:39543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jCO9r-00033C-Qu for 39943-done@debbugs.gnu.org; Thu, 12 Mar 2020 09:45:56 -0400 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 65A9540008; Thu, 12 Mar 2020 13:45:49 +0000 (UTC) From: Pierre Neidhardt To: Efraim Flashner Subject: Re: [PATCH v2 4/4] gnu: Add hyperledger-iroha. In-Reply-To: <20200312134055.GC824@E5400> References: <20200310083105.21013-1-efraim@flashner.co.il> <20200310083105.21013-5-efraim@flashner.co.il> <87r1xz2d4q.fsf@ambrevar.xyz> <20200312134055.GC824@E5400> Date: Thu, 12 Mar 2020 14:45:48 +0100 Message-ID: <87o8t1hek3.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thanks a lot! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.194 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39943-done Cc: 39943-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thanks a lot! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.194 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks a lot! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5qPQwACgkQm9z0l6S7 zH+qxgf/dfQQAhSNjoswcPn4U4f4Nu2EVMNplj+QgRLj66dYzxHVqFgHs2lB0mJx B2cPWy6Pagyn2XvKd37nWZaPSy7jDSqwV/rAn5gg4XBaIfqDE1SrVRSa1dP9dmBd lA1IJdHxxSXgEkKw7sQf8b71ePc03+hp7MFJJc6Sj3LQ5nG6d/xxjCCBBoKqYxNL tzqVgz5JFmVdLwqTJRJ4vbqSQrf2Ve4Vs8MSm1GUGpJLVfoz6DEpKY2PB90kLh6y AkIsVJhuq28IrRSrnkVlHUz5azxiub4UNP+If0IoY2AEpxQYIfu3N8RtmzGTMk3j pQ+3RDVx9DRpVGWUk6hft55hVKcIbw== =O7gR -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Aug 17 04:18:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 10 Apr 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator