all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#36275: warn-about-diskspace fails with a stacktrace
@ 2019-06-18  8:48 Björn Höfling
  2019-06-18 13:48 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Björn Höfling @ 2019-06-18  8:48 UTC (permalink / raw)
  To: 36275

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

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)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

* bug#36275: warn-about-diskspace fails with a stacktrace
  2019-06-18  8:48 bug#36275: warn-about-diskspace fails with a stacktrace Björn Höfling
@ 2019-06-18 13:48 ` Ludovic Courtès
  2019-06-18 16:06   ` Björn Höfling
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2019-06-18 13:48 UTC (permalink / raw)
  To: Björn Höfling; +Cc: 36275

Hi,

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

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

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

* bug#36275: warn-about-diskspace fails with a stacktrace
  2019-06-18 13:48 ` Ludovic Courtès
@ 2019-06-18 16:06   ` Björn Höfling
  0 siblings, 0 replies; 3+ messages in thread
From: Björn Höfling @ 2019-06-18 16:06 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 36275-done

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

On Tue, 18 Jun 2019 15:48:51 +0200
Ludovic Courtès <ludo@gnu.org> wrote:

> 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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

end of thread, other threads:[~2019-06-18 16:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18  8:48 bug#36275: warn-about-diskspace fails with a stacktrace Björn Höfling
2019-06-18 13:48 ` Ludovic Courtès
2019-06-18 16:06   ` Björn Höfling

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.