[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inscrutable error when using “guix deploy”
From: |
Ricardo Wurmus |
Subject: |
Re: Inscrutable error when using “guix deploy” |
Date: |
Wed, 04 Sep 2019 11:30:53 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Hi Ludo,
> Hi,
>
> address@hidden (Jakob L. Kreuze) skribis:
>
>> I saw this specific error message a few times while I was building 'guix
>> deploy'. It means something's been printed that can't be read, which
>> (might) be the case if something doesn't have a G-Expression compiler.
>> My money is on the target not having a reader for <operating-system>,
>> but as you've observed, the error reporting makes this incredibly
>> difficult to diagnose.
>
> We could probably arrange so that ‘gexp->sexp’ reports about objects
> without a read syntax that remain in the resulting sexp.
This is a good idea. It’s never the right thing for unreadable syntax
to appear in a generated S-expression when using Gexps, so producing an
error at conversion time seems much better.
--
Ricardo