Message ID | 20221018145943.16919-1-mike@rohleder.de |
---|---|
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 9768C27BBED; Tue, 18 Oct 2022 16:03:36 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 6368227BBEA for <patchwork@mira.cbaines.net>; Tue, 18 Oct 2022 16:03:36 +0100 (BST) Received: from localhost ([::1]:54728 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 1oko7z-0002Wt-Ey for patchwork@mira.cbaines.net; Tue, 18 Oct 2022 11:03:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51114) 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 1oko6U-0002Um-Qa for guix-patches@gnu.org; Tue, 18 Oct 2022 11:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54668) 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 1oko6U-0003lh-96 for guix-patches@gnu.org; Tue, 18 Oct 2022 11:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1oko6U-0007Gi-2a for guix-patches@gnu.org; Tue, 18 Oct 2022 11:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58610] [PATCH] gnu: rust-generic-array-0.14: Fix build. Resent-From: Michael Rohleder <mike@rohleder.de> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Oct 2022 15:02:01 +0000 Resent-Message-ID: <handler.58610.B.166610527027874@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58610 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58610@debbugs.gnu.org Cc: Michael Rohleder <mike@rohleder.de> X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166610527027874 (code B ref -1); Tue, 18 Oct 2022 15:02:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Oct 2022 15:01:10 +0000 Received: from localhost ([127.0.0.1]:53745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1oko5b-0007FT-Oc for submit@debbugs.gnu.org; Tue, 18 Oct 2022 11:01:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:51500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mike@rohleder.de>) id 1oko5W-0007FI-F9 for submit@debbugs.gnu.org; Tue, 18 Oct 2022 11:01:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mike@rohleder.de>) id 1oko5L-0001yZ-MK for guix-patches@gnu.org; Tue, 18 Oct 2022 11:00:55 -0400 Received: from sxb1nlsmtp03.prod.sxb1.secureserver.net ([92.204.71.219]:46328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <mike@rohleder.de>) id 1oko5J-0003ZS-Kx for guix-patches@gnu.org; Tue, 18 Oct 2022 11:00:50 -0400 Received: from 122.164.205.92.host.secureserver.net ([92.205.164.122]) by : HOSTING RELAY : with ESMTP id ko4GozJ7ZKEPMko4Gon42e; Tue, 18 Oct 2022 07:59:45 -0700 X-SECURESERVER-ACCT: 92.205.164.122 x-originating-ip: 92.205.164.122 X-CMAE-Analysis: v=2.4 cv=e4jAC4l/ c=1 sm=1 tr=0 ts=634ebf61 a=B/z3iHJ5y0TSvJOmeNZOnw==:117 a=Qawa6l4ZSaYA:10 a=fBg5mtSKXaSqdTXqjeMA:9 Received: from [192.168.1.3] (helo=micha.rohleder.de) by 122.164.205.92.host.secureserver.net with esmtp (Exim 4.94.2) (envelope-from <mike@rohleder.de>) id 1oko4G-002BQl-7R; Tue, 18 Oct 2022 16:59:44 +0200 From: Michael Rohleder <mike@rohleder.de> Date: Tue, 18 Oct 2022 16:59:43 +0200 Message-Id: <20221018145943.16919-1-mike@rohleder.de> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfMNqjGcdlGmUV+Mlq7wohCzSY97D5GjVq8WbUAsNLitkr486DyvnPUgoFcYmh2kfQP+bUZ37V0CfGy5ib1edM/0oCWq2DZyog3Cm4g9pxkoBK2f+F0tU Hm/CQm+PrdCEsYRZR4oYppDOPJvrnS9t3SvlwX+QA92LULPSqIPHwJOPUsS8u3CN1bZFaKq4xTvuKIO16CBG1d1v3sxiz/URq+F0vjXPeKGugSgfe3hjGVvp BrUmii4/+CH68dzx6nk84w== Received-SPF: permerror client-ip=92.204.71.219; envelope-from=mike@rohleder.de; helo=sxb1nlsmtp03.prod.sxb1.secureserver.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#58610] gnu: rust-generic-array-0.14: Fix build.
|
|
Commit Message
Michael Rohleder
Oct. 18, 2022, 2:59 p.m. UTC
* gnu/packages/crates-io.scm (rust-generic-array-0.14)[arguments]: Add #:tests? #false. --- gnu/packages/crates-io.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Comments
Michael Rohleder <mike@rohleder.de> writes: > * gnu/packages/crates-io.scm (rust-generic-array-0.14)[arguments]: Add #:tests? #false. > --- > gnu/packages/crates-io.scm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) This may fix the build, but instead we'd just be shipping software where the test suite fails. If we do want to go that way of disabling the test suite, I think it would be good to make sure the issue is reported upstream, and link to that bug report in the package definition, does that make sense? Thanks, Chris
Hello Michael, Christopher Baines <mail@cbaines.net> writes: > Michael Rohleder <mike@rohleder.de> writes: > >> * gnu/packages/crates-io.scm (rust-generic-array-0.14)[arguments]: Add #:tests? #false. >> --- >> gnu/packages/crates-io.scm | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) > > This may fix the build, but instead we'd just be shipping software where > the test suite fails. > > If we do want to go that way of disabling the test suite, I think it > would be good to make sure the issue is reported upstream, and link to > that bug report in the package definition, does that make sense? Friendly ping.
Hello Christopher! Thank you for reviewing and sorry for the delay! Christopher Baines <mail@cbaines.net> writes: > This may fix the build, but instead we'd just be shipping software where > the test suite fails. > > If we do want to go that way of disabling the test suite, I think it > would be good to make sure the issue is reported upstream, and link to > that bug report in the package definition, does that make sense? I guess this make a lot of sense, but I can't do this, because I don't have any rust/cargo knowledge, no gh account etc. This patch was just a quick hack to get synapse working. I should have thought about fixing it better than just disabling a test. Sorry for the waste of time and the noise -> closing.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 502972ffc5..afd1305018 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24886,7 +24886,8 @@ (define-public rust-generic-array-0.14 "05qqwm9v5asbil9z28wjkmpfvs1c5c99n8n9gwxis3d3r3n6c52h")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs + `(#:tests? #false ;doc test fails + #:cargo-inputs (("rust-serde" ,rust-serde-1) ("rust-typenum" ,rust-typenum-1) ("rust-version-check" ,rust-version-check-0.9))