GNU bug report logs - #57867
Tealdeer build fails

Previous Next

Package: guix;

Reported by: Cairn <cairn <at> pm.me>

Date: Fri, 16 Sep 2022 19:38:02 UTC

Severity: normal

To reply to this bug, email your comments to 57867 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#57867; Package guix. (Fri, 16 Sep 2022 19:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cairn <cairn <at> pm.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 16 Sep 2022 19:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Cairn <cairn <at> pm.me>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Tealdeer build fails
Date: Fri, 16 Sep 2022 19:36:39 +0000
[Message part 1 (text/plain, inline)]
The builds have been unsuccessful since about the start of this month on both my machine and ci.guix.gnu.org. I tried to fix the issue, but I'm unfamiliar with Rust, so I just ended up fumbling around. Thanks to anyone who can get this working again! :D
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#57867; Package guix. (Sat, 17 Sep 2022 11:56:01 GMT) Full text and rfc822 format available.

Message #8 received at 57867 <at> debbugs.gnu.org (full text, mbox):

From: "Daniel Sockwell" <daniel <at> codesections.com>
To: 57867 <at> debbugs.gnu.org
Subject: Tealdeer build fails
Date: Sat, 17 Sep 2022 11:55:01 +0000
I have also run into this build failure.

The relevant error message from the build log appears to be:

       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




Information forwarded to bug-guix <at> gnu.org:
bug#57867; Package guix. (Sat, 17 Sep 2022 12:47:02 GMT) Full text and rfc822 format available.

Message #11 received at 57867 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Daniel Sockwell <daniel <at> codesections.com>, 57867 <at> debbugs.gnu.org
Subject: Re: bug#57867: Tealdeer build fails
Date: Sat, 17 Sep 2022 14:46:12 +0200
[Message part 1 (text/plain, inline)]

On 17-09-2022 13:55, Daniel Sockwell via Bug reports for GNU Guix wrote:
>         --> /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

In antioxidant, I noticed that rust-pin-project-internal <at> 0.4 doesn't 
build so I replaced it with rust-pin-project-internal <at> 1 (and likewise 
for rust-pin-project).

Maybe the same issue was present in the original cargo-build-system 
using code, and a similar fix would work?

Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#57867; Package guix. (Wed, 28 Dec 2022 11:46:02 GMT) Full text and rfc822 format available.

Message #14 received at 57867 <at> debbugs.gnu.org (full text, mbox):

From: Corvo Liu <lyhokia <at> gmail.com>
To: 57867 <at> debbugs.gnu.org
Subject: Tealdeer build fails
Date: Tue, 27 Dec 2022 22:53:26 -0500
[Message part 1 (text/plain, inline)]
I don't get it. How can a package "used to work" and "fail" now? If that is
the case, how is guix "declarative"?
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#57867; Package guix. (Thu, 29 Dec 2022 11:20:01 GMT) Full text and rfc822 format available.

Message #17 received at 57867 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Corvo Liu <lyhokia <at> gmail.com>, 57867 <at> debbugs.gnu.org
Subject: Re: bug#57867: Tealdeer build fails
Date: Thu, 29 Dec 2022 12:19:23 +0100
Hi Corvo,

Corvo Liu <lyhokia <at> gmail.com> writes:

> I don't get it. How can a package "used to work" and "fail" now? If that is
> the case, how is guix "declarative"?

Some dependencies might have been updated in the meantime resulting in
build failures.  If you use a Guix commit from back when that package
was building fine, it will still build fine.  Guix being reproducible
doesn't mean that Guix doesn't update any of its packages.

Best,
-- 
Josselin Poiret




Information forwarded to bug-guix <at> gnu.org:
bug#57867; Package guix. (Thu, 05 Jan 2023 18:02:01 GMT) Full text and rfc822 format available.

Message #20 received at 57867 <at> debbugs.gnu.org (full text, mbox):

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: "Daniel Sockwell" <daniel <at> codesections.com>
Cc: 57867 <at> debbugs.gnu.org
Subject: Re: bug#57867: Tealdeer build fails
Date: Thu, 05 Jan 2023 19:00:52 +0100
Hi,

On Sat, 17 Sep 2022 at 11:55, "Daniel Sockwell" <daniel <at> codesections.com> wrote:

> The relevant error message from the build log appears to be:

Indeed, this evaluation of the CI [1] reports [2] this error:

>        Compiling openssl-macros v0.1.0
>     error[E0659]: `parse_quote_spanned` is ambiguous (`macro_rules` vs non-`macro_rules` from other module)

Well, it is part of the Evaluation 5349 [3] which points commit
e6dd58cfb511c23beb4d2732f898bb5479bd52d5, and it reads:

