From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices Date: Sat, 30 Dec 2017 01:19:43 +0100 Message-ID: <87vagp2hk0.fsf@gnu.org> References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> <87po6xqw10.fsf@netris.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]:43293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eV4tf-0002He-LK for bug-guix@gnu.org; Fri, 29 Dec 2017 19:21:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eV4ta-0003Xi-Mh for bug-guix@gnu.org; Fri, 29 Dec 2017 19:21:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48373) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eV4ta-0003Xa-JD for bug-guix@gnu.org; Fri, 29 Dec 2017 19:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eV4ta-0006Aa-DK for bug-guix@gnu.org; Fri, 29 Dec 2017 19:21:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87po6xqw10.fsf@netris.org> (Mark H. Weaver's message of "Fri, 29 Dec 2017 12:33:15 -0500") 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: Mark H Weaver Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato Mark H Weaver skribis: > 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-struc= t: 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. It should, as it used to do, but in 2.2.3 I pushed a =E2=80=9Cfix=E2=80=9D = for =E2=80=98%fresh-auto-compile=E2=80=99 that turned out to be misguided: it w= ould 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 . I think we should revert it and publish 2.2.4 soon. Thoughts? Ludo=E2=80=99.