`guix pull` crash on commit 69cae3d33

  • Done
  • quality assurance status badge
Details
4 participants
  • Chad Walstrom
  • Leo Famulari
  • Ludovic Courtès
  • Mark H Weaver
Owner
unassigned
Submitted by
Leo Famulari
Severity
serious
Merged with
L
L
Leo Famulari wrote on 26 Mar 2019 02:27
(address . bug-guix@gnu.org)
20190326012744.GA12308@jasmine.lan
`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:
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 guile@2.2.4 ./gn?> ?)
1255:22 3 (thunk)
934:16 2 (cache! #<weak-table 0/223> #<package guile@2.2.4 ./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 <bug-guix@gnu.org>.
M
M
Mark H Weaver wrote on 26 Mar 2019 04:03
(name . Leo Famulari)(address . leo@famulari.name)(address . 34995@debbugs.gnu.org)
87sgvaibet.fsf@netris.org
Leo Famulari <leo@famulari.name> writes:

Toggle quote (32 lines)
> `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 guile@2.2.4 ./gn?> ?)
> 1255:22 3 (thunk)
> 934:16 2 (cache! #<weak-table 0/223> #<package guile@2.2.4 ./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 <bug-guix@gnu.org>.

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
M
M
Mark H Weaver wrote on 26 Mar 2019 04:50
(name . Leo Famulari)(address . leo@famulari.name)(address . 34995@debbugs.gnu.org)
87o95yi99w.fsf@netris.org
Mark H Weaver <mhw@netris.org> writes:
Toggle quote (3 lines)
> I see the same error when trying to build *anything* after updating to
> commit 69cae3d3356a69b7fe69481338f760545995485e on the master branch.

Reverting the following three commits fixes the problem for me:

* 69cae3d335..: Ludovic Courtès 2019-03-22 system: Add 'essential-services' field to <operating-system>.
* cf848cc0a1..: Ludovic Courtès 2019-03-22 accounts: Add default value for the 'home-directory' field of <user-account>.
* abd4d6b33d..: Ludovic Courtès 2019-03-22 records: Allow thunked fields to refer to 'this-record'.

To be continued...

Mark
C
C
Chad Walstrom wrote on 26 Mar 2019 04:59
(address . 34995@debbugs.gnu.org)
87imw6s2u5.fsf@wookimus.net
I'm also seeing this error on Debian GNU/Linux (buster/sid) using the
binary GUIX distribution.

root@ydalir:~# guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
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 bf5fa0>)
934:16 4 (cache! #<weak-table 0/113> #<package guile@2.2.4 ./gn?> ?)
1255:22 3 (thunk)
934:16 2 (cache! #<weak-table 0/223> #<package guile@2.2.4 ./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: "6c177f6140cba250ad68c5a83c312f395b6e48b4"; system: "x86_64-linux";
host version: "0.16.0"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.

--
Chad Walstrom <chewie@wookimus.net>
L
L
Ludovic Courtès wrote on 26 Mar 2019 10:21
control message for bug #34998
(address . control@debbugs.gnu.org)
87h8bqj8ia.fsf@gnu.org
merge 34998 34995
L
L
Ludovic Courtès wrote on 26 Mar 2019 10:26
control message for bug #34995
(address . control@debbugs.gnu.org)
87ftraj8au.fsf@gnu.org
severity 34995 serious
L
L
Ludovic Courtès wrote on 26 Mar 2019 10:40
Re: bug#34995: `guix pull` crash on commit 69cae3d33
(address . 34995-done@debbugs.gnu.org)
87tvfqht2i.fsf@gnu.org
Hello,

Chad Walstrom <chewie@wookimus.net> skribis:

Toggle quote (7 lines)
> ./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: "6c177f6140cba250ad68c5a83c312f395b6e48b4"; system: "x86_64-linux";
> host version: "0.16.0"; pull-version: 1).
> Please report it by email to <bug-guix@gnu.org>.

This bug was introduced about 11 hours ago when I pushed
abd4d6b33dba4de228e90ad15a8efb456fcf7b6e.

It’s due to an excess of confidence and insufficient testing on my side
(I hadn’t rebuilt the package modules locally, so those modules were
still using the old ABI and everything was fine); my apologies for the
breakage.

That also revealed an abstraction leakage I was unaware of:


Thank you all for reporting the issue!

Ludo’.
Closed
?