From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Date: Fri, 29 Dec 2017 12:33:15 -0500 Message-ID: <87po6xqw10.fsf@netris.org> References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUyXn-0007I1-Cb for bug-guix@gnu.org; Fri, 29 Dec 2017 12:34:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUyXi-00077K-Rq for bug-guix@gnu.org; Fri, 29 Dec 2017 12:34:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48211) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eUyXi-00076z-Np for bug-guix@gnu.org; Fri, 29 Dec 2017 12:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eUyXi-0001P8-Bo for bug-guix@gnu.org; Fri, 29 Dec 2017 12:34:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: 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") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Diego Nicola Barbato 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=E2=80=99m afraid you=E2=80=99ll have to =E2=80=9Crm -rf ~/.cache/guile/= ccache=E2=80=9D (Guile=E2=80=99s > 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