GNU bug report logs - #34995
`guix pull` crash on commit 69cae3d33

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Tue, 26 Mar 2019 01:29:01 UTC

Severity: serious

Merged with 34997, 34998

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34995 in the body.
You can then email your comments to 34995 AT debbugs.gnu.org in the normal way.

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#34995; Package guix. (Tue, 26 Mar 2019 01:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 26 Mar 2019 01:29:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: `guix pull` crash on commit 69cae3d33
Date: Mon, 25 Mar 2019 21:27:44 -0400
`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 <at> 2.2.4 ./gn?> ?)
  1255:22  3 (thunk)
   934:16  2 (cache! #<weak-table 0/223> #<package guile <at> 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 <at> gnu.org>.




Information forwarded to bug-guix <at> gnu.org:
bug#34995; Package guix. (Tue, 26 Mar 2019 03:06:01 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 34995 <at> debbugs.gnu.org
Subject: Re: bug#34995: `guix pull` crash on commit 69cae3d33
Date: Mon, 25 Mar 2019 23:03:59 -0400
Leo Famulari <leo <at> famulari.name> 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 guile <at> 2.2.4 ./gn?> ?)
>   1255:22  3 (thunk)
>    934:16  2 (cache! #<weak-table 0/223> #<package guile <at> 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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#34995; Package guix. (Tue, 26 Mar 2019 03:52:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 34995 <at> debbugs.gnu.org
Subject: Re: bug#34995: `guix pull` crash on commit 69cae3d33
Date: Mon, 25 Mar 2019 23:50:08 -0400
Mark H Weaver <mhw <at> netris.org> writes:
> 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




Information forwarded to bug-guix <at> gnu.org:
bug#34995; Package guix. (Tue, 26 Mar 2019 06:18:02 GMT) Full text and rfc822 format available.

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

From: Chad Walstrom <chewie <at> wookimus.net>
To: 34995 <at> debbugs.gnu.org
Subject: Re: bug#34995: `guix pull` crash on commit 69cae3d33
Date: Mon, 25 Mar 2019 22:59:32 -0500
I'm also seeing this error on Debian GNU/Linux (buster/sid) using the
binary GUIX distribution.

root <at> ydalir:~# guix pull
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	6c177f6
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 <at> 2.2.4 ./gn?> ?)
  1255:22  3 (thunk)
   934:16  2 (cache! #<weak-table 0/223> #<package guile <at> 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 <at> gnu.org>.

-- 
Chad Walstrom <chewie <at> wookimus.net>
https://runswithd6s.gitlab.io/




Merged 34995 34997 34998. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 26 Mar 2019 09:22:02 GMT) Full text and rfc822 format available.

Severity set to 'serious' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 26 Mar 2019 09:27:02 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 26 Mar 2019 09:41:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Tue, 26 Mar 2019 09:41:02 GMT) Full text and rfc822 format available.

Message #23 received at 34995-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Chad Walstrom <chewie <at> wookimus.net>, Leo Famulari <leo <at> famulari.name>,
 Mark H Weaver <mhw <at> netris.org>, Konrad Hinsen <konrad.hinsen <at> fastmail.net>
Cc: 34995-done <at> debbugs.gnu.org
Subject: Re: bug#34995: `guix pull` crash on commit 69cae3d33
Date: Tue, 26 Mar 2019 10:40:37 +0100
Hello,

Chad Walstrom <chewie <at> wookimus.net> skribis:

> ./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 <at> 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:

  https://issues.guix.info/issue/34999

Thank you all for reporting the issue!

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 26 Mar 2019 09:41:02 GMT) Full text and rfc822 format available.

Notification sent to koanhead <koanhead <at> riseup.net>:
bug acknowledged by developer. (Tue, 26 Mar 2019 09:41:02 GMT) Full text and rfc822 format available.

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 26 Mar 2019 09:41:02 GMT) Full text and rfc822 format available.

Notification sent to Konrad Hinsen <konrad.hinsen <at> fastmail.net>:
bug acknowledged by developer. (Tue, 26 Mar 2019 09:41:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 24 Apr 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 361 days ago.

Previous Next


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