GNU bug report logs - #36275
warn-about-diskspace fails with a stacktrace

Previous Next

Package: guix;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Tue, 18 Jun 2019 08:49:02 UTC

Severity: normal

Done: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

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 36275 in the body.
You can then email your comments to 36275 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#36275; Package guix. (Tue, 18 Jun 2019 08:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 18 Jun 2019 08:49:02 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: <bug-guix <at> gnu.org>
Subject: warn-about-diskspace fails with a stacktrace
Date: Tue, 18 Jun 2019 10:48:14 +0200
[Message part 1 (text/plain, inline)]
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)

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#36275; Package guix. (Tue, 18 Jun 2019 13:50:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
Cc: 36275 <at> debbugs.gnu.org
Subject: Re: bug#36275: warn-about-diskspace fails with a stacktrace
Date: Tue, 18 Jun 2019 15:48:51 +0200
Hi,

Björn Höfling <bjoern.hoefling <at> 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’.




Reply sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
You have taken responsibility. (Tue, 18 Jun 2019 16:07:02 GMT) Full text and rfc822 format available.

Notification sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
bug acknowledged by developer. (Tue, 18 Jun 2019 16:07:02 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 36275-done <at> debbugs.gnu.org
Subject: Re: bug#36275: warn-about-diskspace fails with a stacktrace
Date: Tue, 18 Jun 2019 18:06:42 +0200
[Message part 1 (text/plain, inline)]
On Tue, 18 Jun 2019 15:48:51 +0200
Ludovic Courtès <ludo <at> 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
[Message part 2 (application/pgp-signature, inline)]

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

This bug report was last modified 5 years and 343 days ago.

Previous Next


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