unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58124: Tealdeer: compile failure
@ 2022-09-27 19:33 Christopher Howard
  2022-09-29 12:39 ` Maxime Devos
  0 siblings, 1 reply; 2+ messages in thread
From: Christopher Howard @ 2022-09-27 19:33 UTC (permalink / raw)
  To: 58124

Tealdeer-1.4.1 fails to build with this error:

```
   Compiling openssl-macros v0.1.0
error[E0659]: `parse_quote_spanned` is ambiguous (`macro_rules` vs non-`macro_rules` from other module)
   --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/pin_project/derive.rs:859:67
    |
859 |                 proj_generics.make_where_clause().predicates.push(parse_quote_spanned! { span =>
    |                                                                   ^^^^^^^^^^^^^^^^^^^ ambiguous name
    |
note: `parse_quote_spanned` could refer to the macro defined here
   --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/utils.rs:22:1
    |
22  | / macro_rules! parse_quote_spanned {
23  | |     ($span:expr => $($tt:tt)*) => {
24  | |         syn::parse2(quote::quote_spanned!($span => $($tt)*)).unwrap_or_else(|e| panic!("{}", e))
25  | |     };
26  | | }
    | |_^
note: `parse_quote_spanned` could also refer to the macro imported here
   --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/pin_project/derive.rs:7:5
    |
7   |     *,
    |     ^
    = help: use `self::parse_quote_spanned` to refer to this macro unambiguously

error[E0659]: `parse_quote_spanned` is ambiguous (`macro_rules` vs non-`macro_rules` from other module)
   --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/pinned_drop.rs:108:21
    |
108 |             *path = parse_quote_spanned! { path.span() =>
    |                     ^^^^^^^^^^^^^^^^^^^ ambiguous name
    |
note: `parse_quote_spanned` could refer to the macro defined here
   --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/utils.rs:22:1
    |
22  | / macro_rules! parse_quote_spanned {
23  | |     ($span:expr => $($tt:tt)*) => {
24  | |         syn::parse2(quote::quote_spanned!($span => $($tt)*)).unwrap_or_else(|e| panic!("{}", e))
25  | |     };
26  | | }
    | |_^
note: `parse_quote_spanned` could also refer to the macro imported here
   --> /tmp/guix-build-tealdeer-1.4.1.drv-0/tealdeer-1.4.1/guix-vendor/rust-pin-project-internal-0.4.22.tar.gz/src/pinned_drop.rs:3:50
    |
3   | use syn::{spanned::Spanned, visit_mut::VisitMut, *};
    |                                                  ^
    = help: use `self::parse_quote_spanned` to refer to this macro unambiguously

For more information about this error, try `rustc --explain E0659`.
error: could not compile `pin-project-internal` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "cargo" arguments: ("build" "--release") exit-status: 101 term-signal: #f stop-signal: #f> 
phase `build' failed after 41.0 seconds
command "cargo" "build" "--release" failed with status 101
```

My system:

```
christopher@theoden ~$ neofetch --stdout
christopher@theoden 
------------------- 
OS: Guix System x86_64 
Host: OptiPlex 9020 00 
Kernel: 5.18.19-gnu 
Uptime: 20 days, 2 hours, 45 mins 
Packages: 93 (guix-system), 177 (guix-user) 
Shell: bash 5.1.8 
Resolution: 1920x1080 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: .gnome-terminal 
CPU: Intel i5-4570 (4) @ 3.600GHz 
GPU: Intel HD Graphics 
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM 
Memory: 3075MiB / 7867MiB 
```

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#58124: Tealdeer: compile failure
  2022-09-27 19:33 bug#58124: Tealdeer: compile failure Christopher Howard
@ 2022-09-29 12:39 ` Maxime Devos
  0 siblings, 0 replies; 2+ messages in thread
From: Maxime Devos @ 2022-09-29 12:39 UTC (permalink / raw)
  To: Christopher Howard, 58124


[-- Attachment #1.1.1: Type: text/plain, Size: 902 bytes --]

merge 57867 58124
thanks

https://issues.guix.gnu.org/ has a search function you can use for 
already reported issues.

I have a proposal for a solution at <https://issues.guix.gnu.org/57867#2>.

> My system:
> 
> ```
> christopher@theoden ~$ neofetch --stdout
> christopher@theoden
> -------------------
> OS: Guix System x86_64
> Host: OptiPlex 9020 00
> Kernel: 5.18.19-gnu
> Uptime: 20 days, 2 hours, 45 mins
> Packages: 93 (guix-system), 177 (guix-user)
> Shell: bash 5.1.8
> Resolution: 1920x1080
> DE: GNOME
> Theme: Adwaita [GTK2/3]
> Icons: Adwaita [GTK2/3]
> Terminal: .gnome-terminal
> CPU: Intel i5-4570 (4) @ 3.600GHz
> GPU: Intel HD Graphics
> GPU: AMD ATI Radeon HD 8490 / R5 235X OEM
> Memory: 3075MiB / 7867MiB
> ```

I think the output of "guix describe", in particular the output for the 
'guix' channel, would be more useful.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-29 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 19:33 bug#58124: Tealdeer: compile failure Christopher Howard
2022-09-29 12:39 ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).