--8<---------------cut here---------------start------------->8---
$  git log --format="%h %cd %s" | grep -C 11 e6dd58cfb
e5cfb7674a Mon Nov 28 14:02:37 2022 +0400 gnu: rust-clap-3: Update to 3.1.18.
05528a7b10 Mon Nov 28 14:02:20 2022 +0400 gnu: rust-clap-derive-3: Update to 3.1.18.
d32ed485e1 Mon Nov 28 14:02:12 2022 +0400 gnu: Add rust-clap-lex-0.2.
8bbc4dc2fb Mon Nov 28 14:01:56 2022 +0400 gnu: Add rust-rt-format-0.3.
dc685baad0 Mon Nov 28 14:01:44 2022 +0400 gnu: Add rust-swayipc-3.
622c3be7b6 Mon Nov 28 13:36:41 2022 +0400 Revert "gnu: Add rust-swayipc-3."
7922f610d2 Mon Nov 28 13:36:40 2022 +0400 Revert "gnu: Add rust-rt-format-0.3."
ddb3450684 Mon Nov 28 13:36:38 2022 +0400 Revert "gnu: Add rust-clap-lex-0.2."
1cc89f0be3 Mon Nov 28 13:36:36 2022 +0400 Revert "gnu: rust-clap-derive-3: Update to 3.1.18."
fd0bd21e66 Mon Nov 28 13:36:34 2022 +0400 Revert "gnu: rust-clap-3: Update to 3.1.18."
87e36d7478 Mon Nov 28 13:36:27 2022 +0400 Revert "gnu: Add swayr."
e6dd58cfb5 Mon Nov 28 12:50:22 2022 +0400 gnu: waybar: Update to 0.9.16.
b8a000b33b Mon Nov 28 12:50:21 2022 +0400 gnu: Add swayr.
93edae81b6 Mon Nov 28 12:50:20 2022 +0400 gnu: rust-clap-3: Update to 3.1.18.
7760e3fb09 Mon Nov 28 12:50:19 2022 +0400 gnu: rust-clap-derive-3: Update to 3.1.18.
4cb299e22e Mon Nov 28 12:50:18 2022 +0400 gnu: Add rust-clap-lex-0.2.
bf7c69b043 Mon Nov 28 12:50:17 2022 +0400 gnu: Add rust-rt-format-0.3.
655956131c Mon Nov 28 12:50:16 2022 +0400 gnu: Add rust-swayipc-3.
2db12d3c31 Mon Nov 28 12:50:15 2022 +0400 gnu: Add rust-swayipc-types-1.
df038ad39b Mon Nov 28 12:50:14 2022 +0400 gnu: Add rust-textwrap-0.15.
f7c95ecb67 Mon Nov 28 12:50:13 2022 +0400 gnu: rust-thiserror-1: Update to 1.0.37.
51cf11739d Mon Nov 28 12:50:12 2022 +0400 gnu: rust-thiserror-impl-1: Update to 1.0.37.
7f9a2930bf Sun Nov 27 00:24:56 2022 +0100 gnu: ardour: Update to 7.1
--8<---------------cut here---------------end--------------->8---

It means the culprit is probably one of these updates:

    e6dd58cfb5 gnu: waybar: Update to 0.9.16.
    93edae81b6 gnu: rust-clap-3: Update to 3.1.18.
    7760e3fb09 gnu: rust-clap-derive-3: Update to 3.1.18.
    f7c95ecb67 gnu: rust-thiserror-1: Update to 1.0.37.
    51cf11739d gnu: rust-thiserror-impl-1: Update to 1.0.37.

Well, because it is not “inputs” but “hidden” in ’arguments’ via
#:cargo-inputs or #:cargo-development-inputs, “guix graph --path” is
useless here.  However,

--8<---------------cut here---------------start------------->8---
$ guix graph -t derivation tealdeer | grep label | grep rust-thiserror
  "/gnu/store/2yqdbbrprafpi8a8zbf9vg9fl29m4bgb-rust-thiserror-impl-1.0.37.tar.gz.drv" [label = "rust-thiserror-impl-1.0.37.tar.gz.drv", shape = box, fontname = sans];
  "/gnu/store/a0zc524q6im368xvwm3sp8bn9368p83b-rust-thiserror-1.0.37.tar.gz.drv" [label = "rust-thiserror-1.0.37.tar.gz.drv", shape = box, fontname = sans];
--8<---------------cut here---------------end--------------->8---

therefore, one (or both) is the culprit.  It seems worth to try with
1.0.26 instead of 1.0.37.  Any taker?

1: <http://ci.guix.gnu.org/build/156858/details>
2: <http://ci.guix.gnu.org/build/156858/log/raw>
3: <http://ci.guix.gnu.org/eval/5349>


Cheers,
simon




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

Previous Next


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