all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.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: Fri, 29 Dec 2017 12:33:15 -0500	[thread overview]
Message-ID: <87po6xqw10.fsf@netris.org> (raw)
In-Reply-To: <878tdl4poe.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 29 Dec 2017 14:41:21 +0100")

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, I also encountered the same issue recently, and indeed I needed to
clear the auto-compilation cache for my system configuration file, for
both my normal user and root.

It makes me wonder if "guix system" should force a fresh compilation of
that file by default.

       Mark

  reply	other threads:[~2017-12-29 17: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 [this message]
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
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

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

  git send-email \
    --in-reply-to=87po6xqw10.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=29881@debbugs.gnu.org \
    --cc=dnbarbato@posteo.de \
    --cc=ludo@gnu.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.