unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34995: `guix pull` crash on commit 69cae3d33
@ 2019-03-26  1:27 Leo Famulari
  2019-03-26  3:03 ` Mark H Weaver
  2019-03-26  3:59 ` Chad Walstrom
  0 siblings, 2 replies; 5+ messages in thread
From: Leo Famulari @ 2019-03-26  1:27 UTC (permalink / raw)
  To: 34995

`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>.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34995: `guix pull` crash on commit 69cae3d33
  2019-03-26  1:27 bug#34995: `guix pull` crash on commit 69cae3d33 Leo Famulari
@ 2019-03-26  3:03 ` Mark H Weaver
  2019-03-26  3:50   ` Mark H Weaver
  2019-03-26  3:59 ` Chad Walstrom
  1 sibling, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2019-03-26  3:03 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 34995

Leo Famulari <leo@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@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34995: `guix pull` crash on commit 69cae3d33
  2019-03-26  3:03 ` Mark H Weaver
@ 2019-03-26  3:50   ` Mark H Weaver
  0 siblings, 0 replies; 5+ messages in thread
From: Mark H Weaver @ 2019-03-26  3:50 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 34995

Mark H Weaver <mhw@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34995: `guix pull` crash on commit 69cae3d33
  2019-03-26  1:27 bug#34995: `guix pull` crash on commit 69cae3d33 Leo Famulari
  2019-03-26  3:03 ` Mark H Weaver
@ 2019-03-26  3:59 ` Chad Walstrom
  2019-03-26  9:40   ` Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Chad Walstrom @ 2019-03-26  3:59 UTC (permalink / raw)
  To: 34995

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:
  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@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>
https://runswithd6s.gitlab.io/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34995: `guix pull` crash on commit 69cae3d33
  2019-03-26  3:59 ` Chad Walstrom
@ 2019-03-26  9:40   ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-03-26  9:40 UTC (permalink / raw)
  To: Chad Walstrom, Leo Famulari, Mark H Weaver, Konrad Hinsen; +Cc: 34995-done

Hello,

Chad Walstrom <chewie@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@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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-03-26  9:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26  1:27 bug#34995: `guix pull` crash on commit 69cae3d33 Leo Famulari
2019-03-26  3:03 ` Mark H Weaver
2019-03-26  3:50   ` Mark H Weaver
2019-03-26  3:59 ` Chad Walstrom
2019-03-26  9:40   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).