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: Sat, 30 Dec 2017 01:19:43 +0100 [thread overview]
Message-ID: <87vagp2hk0.fsf@gnu.org> (raw)
In-Reply-To: <87po6xqw10.fsf@netris.org> (Mark H. Weaver's message of "Fri, 29 Dec 2017 12:33:15 -0500")
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, 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.
It should, as it used to do, but in 2.2.3 I pushed a “fix” for
‘%fresh-auto-compile’ that turned out to be misguided: it would now
force a fresh-auto-compile of everything, including files for which we
have a .go not in ~/.cache but in some other $GUILE_LOAD_COMPILED_PATH
entry.
See
<https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=83d4c4d622b406ec0bc9d8139ec8182fa72b5720>.
I think we should revert it and publish 2.2.4 soon.
Thoughts?
Ludo’.
next prev parent reply other threads:[~2017-12-30 0:21 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 [this message]
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
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=87vagp2hk0.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).