Subject: Re: bug#34995: `guix pull` crash on commit 69cae3d33

From: Mark H Weaver <[email-masked]>
Date: Mon, 25 Mar 2019 23:03:59 -0400

Leo Famulari <[email-masked]> writes:

> `guix pull` is crashing for me like this:
>
> $ guix pull --substitute-urls=https://ci.guix.info
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Building from this channel:
>   guix      https://git.savannah.gnu.org/git/guix.git	69cae3d
> substitute: updating substitutes from 'https://ci.guix.info'... 100.0%
> Computing Guix derivation for 'x86_64-linux'... |Backtrace:
>           10 (primitive-load "/gnu/store/dml4spg4jl3nqqqgsw76pj74bas?")
> In ice-9/eval.scm:
>     155:9  9 (_ _)
>     159:9  8 (_ #(#(#(#(#(#(#(#(#(#(#(?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ./guix/store.scm:
>   1737:24  7 (run-with-store _ _ #:guile-for-build _ #:system _ # _)
> In ./guix/self.scm:
>     988:2  6 (_ _)
> In ./guix/packages.scm:
>   1309:17  5 (_ #<store-connection 256.99 120cfa0>)
>    934:16  4 (cache! #<weak-table 0/113> #<package [email-masked] ./gn?> ?)
>   1255:22  3 (thunk)
>    934:16  2 (cache! #<weak-table 0/223> #<package [email-masked] ./gn?> ?)
>   1039:46  1 (thunk)
> In ./gnu/packages/bootstrap.scm:
>     150:4  0 (inputs)
>
> ./gnu/packages/bootstrap.scm:150:4: In procedure inputs:
> Wrong number of arguments to #<procedure inputs (x)>
> guix pull: error: You found a bug: the program '/gnu/store/dml4spg4jl3nqqqgsw76pj74bash1h8h-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "69cae3d3356a69b7fe69481338f760545995485e"; system: "x86_64-linux";
> host version: "d349e6d9a8602ebb21433fb4db0f5a2f03afe78e"; pull-version: 1).
> Please report it by email to <[email-masked]>.

I see the same error when trying to build *anything* after updating to
commit 69cae3d3356a69b7fe69481338f760545995485e on the master branch.
For example, it happens when trying to build 'hello'.  In my case, I
built guix from a git checkout and ran it using ./pre-inst-env.

       Mark