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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40488 in the body.
You can then email your comments to 40488 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#40488; Package guix. (Tue, 07 Apr 2020 16:01:24 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 07 Apr 2020 16:01:26 GMT) Full text and rfc822 format available.

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

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 1 (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)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 07 Apr 2020 16:49:22 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Tue, 07 Apr 2020 16:49:25 GMT) Full text and rfc822 format available.

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

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 1 (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)]

Information forwarded to bug-guix <at> gnu.org:
bug#40488; Package guix. (Tue, 07 Apr 2020 17:44:18 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 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:43:05 +0100
[Message part 1 (text/plain, inline)]
Marius Bakke <mbakke <at> fastmail.com> writes:

> 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!

Great, thanks Marius :)
[signature.asc (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, 06 May 2020 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 349 days ago.

Previous Next


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