Subject: Re: bug#36456: Guix stumbles on duplicates?

From: Ludovic Courtès <[email-masked]>
Date: Fri, 05 Jul 2019 23:33:40 +0200

Hi swedebugia,

swedebugia <[email-masked]> skribis:

> In guix/build-system/cargo.scm:
>    260:27  3 (lower "rust-backtrace-0.3.32" #:source _ #:inputs _ # . #)
>     231:4  2 (expand-crate-sources _ _)
>    170:23  1 (crate-closure _)
>     128:4  0 (_ #:cargo-inputs _)
>
> guix/build-system/cargo.scm:128:4: Invalid keyword:
> ("rust-lazy-static" #<package [email-masked]
> /home/user/src/guix/gnu/packages/crates-io.scm:98 3690d10>)

This is Guile’s way of saying that you passed an arbitrary value where a
keyword was expected, as in this example:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ((lambda* (x #:key foo) (list x foo)) 1 2)
<unnamed port>:1209:1: Invalid keyword: 2
--8<---------------cut here---------------end--------------->8---

IOW, the error is in the ‘arguments’ field of this rust-backtrace-0.3.32
package.

HTH!

Ludo’.