unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40488: Finance packages broken in recent Guix: error: beancount: unbound variable
@ 2020-04-07 16:00 Christopher Baines
  2020-04-07 16:48 ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2020-04-07 16:00 UTC (permalink / raw)
  To: 40488

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

→ 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

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

* bug#40488: Finance packages broken in recent Guix: error: beancount: unbound variable
  2020-04-07 16:00 bug#40488: Finance packages broken in recent Guix: error: beancount: unbound variable Christopher Baines
@ 2020-04-07 16:48 ` Marius Bakke
  2020-04-07 17:43   ` Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2020-04-07 16:48 UTC (permalink / raw)
  To: Christopher Baines, 40488-done

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

Christopher Baines <mail@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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* bug#40488: Finance packages broken in recent Guix: error: beancount: unbound variable
  2020-04-07 16:48 ` Marius Bakke
@ 2020-04-07 17:43   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2020-04-07 17:43 UTC (permalink / raw)
  To: Marius Bakke; +Cc: 40488-done

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


Marius Bakke <mbakke@fastmail.com> writes:

> Christopher Baines <mail@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 :)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

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

end of thread, other threads:[~2020-04-07 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 16:00 bug#40488: Finance packages broken in recent Guix: error: beancount: unbound variable Christopher Baines
2020-04-07 16:48 ` Marius Bakke
2020-04-07 17:43   ` Christopher Baines

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).