GNU bug report logs - #40488
Finance packages broken in recent Guix: error: beancount: unbound variable

Previous Next

Package: guix;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Tue, 7 Apr 2020 16:01:20 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#40488: closed (Finance packages broken in recent Guix: error:
 beancount: unbound variable)
Date: Tue, 07 Apr 2020 16:49:22 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 07 Apr 2020 18:48:27 +0200
with message-id <87imibmeck.fsf <at> devup.no>
and subject line Re: bug#40488: Finance packages broken in recent Guix: error: beancount: unbound variable
has caused the debbugs.gnu.org bug report #40488,
regarding Finance packages broken in recent Guix: error: beancount: unbound variable
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
40488: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40488
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: bug-guix <at> gnu.org
Subject: Finance packages broken in recent Guix: error: beancount: unbound
 variable
Date: Tue, 07 Apr 2020 17:00:23 +0100
[Message part 3 (text/plain, inline)]
→ guix describe
Generation 181	Apr 07 2020 16:55:29	(current)
  guix 1e96e6a
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 1e96e6ac8bc0285cc2adfac4ac29b538b84d5dfc

→ guix build ledger
Backtrace:
           1 (primitive-load "/home/chris/.config/guix/current/bin/g…")
In guix/ui.scm:
  1936:12  0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
error: beancount: unbound variable


I believe this issue was probalby present since [1] and [2] were merged,
around ~5 days ago.

1: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=f1f724841a6b610e162d36d08225094317ebaf09
2: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=abcac7a52932bdf66c333659679b0a5e6169e34c

Similar commands seem to work in a Git checkout, so I'm not sure what's
goig wrong here.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Christopher Baines <mail <at> cbaines.net>, 40488-done <at> debbugs.gnu.org
Subject: Re: bug#40488: Finance packages broken in recent Guix: error:
 beancount: unbound variable
Date: Tue, 07 Apr 2020 18:48:27 +0200
[Message part 6 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> → guix describe
> Generation 181	Apr 07 2020 16:55:29	(current)
>   guix 1e96e6a
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 1e96e6ac8bc0285cc2adfac4ac29b538b84d5dfc
>
> → guix build ledger
> Backtrace:
>            1 (primitive-load "/home/chris/.config/guix/current/bin/g…")
> In guix/ui.scm:
>   1936:12  0 (run-guix-command _ . _)
>
> guix/ui.scm:1936:12: In procedure run-guix-command:
> error: beancount: unbound variable

This is because of cross-module inheritance, which is not safe because
'beancount' may not be evaluated by the time 'emacs-beancount' is.

Fixed in 805d70214a1b22da70a7545cb1eb49bb5d7484d8, thanks!
[signature.asc (application/pgp-signature, inline)]

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

Previous Next


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