warn-about-diskspace fails with a stacktrace

  • Done
  • quality assurance status badge
Details
2 participants
  • Björn Höfling
  • Ludovic Courtès
Owner
unassigned
Submitted by
Björn Höfling
Severity
normal
B
B
Björn Höfling wrote on 18 Jun 2019 10:48
(address . bug-guix@gnu.org)
20190618104814.36877ab2@alma-ubu
A successful build on a system with little disk-space ends with:

$ ./pre-inst-env guix system disk-image system.scm
[..]
/gnu/store/a6p78ff1pjd6rdmf58066aidxlmiaqlm-disk-image
Backtrace:
8 (apply-smob/1 #<catch-closure 61f1a0>)
In ice-9/boot-9.scm:
705:2 7 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 6 (_ #(#(#<directory (guile-user) 6dd140>)))
In guix/ui.scm:
1620:12 5 (run-guix-command _ . _)
In ice-9/boot-9.scm:
829:9 4 (catch _ _ #<procedure 7f357601bc80 at guix/ui.scm:587?> ?)
829:9 3 (catch _ _ #<procedure 7f357601bc98 at guix/ui.scm:710?> ?)
In guix/scripts/system.scm:
1325:8 2 (_)
In guix/status.scm:
768:4 1 (call-with-status-report _ _)
In guix/scripts.scm:
201:10 0 (warn-about-disk-space _ #:threshold _)

guix/scripts.scm:201:10: In procedure warn-about-disk-space:
In procedure private-lookup: No variable bound to print-diagnostic-prefix in module (guix ui)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXQilTgAKCRC/KGy2WT5f
/c8KAKCfdLNa7UUUBo7HFJIJijovlSTDkQCfaJhK8KeZmwsgo1/ImNfMCiA2yfY=
=sq8/
-----END PGP SIGNATURE-----


L
L
Ludovic Courtès wrote on 18 Jun 2019 15:48
(name . Björn Höfling)(address . bjoern.hoefling@bjoernhoefling.de)(address . 36275@debbugs.gnu.org)
87ef3r57i4.fsf@gnu.org
Hi,

Björn Höfling <bjoern.hoefling@bjoernhoefling.de> skribis:

Toggle quote (26 lines)
> A successful build on a system with little disk-space ends with:
>
> $ ./pre-inst-env guix system disk-image system.scm
> [..]
> /gnu/store/a6p78ff1pjd6rdmf58066aidxlmiaqlm-disk-image
> Backtrace:
> 8 (apply-smob/1 #<catch-closure 61f1a0>)
> In ice-9/boot-9.scm:
> 705:2 7 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
> In ice-9/eval.scm:
> 619:8 6 (_ #(#(#<directory (guile-user) 6dd140>)))
> In guix/ui.scm:
> 1620:12 5 (run-guix-command _ . _)
> In ice-9/boot-9.scm:
> 829:9 4 (catch _ _ #<procedure 7f357601bc80 at guix/ui.scm:587?> ?)
> 829:9 3 (catch _ _ #<procedure 7f357601bc98 at guix/ui.scm:710?> ?)
> In guix/scripts/system.scm:
> 1325:8 2 (_)
> In guix/status.scm:
> 768:4 1 (call-with-status-report _ _)
> In guix/scripts.scm:
> 201:10 0 (warn-about-disk-space _ #:threshold _)
>
> guix/scripts.scm:201:10: In procedure warn-about-disk-space:
> In procedure private-lookup: No variable bound to print-diagnostic-prefix in module (guix ui)

Pro tip:

rm guix/scripts.go && make

:-)

This recompilation is needed because
1b5ee3bdaacf665ad1e7c6142122389fd7033ea2 moved a bunch of bindings used
by macro-expanded code to a different module.

HTH!

Ludo’.
B
B
Björn Höfling wrote on 18 Jun 2019 18:06
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 36275-done@debbugs.gnu.org)
20190618180642.71dcc0f5@alma-ubu
On Tue, 18 Jun 2019 15:48:51 +0200
Ludovic Courtès <ludo@gnu.org> wrote:

Toggle quote (10 lines)
> Pro tip:
>
> rm guix/scripts.go && make
>
> :-)
>
> This recompilation is needed because
> 1b5ee3bdaacf665ad1e7c6142122389fd7033ea2 moved a bunch of bindings
> used by macro-expanded code to a different module.

I sometimes still have my problems with the Guile stacktraces. In that
case it was pointing me to the wrong locations and I couldn't
understand why. Well, the source and binaries didn't match any more.

I chose a full "make clean-go" and it works again :-)

Thanks,

Björn
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXQkMEwAKCRC/KGy2WT5f
/e5AAJ97932Jy2SKLJBteTdoePFaVpUnbgCgr6XbcJvv74Se3QOjqn4u3KQfRg0=
=flUK
-----END PGP SIGNATURE-----


Closed
?