GNU bug report logs - #64720
[PATCH] gnu: rust-analyzer: Fix build of rust-analyzer.

Previous Next

Package: guix-patches;

Reported by: Distopico <distopico <at> riseup.net>

Date: Wed, 19 Jul 2023 02:29:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64720: closed ([PATCH] gnu: rust-analyzer: Fix build of
 rust-analyzer.)
Date: Sat, 09 Sep 2023 13:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 09 Sep 2023 15:31:27 +0200
with message-id <87sf7nxykw.fsf_-_ <at> gnu.org>
and subject line Re: bug#64720: [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer.
has caused the debbugs.gnu.org bug report #64720,
regarding [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64720: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64720
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Distopico <distopico <at> riseup.net>
To: guix-patches <at> gnu.org
Cc: Distopico <distopico <at> riseup.net>
Subject: [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer.
Date: Tue, 18 Jul 2023 21:26:18 -0500
Fixes build of rust-analyzer version 2022-01-10 that requires pined version of
rust-notify which is `rust-notify-pre.13`.

I'm working to update `rust-analizer` to 2023-07-17 but it require add more
packages and update other, it's a WIP but for now this is just to fix the build.

* gnu/packages/crates-io.scm (rust-notify-5-pre.13): New variable.
* gnu/packages/rust-apps.scm
---
 gnu/packages/crates-io.scm | 13 +++++++++++++
 gnu/packages/rust-apps.scm |  2 +-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9574e2797..5dd9e0d349 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38927,6 +38927,19 @@ (define-public rust-notify-5
 notification library.")
     (license (list license:cc0 license:artistic2.0))))
 
+(define-public rust-notify-5-pre.13
+  (package
+    (inherit rust-notify-5)
+    (name "rust-notify")
+    (version "5.0.0-pre.13")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "notify" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0za8mpacxkr62fii5h7ny4h396y0m8myd3hf08njqdg2h21kap94"))))))
+
 (define-public rust-notify-4
   (package
     (inherit rust-notify-5)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 8c29969712..0571af498c 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1775,7 +1775,7 @@ (define-public rust-analyzer
         ("rust-memmap2" ,rust-memmap2-0.5)
         ("rust-mimalloc" ,rust-mimalloc-0.1)
         ("rust-miow" ,rust-miow-0.4)
-        ("rust-notify" ,rust-notify-5)
+        ("rust-notify" ,rust-notify-5-pre.13)
         ("rust-object" ,rust-object-0.28)
         ("rust-once-cell" ,rust-once-cell-1)
         ("rust-parking-lot" ,rust-parking-lot-0.11)

base-commit: 917a299831361f253ea664f009176b4bbe06900a
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Distopico <distopico <at> riseup.net>
Cc: 64720-done <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me <at> tobias.gr>,
 Simon Tournier <zimon.toutoune <at> gmail.com>, paren <at> disroot.org,
 Christopher Baines <mail <at> cbaines.net>, Ricardo Wurmus <rekado <at> elephly.net>,
 Raghav Gururajan <rg <at> raghavgururajan.name>, jgart <jgart <at> dismail.de>,
 Mathieu Othacehe <othacehe <at> gnu.org>
Subject: Re: bug#64720: [PATCH] gnu: rust-analyzer: Fix build of rust-analyzer.
Date: Sat, 09 Sep 2023 15:31:27 +0200
Hi Distopico,

Finally applied this whole series, thanks!

For the record, <https://qa.guix.gnu.org/issue/64720> reported 3
additional successful builds and 1 new failure on x86_64-linux:
<https://data.qa.guix.gnu.org/compare/package-derivations?base_commit=74d72046bdc1ed6c859565570d0db58d20c9ddd7&target_commit=51f0626b77f9ca9ac718b78b13ac76781f749e7b&system=x86_64-linux&target=none>.

Ludo’.


This bug report was last modified 1 year and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.