Message ID | 20220216010836.18743-1-ngraves@ngraves.fr |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B5B0327BBE9; Wed, 16 Feb 2022 01:10:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7783227BBEA for <patchwork@mira.cbaines.net>; Wed, 16 Feb 2022 01:10:14 +0000 (GMT) Received: from localhost ([::1]:37130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1nK8ph-00014n-M9 for patchwork@mira.cbaines.net; Tue, 15 Feb 2022 20:10:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nK8pX-00013M-W4 for guix-patches@gnu.org; Tue, 15 Feb 2022 20:10:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nK8pW-00007v-NW for guix-patches@gnu.org; Tue, 15 Feb 2022 20:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1nK8pW-0005Oi-I9 for guix-patches@gnu.org; Tue, 15 Feb 2022 20:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53995] [PATCH 01/31] gnu: update rust-anyhow to 1.0.53. References: <87r185y4gm.fsf@ngraves.fr> In-Reply-To: <87r185y4gm.fsf@ngraves.fr> Resent-From: Nicolas Graves <ngraves@ngraves.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 01:10:02 +0000 Resent-Message-ID: <handler.53995.B53995.164497374620641@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53995 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53995@debbugs.gnu.org Cc: Nicolas Graves <ngraves@ngraves.fr>, maximedevos@telenet.be Received: via spool by 53995-submit@debbugs.gnu.org id=B53995.164497374620641 (code B ref 53995); Wed, 16 Feb 2022 01:10:02 +0000 Received: (at 53995) by debbugs.gnu.org; 16 Feb 2022 01:09:06 +0000 Received: from localhost ([127.0.0.1]:46806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1nK8oc-0005Mr-9T for submit@debbugs.gnu.org; Tue, 15 Feb 2022 20:09:06 -0500 Received: from 6.mo583.mail-out.ovh.net ([178.32.119.138]:44901) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@ngraves.fr>) id 1nK8oY-0005MQ-Uw for 53995@debbugs.gnu.org; Tue, 15 Feb 2022 20:09:04 -0500 Received: from player734.ha.ovh.net (unknown [10.110.171.125]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 96F9A2219D for <53995@debbugs.gnu.org>; Wed, 16 Feb 2022 01:09:01 +0000 (UTC) Received: from ngraves.fr (201.238.0.109.rev.sfr.net [109.0.238.201]) (Authenticated sender: ngraves@ngraves.fr) by player734.ha.ovh.net (Postfix) with ESMTPSA id D278A274821CD; Wed, 16 Feb 2022 01:08:58 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-99G00310822faa-d1e4-414c-9fce-9f9c092c79c9, 8189C8991AA2FB9408B3E53C30EB2E0BB8626241) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 109.0.238.201 Date: Wed, 16 Feb 2022 02:08:36 +0100 Message-Id: <20220216010836.18743-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 5669187509123736290 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrjeehgdeftdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhephfekueelvdetgeeuudekkeejudefjeeludfhgefhudefudeliedvhefggeejieevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpuddtledrtddrvdefkedrvddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeefgedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehfeelleehseguvggssghughhsrdhgnhhurdhorhhg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> Reply-to: Nicolas Graves <ngraves@ngraves.fr> X-ACL-Warn: , Nicolas Graves via Guix-patches <guix-patches@gnu.org> From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#53995,01/31] gnu: update rust-anyhow to 1.0.53.
|
|
Commit Message
Nicolas Graves
Feb. 16, 2022, 1:08 a.m. UTC
--- gnu/packages/crates-io.scm | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-)
Comments
Nicolas Graves schreef op wo 16-02-2022 om 02:08 [+0100]: > - `(#:cargo-development-inputs > - (("rust-futures" ,rust-futures-0.3) > - ("rust-rustversion" ,rust-rustversion-1) > - ("rust-thiserror" ,rust-thiserror-1) > - ("rust-trybuild" ,rust-trybuild-1)))) Looking at 'cargo.toml', anyhow still has these ‘development inputs’. What's the reason for removing them? > + `(#:skip-build? #t This prevents doing "guix build rust-anyhow" to test if 'rust-anyhow' still builds. What's the reason for this change? Greetings, Maxime.
Maxime Devos <maximedevos@telenet.be> writes: > [[PGP Signed Part:Undecided]] > Nicolas Graves schreef op wo 16-02-2022 om 02:08 [+0100]: >> - `(#:cargo-development-inputs >> - (("rust-futures" ,rust-futures-0.3) >> - ("rust-rustversion" ,rust-rustversion-1) >> - ("rust-thiserror" ,rust-thiserror-1) >> - ("rust-trybuild" ,rust-trybuild-1)))) > > Looking at 'cargo.toml', anyhow still has these ‘development inputs’. > What's the reason for removing them? > >> + `(#:skip-build? #t > > This prevents doing "guix build rust-anyhow" to test if 'rust-anyhow' > still builds. What's the reason for this change? When I import from guix import crate and get a skip-build, each time I tried removing it caused the build to fail, because of nightly features. I assumed it was the case in general, haven't tried it there. No reason for removing cargo-develpment-inputs, I may have assumed that skipping the build removed the need for them, but it seems not to be the case. > > Greetings, > Maxime. > > [[End of PGP Signed Part]]
Nicolas Graves schreef op wo 16-02-2022 om 09:08 [+0100]: > When I import from guix import crate and get a skip-build, each time I > tried removing it caused the build to fail, because of nightly > features. I assumed it was the case in general, haven't tried it there. In this case, this does not seem to be the case, the following builds (guix build -f): (use-modules (guix packages) (gnu packages crates-io) (guix build-system cargo) (guix download)) ;; otherwise 'rust-anyhow@1.0.54' fails to build because the version ;; of 'rust-rustversion' currently in Guix is too old. (set! rust-rustversion-1 (package (inherit rust-rustversion-1) (version "1.0.6") (source (origin (method url-fetch) (uri (crate-uri "rustversion" version)) (file-name (string-append "rust-rustversion" "-" version ".tar.gz")) (sha256 (base32 "0gxj6skypbk0wlbks3pdqb0lclpwbzmyv9xbqkijsvk6zbl3ik7j")))))) (package (inherit rust-anyhow-1) (version "1.0.53") (source (origin (inherit (package-source rust-anyhow-1)) (uri (crate-uri "anyhow" version)) (file-name (string-append "rust-anyhow" "-" version ".tar.gz")) (sha256 (base32 "1q06xg4jn4lpad7lj1af28x5xdwymgl1k820zj2nnrhlbi2mp94l")))))
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d21fb240a8..0dfdf4569a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2763,7 +2763,7 @@ (define-public rust-antidote-1 (define-public rust-anyhow-1 (package (name "rust-anyhow") - (version "1.0.46") + (version "1.0.53") (source (origin (method url-fetch) @@ -2771,15 +2771,12 @@ (define-public rust-anyhow-1 (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0w0zm1bqk5kbk834r4xszlzqiln4vw5k1lnlswyjkh24khi2ia1s")))) + (base32 "1q06xg4jn4lpad7lj1af28x5xdwymgl1k820zj2nnrhlbi2mp94l")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs - (("rust-futures" ,rust-futures-0.3) - ("rust-rustversion" ,rust-rustversion-1) - ("rust-thiserror" ,rust-thiserror-1) - ("rust-trybuild" ,rust-trybuild-1)))) + `(#:skip-build? #t + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3)))) (home-page "https://github.com/dtolnay/anyhow") (synopsis "Flexible concrete Error type") (description "This package provides a flexible concrete Error type built on