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


Message #39 received at 29881 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 29881 <at> debbugs.gnu.org, Diego Nicola Barbato <dnbarbato <at> posteo.de>
Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains
 LUKS mapped-devices
Date: Mon, 15 Jan 2018 23:33:49 +0100
Hi Mark,

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

> 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, 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’.




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.