[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cryptic error messages: Bug in guile?
From: |
Ludovic Courtès |
Subject: |
Re: Cryptic error messages: Bug in guile? |
Date: |
Tue, 20 Nov 2018 21:47:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Alex Vong <address@hidden> skribis:
> swedebugia <address@hidden> writes:
>
>> Hi
>>
>> I try to package for guix.
>> Sometimes I forget a parens somewhere.
>>
>> When I invoke make in the guix source tree the parens error will be
>> reported as any other kind of error. (unbound variable, package not
>> found, etc)
[...]
> What error message do you receive? Usually I get something like:
>
> ERROR: In procedure read:
> In procedure scm_i_lreadparen: #<unknown port>:1:2: end of file
This message is rather obscure (unless you’re familiar with
libguile/read.c) so Guix has a hack to translate it into a
human-readable message:
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/ui.scm#n348
Ludo’.