unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato <dnbarbato@posteo.de>
Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices
Date: Mon, 15 Jan 2018 23:33:49 +0100	[thread overview]
Message-ID: <87d12ag3aq.fsf@gnu.org> (raw)
In-Reply-To: <87inc9bd3l.fsf@netris.org> (Mark H. Weaver's message of "Wed, 10 Jan 2018 16:47:26 -0500")

Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

> ludo@gnu.org (Ludovic Courtès) writes:
>
>> Diego Nicola Barbato <dnbarbato@posteo.de> skribis:
>>
>>> When running `guix system reconfigure /etc/config.scm' as root I get the
>>> following error:
>>>
>>> guix system: error: failed to load '/etc/config.scm':
>>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-struct: Wrong type argument in position 2: 3
>>
>> I’m afraid you’ll have to “rm -rf ~/.cache/guile/ccache” (Guile’s
>> auto-compilation cache) to work around
>> e2721a05e7d778bdf845b7cb7a42fd9f76095b69.
>
> FYI, more recently there has been another change that caused "guix
> system build" to fail for me, and once again it was fixed by clearing
> the auto-compilation cache for my system configuration.

For now, in commit 92423868bc451600f8f3d93b638091d12b14b7aa, I’ve
arranged so that auto-compilation is turned off for Guile 2.2.3 only.

At the same time, I reverted the offending change in Guile, and
hopefully we’ll release 2.2.4 shortly:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29226#25

I’m not sure we can do much better for 2.2.3, or perhaps we should
always use (compile-file file #:to 'value) in ‘load*’?

Thanks,
Ludo’.

  reply	other threads:[~2018-01-15 22:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28 22:18 bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Diego Nicola Barbato
2017-12-28 22:30 ` Leo Famulari
2017-12-28 23:04   ` dnbarbato
2017-12-29 13:41 ` Ludovic Courtès
2017-12-29 17:33   ` Mark H Weaver
2017-12-30  0:19     ` Ludovic Courtès
2017-12-30 13:55   ` Diego Nicola Barbato
2018-01-07  2:24   ` Mike Gerwitz
2018-01-10 21:47   ` Mark H Weaver
2018-01-15 22:33     ` Ludovic Courtès [this message]
2018-03-05  9:58       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d12ag3aq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=29881@debbugs.gnu.org \
    --cc=dnbarbato@posteo.de \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).