GNU bug report logs -
#57030
[PATCH] gnu: rust-tracing-futures-0.2: Fix build phase.
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Sun, 7 Aug 2022 10:11:01 UTC
Severity: normal
Tags: patch
Done: Nicolas Graves <ngraves <at> ngraves.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 29 Sep 2022 15:17:04 +0200
with message-id <87k05mz5f3.fsf <at> ngraves.fr>
and subject line [Nicolas Graves] Re: [PATCH 9/9] gnu: rust-tracing-attributes-0.1: Update to 0.1.20.
has caused the debbugs.gnu.org bug report #57030,
regarding [PATCH] gnu: rust-tracing-futures-0.2: Fix build phase.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
57030: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57030
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/crates-io.scm (rust-tracing-futures-0.2): Fix build phase.
---
gnu/packages/crates-io.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfafce9aa3..a7a90df7ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66323,7 +66323,17 @@ (define-public rust-tracing-futures-0.2
"0k4vd3jyqz9cx8rbwbp0p93qfp1w6rfk7sc6c1jh1ai18zqvcyxb"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-cargo-checksums 'patch-tests
+ (lambda _
+ (substitute* '("tests/support.rs" "src/lib.rs")
+ (("../../tracing/tests/support/mod.rs")
+ (string-append
+ "../guix-vendor/rust-tracing-"
+ "0.1.23" ;; TODO replace by rust-tracing version
+ ".tar.gz/tests/support/mod.rs"))))))
+ #:cargo-inputs
(("rust-futures" ,rust-futures-0.3)
("rust-futures-task" ,rust-futures-task-0.3)
("rust-pin-project" ,rust-pin-project-0.4)
--
2.37.1
--
Best regards,
Nicolas Graves
[Message part 3 (message/rfc822, inline)]
-------------------- Start of forwarded message --------------------
From: Nicolas Graves <ngraves <at> ngraves.fr>
To: done-57040 <at> debbugs.gnu.org
Subject: Re: [PATCH 9/9] gnu: rust-tracing-attributes-0.1: Update to 0.1.20.
Date: Thu, 29 Sep 2022 14:59:29 +0200
This patches would require more work. If rust-syn is updated this way,
if should go in inputs and not in cargo-inputs for packages using it,
that makes everything more complicated.
I'm not going to prioritize this anytime soon. I prefer to close the
issue.
-------------------- End of forwarded message --------------------
--
Best regards,
Nicolas Graves
This bug report was last modified 2 years and 234 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.