GNU bug report logs - #29881
Disabled fresh-auto-compile leads to ABI breakage in user config files

Previous Next

Package: guix;

Reported by: Diego Nicola Barbato <dnbarbato <at> posteo.de>

Date: Thu, 28 Dec 2017 22:19:02 UTC

Severity: important

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mark H Weaver <mhw <at> netris.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 29881 <at> debbugs.gnu.org, Diego Nicola Barbato <dnbarbato <at> 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
ludo <at> gnu.org (Ludovic Courtès) writes:

> Diego Nicola Barbato <dnbarbato <at> 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




This bug report was last modified 7 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.