From unknown Mon Aug 18 02:31:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29881 <29881@debbugs.gnu.org> To: bug#29881 <29881@debbugs.gnu.org> Subject: Status: Disabled fresh-auto-compile leads to ABI breakage in user config files Reply-To: bug#29881 <29881@debbugs.gnu.org> Date: Mon, 18 Aug 2025 09:31:22 +0000 retitle 29881 Disabled fresh-auto-compile leads to ABI breakage in user con= fig files reassign 29881 guix submitter 29881 Diego Nicola Barbato severity 29881 important thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 17:18:32 2017 Received: (at submit) by debbugs.gnu.org; 28 Dec 2017 22:18:32 +0000 Received: from localhost ([127.0.0.1]:55506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUgVU-0002Iz-MC for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:18:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUgVT-0002In-AM for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:18:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUgVN-0002Jx-6t for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:18:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40251) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eUgVM-0002JF-Tm for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:18:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUgVL-0006Pd-F9 for bug-guix@gnu.org; Thu, 28 Dec 2017 17:18:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUgVG-0002Bw-3q for bug-guix@gnu.org; Thu, 28 Dec 2017 17:18:23 -0500 Received: from mout01.posteo.de ([185.67.36.65]:33748) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eUgVF-00021P-FS for bug-guix@gnu.org; Thu, 28 Dec 2017 17:18:17 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 3893720E71 for ; Thu, 28 Dec 2017 23:18:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1514499487; bh=T1YUE69wEhggQxyDgqSjEcUlcbNp8y7FboU+zQ6jnE4=; h=From:To:Subject:Date:From; b=PBOhK6erRw7/lo2aYadwwbkxx92Ca+Rpeoja5Vn4ttjVkhcasIRvGIssG9MFtL5P9 l2U1WNWSHppyeZtJzmGZcmoGmvhvO0q16S6yd4MYHvQqOZu0hDsGd+4t0oMM9U61+d sB9iOQgQKvVb11GasF8PN/bzwew3hUWavnduhmkr1t8hNmSyJDHdPM0W7UzpujhOR+ UBnKNqa3L9ZOuexolnvU9sUogFkpa1F1u5VUl3HE/xvW+s6dpQazsyU91TAgKg9LPB oRNPXLcloAy/BfL1RR37YivZg99t0PykN27GLjYbysbLh3iTjOHsO1y1Yf20poF9z9 Co3lzQiYQ8ySQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3z73y622K2z9rxJ for ; Thu, 28 Dec 2017 23:18:05 +0100 (CET) From: Diego Nicola Barbato To: bug-guix@gnu.org Subject: guix system reconfigure fails if config.scm contains LUKS mapped-devices Date: Thu, 28 Dec 2017 23:18:04 +0100 Message-ID: <87tvwa33ab.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Hello Guix, 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 This error appears for the first time in commit 4ca90ff5976434a2b6e758df38df54387ae70c1b. On line 24 of my config file I have declared a mapped device of type luks-device-mapping. If the config file does not contain any mapped-devices declaration `guix system reconfigure' works as expected (checked in a VM). I run GuixSD on a x86_64 machine. Greetings Diego N. Barbato From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 17:30:33 2017 Received: (at submit) by debbugs.gnu.org; 28 Dec 2017 22:30:33 +0000 Received: from localhost ([127.0.0.1]:55516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUgh7-0002be-3L for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:30:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUgh3-0002bO-0X for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:30:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUggw-0003K7-HI for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:30:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39596) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eUggv-0003Je-Sw for submit@debbugs.gnu.org; Thu, 28 Dec 2017 17:30:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUggu-0000fX-M8 for bug-guix@gnu.org; Thu, 28 Dec 2017 17:30:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUggp-0003H7-WC for bug-guix@gnu.org; Thu, 28 Dec 2017 17:30:19 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:55959) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eUggp-0003Fi-CB for bug-guix@gnu.org; Thu, 28 Dec 2017 17:30:15 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 41BEE21AE8; Thu, 28 Dec 2017 17:30:13 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 28 Dec 2017 17:30:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=2fLGMvWZgDT8+/Q8FT8iEVl+Ab TQcvZk2FB6daYhGS4=; b=KbqcomeF+IZo5EP3OwnnL54e6mzuC+R6ZBeWmo8uA6 SAMOO0OB3AKa0WhJNOmraJRJyTooqtbThMsg3rrB4L600o2TokRucIZ6uo1cIPdc PnjxPThFz0osylP71b/BjSmhyMhHeFtHsSBmBVO8tQAh1E51FtBmaf1eC+gu65P6 g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=2fLGMv WZgDT8+/Q8FT8iEVl+AbTQcvZk2FB6daYhGS4=; b=hVAuZfA0e6IgQfvL7ZN6vA UCazHmLYAwHT+UpK5w0Vif4Zw6pYQ9+ZYL6CQV/mBjLA1q4oAsLnMlRiE8A6Cj/V Yc9nXy9HgMd14IxKKuN0eIO7x+q3+jgQig8fgu6XY2NR4HBqgAIGyc7j5lZy899E eQ/i2KrjibfdzO5GI1s1w7KIpiBgFQFElGPS4/DiocVqcUzOBZpKjAXNSqgKB8hu 3AcTssHejjIa+gbwY9yxnSszGdAoE5wvlLDDmFDvV/FCOXnirpbM213uWlkw0kq5 sW0MX1FvEYlR62efw2vj1eVPGH9Ez1AuCFCEzyh6R1mvvmbxnjtXbTHqEezOSveQ == X-ME-Sender: Received: from [172.19.131.131] (unknown [12.130.117.53]) by mail.messagingengine.com (Postfix) with ESMTPA id 992AD24235; Thu, 28 Dec 2017 17:30:11 -0500 (EST) Date: Thu, 28 Dec 2017 17:30:01 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <87tvwa33ab.fsf@GlaDOS.home> References: <87tvwa33ab.fsf@GlaDOS.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices To: bug-guix@gnu.org, Diego Nicola Barbato , 29881@debbugs.gnu.org From: Leo Famulari Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Can you send your config=2Escm?=20 Without it, it's hard to know if there is a problem with your config=2Escm= or the Guix mapper-devices code=2E -------- Original Message -------- From: Diego Nicola Barbato Sent: December 28, 2017 5:18:04 PM EST To: 29881@debbugs=2Egnu=2Eorg Subject: bug#29881: guix system reconfigure fails if config=2Escm contains= LUKS mapped-devices Hello Guix, When running `guix system reconfigure /etc/config=2Escm' as root I get the following error: guix system: error: failed to load '/etc/config=2Escm': /etc/config=2Escm:24:9: /etc/config=2Escm:24:9: In procedure allocate-stru= ct: Wrong type argument in position 2: 3 This error appears for the first time in commit 4ca90ff5976434a2b6e758df38df54387ae70c1b=2E On line 24 of my config file I have declared a mapped device of type luks-device-mapping=2E If the config file does not contain any mapped-devices declaration `guix system reconfigure' works as expected (checked in a VM)=2E I run GuixSD on a x86_64 machine=2E Greetings Diego N=2E Barbato From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 18:04:15 2017 Received: (at 29881) by debbugs.gnu.org; 28 Dec 2017 23:04:15 +0000 Received: from localhost ([127.0.0.1]:55538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUhDi-0003MT-Tt for submit@debbugs.gnu.org; Thu, 28 Dec 2017 18:04:15 -0500 Received: from mout01.posteo.de ([185.67.36.65]:44756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUhDg-0003MF-OD for 29881@debbugs.gnu.org; Thu, 28 Dec 2017 18:04:13 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2EEDA20DD6 for <29881@debbugs.gnu.org>; Fri, 29 Dec 2017 00:04:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1514502245; bh=J9YN604bUFktut28yfkAnDAytuVWBSK3ytWQvUsfaL4=; h=From:To:Cc:Subject:Date:From; b=dR7sala4kcBpgG1VvOD55O9V+NI2ef+wKr/cf5ahVTJHdJlpcpcwdtT68x+H7bm/W ALGLOY12fcr8oHvzgkxH/88GHhZTYKxk+cYr6ASCg6Q0+yfJ9ttq4Yi+yi4v1Du8WN SbktzSykXwD2Z5OpAb2iAUB3NOuSNYRelNJOpaB67syPIUSahs36ZAzZ6dVwmXDgXY aSkf9TpbimBonT+YLT3Rj6px6ICizim8wiU74299fk0dRPb+IdAbVBUKS8+BwRikVN UCEWosffx6I9a7ijXRxssuZt4tQcCP2noa1Hh0lB5wtr4xtJI55SSGnRR+BZvUmm9S Q5j/MQTD8cneg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3z74z82lgHz9rxJ; Fri, 29 Dec 2017 00:04:03 +0100 (CET) From: dnbarbato@posteo.de To: Leo Famulari Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> Date: Fri, 29 Dec 2017 00:04:03 +0100 In-Reply-To: (Leo Famulari's message of "Thu, 28 Dec 2017 17:30:01 -0500") Message-ID: <87o9mi315o.fsf_-_@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain Leo Famulari writes: > Can you send your config.scm? > > Without it, it's hard to know if there is a problem with your config.scm or the Guix mapper-devices code. > As requested here is my config.scm. Although I doubt there is a problem with it since it works with commit de2032b912ede1756290e7ca9f7af7e9b72627eb and the mapped-devices declaration is the same as in the manual (except for the target and the uuid). --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=config.scm Content-Transfer-Encoding: base64 Content-Description: config.scm OzsgVGhpcyBpcyBhbiBvcGVyYXRpbmcgc3lzdGVtIGNvbmZpZ3VyYXRpb24gZmlsZQo7OyBmb3Ig YSAiZGVza3RvcCIgc2V0dXAgd2l0aCBTdHVtcFdNIGFuZCBFWFdNIHdoZXJlCjs7IHRoZSByb290 IHBhcnRpdGlvbiBpcyBlbmNyeXB0ZWQgd2l0aCBMVUtTLgoKKHVzZS1tb2R1bGVzIChnbnUpIChn bnUgcGFja2FnZXMpIChnbnUgc3lzdGVtIG5zcykpCih1c2Utc2VydmljZS1tb2R1bGVzIGF2YWhp IGN1cHMgZGJ1cyBkZXNrdG9wIG5ldHdvcmtpbmcgeG9yZykKKHVzZS1wYWNrYWdlLW1vZHVsZXMg Y2VydHMgY3VwcyBlbWFjcyBnbm9tZSBsaWJ1c2IgbGlzcCB4ZGlzb3JnKQoKKG9wZXJhdGluZy1z eXN0ZW0KICAoaG9zdC1uYW1lICJHTGFET1MiKQogICh0aW1lem9uZSAiRXVyb3BlL1p1cmljaCIp CiAgKGxvY2FsZSAiZGVfQ0guVVRGLTgiKQoKICA7OyBBc3N1bWluZyAvZGV2L3NkYSBpcyB0aGUg dGFyZ2V0IGhhcmQgZGlzaywgYW5kICJvc2lyaXMiCiAgOzsgaXMgdGhlIGxhYmVsIG9mIHRoZSB0 YXJnZXQgcm9vdCBmaWxlIHN5c3RlbS4KICAoYm9vdGxvYWRlciAoYm9vdGxvYWRlci1jb25maWd1 cmF0aW9uCiAgICAgICAgICAgICAgICAoYm9vdGxvYWRlciBncnViLWJvb3Rsb2FkZXIpCiAgICAg ICAgICAgICAgICAodGFyZ2V0ICIvZGV2L3NkYSIpCiAgICAgICAgICAgICAgICAodGltZW91dCAx KSkpCgogIDs7IFNwZWNpZnkgYSBtYXBwZWQgZGV2aWNlIGZvciB0aGUgZW5jcnlwdGVkIHJvb3Qg cGFydGl0aW9uLgogIDs7IFRoZSBVVUlEIGlzIHRoYXQgcmV0dXJuZWQgYnkgJ2NyeXB0c2V0dXAg bHVrc1VVSUQnLgogIChtYXBwZWQtZGV2aWNlcwogICAobGlzdCAobWFwcGVkLWRldmljZQogICAg ICAgICAgKHNvdXJjZSAodXVpZCAiOWY5YjRlYWYtM2MwMi00ZDNkLWI1MTctNzgyYzQxOWI5NDNm IikpCiAgICAgICAgICAodGFyZ2V0ICJoYXRob3IiKQogICAgICAgICAgKHR5cGUgbHVrcy1kZXZp Y2UtbWFwcGluZykpKSkKCiAgKGZpbGUtc3lzdGVtcyAoY29ucyogKGZpbGUtc3lzdGVtCiAgICAg ICAgICAgICAgICAgICAgICAgIChkZXZpY2UgIm9zaXJpcyIpCiAgICAgICAgICAgICAgICAgICAg ICAgICh0aXRsZSAnbGFiZWwpCiAgICAgICAgICAgICAgICAgICAgICAgIChtb3VudC1wb2ludCAi LyIpCiAgICAgICAgICAgICAgICAgICAgICAgICh0eXBlICJleHQ0IikpCiAgICAgICAgICAgICAg ICAgICAgICAoZmlsZS1zeXN0ZW0KICAgICAgICAgICAgICAgICAgICAgICAgKGRldmljZSAiaG9y dXMiKQogICAgICAgICAgICAgICAgICAgICAgICAodGl0bGUgJ2xhYmVsKQogICAgICAgICAgICAg ICAgICAgICAgICAobW91bnQtcG9pbnQgIi9ob21lIikKICAgICAgICAgICAgICAgICAgICAgICAg KHR5cGUgImV4dDQiKQogICAgICAgICAgICAgICAgICAgICAgICAoZGVwZW5kZW5jaWVzIG1hcHBl ZC1kZXZpY2VzKSkKICAgICAgICAgICAgICAgICAgICAgICViYXNlLWZpbGUtc3lzdGVtcykpCgog IChzd2FwLWRldmljZXMgJygiL2Rldi9zZGEyIikpCgogICh1c2VycyAoY29ucyAodXNlci1hY2Nv dW50CiAgICAgICAgICAgICAgICAobmFtZSAiZGllZ28iKQogICAgICAgICAgICAgICAgKGNvbW1l bnQgIkRpZWdvIE5pY29sYSBCYXJiYXRvIikKICAgICAgICAgICAgICAgIChncm91cCAidXNlcnMi KQogICAgICAgICAgICAgICAgKHN1cHBsZW1lbnRhcnktZ3JvdXBzICcoImxwIgogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIndoZWVsIiAibmV0ZGV2IgogICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImF1ZGlvIiAidmlkZW8iKSkKICAgICAgICAg ICAgICAgIChob21lLWRpcmVjdG9yeSAiL2hvbWUvZGllZ28iKSkKICAgICAgICAgICAgICAgJWJh c2UtdXNlci1hY2NvdW50cykpCgogIDs7IFRoaXMgaXMgd2hlcmUgd2Ugc3BlY2lmeSBzeXN0ZW0t d2lkZSBwYWNrYWdlcy4KICAocGFja2FnZXMgKGNvbnMqIG5zcy1jZXJ0cyAgICAgICAgIDtmb3Ig SFRUUFMgYWNjZXNzCiAgICAgICAgICAgICAgICAgICA7OyBndmZzICAgICAgICAgICAgICA7Zm9y IHVzZXIgbW91bnRzCiAgICAgICAgICAgICAgICAgICBzYmNsLXN0dW1wd20gICAgICA7U3R1bXBX TSB3aW5kb3cgbWFuYWdlcgogICAgICAgICAgICAgICAgICAgZW1hY3MgZW1hY3MtZXh3bSAgO2Vt YWNzIHdpbmRvdyBtYW5hZ2VyCiAgICAgICAgICAgICAgICAgICAlYmFzZS1wYWNrYWdlcykpCgog IDs7IEFkZCBkZXNrdG9wIHNlcnZpY2VzIHRvICViYXNlLXNlcnZpY2VzLiBUaGlzIGlzIGEgbW9k aWZpZWQKICA7OyB2ZXJzaW9uIG9mICVkZXNrdG9wLXNlcnZpY2VzIHdpdGggZmV3ZXIgc2Vydmlj ZXMgYW5kIHdpY2QKICA7OyBpbnN0ZWFkIG9mIG5ldHdvcmstbWFuYWdlci4gQWxzbyBhZGRpbmcg dG9yLCB4c2NyZWVuc2F2ZXIsCiAgOzsgYmx1ZXRvb3RoIGFuZCBhIHN3aXNzIGdlcm1hbiBjb25z b2xlIGtleW1hcC4KICAoc2VydmljZXMgKGNvbnMqICh0b3Itc2VydmljZSkKCgkJICAgOzsgY3Vw cyBzZXJ2aWNlCgkJICAgKHNlcnZpY2UgY3Vwcy1zZXJ2aWNlLXR5cGUKCQkJICAgIChjdXBzLWNv bmZpZ3VyYXRpb24KCQkJICAgICAod2ViLWludGVyZmFjZT8gI3QpCgkJCSAgICAgKGV4dGVuc2lv bnMKCQkJICAgICAgKGxpc3QgY3Vwcy1maWx0ZXJzIGVzY3ByKSkpKQoKICAgICAgICAgICAgICAg ICAgIDs7IExvZ2luIHNlcnZpY2UKICAgICAgICAgICAgICAgICAgIChzbGltLXNlcnZpY2UpCgog ICAgICAgICAgICAgICAgICAgOzsgU2NyZWVuIGxvY2tlcnMgYXJlIGEgcHJldHR5IHVzZWZ1bCB0 aGluZwoJCSAgIDs7IGFuZCB0aGVzZSBhcmUgc21hbGwuCiAgICAgICAgICAgICAgICAgICAoc2Ny ZWVuLWxvY2tlci1zZXJ2aWNlIHhsb2NrbW9yZSAieGxvY2siKQogICAgICAgICAgICAgICAgICAg KHNjcmVlbi1sb2NrZXItc2VydmljZSB4c2NyZWVuc2F2ZXIgInhzY3JlZW5zYXZlciIpCgoJCSAg IDs7IEFkZCB1ZGV2IHJ1bGVzIGZvciBNVFAgZGV2aWNlcyBzbyB0aGF0IG5vbi1yb290CgkJICAg OzsgdXNlcnMgY2FuIGFjY2VzcyB0aGVtLgoJCSAgIChzaW1wbGUtc2VydmljZSAnbXRwIHVkZXYt c2VydmljZS10eXBlIChsaXN0IGxpYm10cCkpCgogICAgICAgICAgICAgICAgICAgOzsgVGhlIEQt QnVzIGNsaXF1ZS4KICAgICAgICAgICAgICAgICAgIChibHVldG9vdGgtc2VydmljZSkKICAgICAg ICAgICAgICAgICAgIChhdmFoaS1zZXJ2aWNlKQogICAgICAgICAgICAgICAgICAgKHdpY2Qtc2Vy dmljZSkKICAgICAgICAgICAgICAgICAgICh1ZGlza3Mtc2VydmljZSkKICAgICAgICAgICAgICAg ICAgICh1cG93ZXItc2VydmljZSkKICAgICAgICAgICAgICAgICAgIChjb2xvcmQtc2VydmljZSkK ICAgICAgICAgICAgICAgICAgIChnZW9jbHVlLXNlcnZpY2UpCiAgICAgICAgICAgICAgICAgICAo cG9sa2l0LXNlcnZpY2UpCiAgICAgICAgICAgICAgICAgICAoZWxvZ2luZC1zZXJ2aWNlKQogICAg ICAgICAgICAgICAgICAgKGRidXMtc2VydmljZSkKCiAgICAgICAgICAgICAgICAgICAobnRwLXNl cnZpY2UpCgogICAgICAgICAgICAgICAgICAgOzsgQWRkIHN3aXNzIGdlcm1hbiBrZXltYXAKICAg ICAgICAgICAgICAgICAgIChjb25zb2xlLWtleW1hcC1zZXJ2aWNlICJkZV9DSC1sYXRpbjEiKQoK ICAgICAgICAgICAgICAgICAgICViYXNlLXNlcnZpY2VzKSkKCiAgOzsgQWxsb3cgcmVzb2x1dGlv biBvZiAnLmxvY2FsJyBob3N0IG5hbWVzIHdpdGggbUROUy4KICAobmFtZS1zZXJ2aWNlLXN3aXRj aCAlbWRucy1ob3N0LWxvb2t1cC1uc3MpKQo= --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 29 08:41:34 2017 Received: (at 29881) by debbugs.gnu.org; 29 Dec 2017 13:41:34 +0000 Received: from localhost ([127.0.0.1]:55920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUuuk-0003jj-4D for submit@debbugs.gnu.org; Fri, 29 Dec 2017 08:41:34 -0500 Received: from [141.255.128.1] (port=37653 helo=hera.aquilenet.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUuui-0003jc-SD for 29881@debbugs.gnu.org; Fri, 29 Dec 2017 08:41:33 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4022010664; Fri, 29 Dec 2017 14:41:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8a7sYoiBtfTu; Fri, 29 Dec 2017 14:41:31 +0100 (CET) Received: from ribbon (unknown [78.250.197.215]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5A9C21065F; Fri, 29 Dec 2017 14:41:26 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Diego Nicola Barbato Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 =?utf-8?Q?Niv=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 29 Dec 2017 14:41:21 +0100 In-Reply-To: <87tvwa33ab.fsf@GlaDOS.home> (Diego Nicola Barbato's message of "Thu, 28 Dec 2017 23:18:04 +0100") Message-ID: <878tdl4poe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Diego, 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 [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_FAIL SPF: HELO does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=helo; id=hera.aquilenet.fr; ip=141.255.128.1; r=debbugs.gnu.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Diego, 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 [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_FAIL SPF: HELO does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=helo;id=hera.aquilenet.fr;ip=141.255.128.1;r=debbugs.gnu.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Hi Diego, 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/cc= ache=E2=80=9D (Guile=E2=80=99s auto-compilation cache) to work around e2721a05e7d778bdf845b7cb7a42fd9f76095b69. Can you confirm? This commit adapts to a change in what =E2=80=98%fresh-auto-compile=E2=80= =99 does in Guile 2.2.3, which turned out to be wrong. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 29 12:33:52 2017 Received: (at 29881) by debbugs.gnu.org; 29 Dec 2017 17:33:52 +0000 Received: from localhost ([127.0.0.1]:56892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUyXY-0001Ok-K9 for submit@debbugs.gnu.org; Fri, 29 Dec 2017 12:33:52 -0500 Received: from world.peace.net ([50.252.239.5]:60402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eUyXV-0001OV-B6 for 29881@debbugs.gnu.org; Fri, 29 Dec 2017 12:33:51 -0500 Received: from pool-72-93-32-210.bstnma.east.verizon.net ([72.93.32.210] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eUyXO-0004Jz-9X; Fri, 29 Dec 2017 12:33:42 -0500 From: Mark H Weaver To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> Date: Fri, 29 Dec 2017 12:33:15 -0500 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") Message-ID: <87po6xqw10.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 29 19:20:03 2017 Received: (at 29881) by debbugs.gnu.org; 30 Dec 2017 00:20:03 +0000 Received: from localhost ([127.0.0.1]:57054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eV4sd-00068x-5y for submit@debbugs.gnu.org; Fri, 29 Dec 2017 19:20:03 -0500 Received: from [141.255.128.1] (port=39945 helo=hera.aquilenet.fr) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eV4sb-00068U-LT for 29881@debbugs.gnu.org; Fri, 29 Dec 2017 19:20:02 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6610110755; Sat, 30 Dec 2017 01:20:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O8zAVqf9oBo2; Sat, 30 Dec 2017 01:19:58 +0100 (CET) Received: from ribbon (unknown [78.250.74.26]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DE9E610702; Sat, 30 Dec 2017 01:19:52 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> <87po6xqw10.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 =?utf-8?Q?Niv=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 30 Dec 2017 01:19:43 +0100 In-Reply-To: <87po6xqw10.fsf@netris.org> (Mark H. Weaver's message of "Fri, 29 Dec 2017 12:33:15 -0500") Message-ID: <87vagp2hk0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Mark H Weaver skribis: > ludo@gnu.org (Ludovic Courtès) 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’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. [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [78.250.74.26 listed in dnsbl.sorbs.net] 0.0 SPF_HELO_FAIL SPF: HELO does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=helo;id=hera.aquilenet.fr;ip=141.255.128.1;r=debbugs.gnu.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 3.7 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Mark H Weaver skribis: > ludo@gnu.org (Ludovic Courtès) 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’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. [...] Content analysis details: (3.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [78.250.74.26 listed in dnsbl.sorbs.net] 0.0 SPF_HELO_FAIL SPF: HELO does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=helo;id=hera.aquilenet.fr;ip=141.255.128.1;r=debbugs.gnu.org] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 30 08:55:12 2017 Received: (at 29881) by debbugs.gnu.org; 30 Dec 2017 13:55:12 +0000 Received: from localhost ([127.0.0.1]:57286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVHbT-0004DR-W5 for submit@debbugs.gnu.org; Sat, 30 Dec 2017 08:55:12 -0500 Received: from mout01.posteo.de ([185.67.36.65]:45104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVHbS-0004DD-Rb for 29881@debbugs.gnu.org; Sat, 30 Dec 2017 08:55:11 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A39CF20E5C for <29881@debbugs.gnu.org>; Sat, 30 Dec 2017 14:55:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1514642104; bh=0k5zFX7f3+l9VkdVzzvBegiA4JJLNMLdJmK5P0QKDpU=; h=From:To:Cc:Subject:Date:From; b=il51FPHz1Nr8+sxIJXVWrv8YNCHZSKhzLqpnBNZl7OL3ZGhZjnvGEPF6pD3WgdJO+ ipKYeYliemHiHddjiz9mhS7O+pCtydqkRMzSHT7ya6i0ecgSLRqH7qOU0m+3xrAhMu VU7DWMwOw/p4pfccGIyU8laqV4Vx5wuRp36q/RT3DmTErE0o1DFi04q7klkCCKOIt2 WrhOZDL+RCNMHoUXfPaWUNjFCYCRhU1YcK5go18ZBaGK1TquUzQ7SR/EgKtKIpuVRL 33/13IMtymNoiVpOD7ovT2GPwmCRPcxQ+bLXMLxCRSCUGW+KrFRXTfcvrZZOE0g/pE ehYmrSAQMv5qQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3z84hl4pxQz9rxC; Sat, 30 Dec 2017 14:55:03 +0100 (CET) From: Diego Nicola Barbato To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> Date: Sat, 30 Dec 2017 14:55:03 +0100 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") Message-ID: <87y3lkwcaw.fsf@GlaDOS.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hello Ludo, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > 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. > > Can you confirm? Yes, running `rm -rf ~/.cache/guile/ccache' fixes the issue. Thanks. Diego From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 06 21:25:47 2018 Received: (at 29881) by debbugs.gnu.org; 7 Jan 2018 02:25:47 +0000 Received: from localhost ([127.0.0.1]:38606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eY0eh-00019m-L5 for submit@debbugs.gnu.org; Sat, 06 Jan 2018 21:25:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eY0ef-00019Z-H5 for 29881@debbugs.gnu.org; Sat, 06 Jan 2018 21:25:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eY0eZ-0002I5-BF for 29881@debbugs.gnu.org; Sat, 06 Jan 2018 21:25:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eY0eS-0002DA-9c; Sat, 06 Jan 2018 21:25:32 -0500 Received: from localhost ([::1]:39549 helo=mikegerwitz-pc.gerwitz.local) by fencepost.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eY0eR-0002Tu-RZ; Sat, 06 Jan 2018 21:25:31 -0500 From: Mike Gerwitz To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices 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") Date: Sat, 06 Jan 2018 21:24:45 -0500 Message-ID: <87d12me782.fsf@gnu.org> References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) OpenPGP: id=22175B02E626BC98D7C0C2E5F22BB8158EE30EAB MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Dec 29, 2017 at 14:41:21 +0100, Ludovic Court=C3=A8s wrote: > 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. > > Can you confirm? I just ran into this, and clearing ~/.cache/guile/ccache did indeed fix it. Thanks. =2D-=20 Mike Gerwitz Free Software Hacker+Activist | GNU Maintainer & Volunteer GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05 https://mikegerwitz.com --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJaUYTtAAoJEIyRe39dxRuiYi0P/2MfUC/NjzwbP4pnJtecqF// cm5LKpfoua8nB1+AH8hcJjdE578jtsBOrnA8Xd4a2dci8X1j/uLqF3WuwwzFKNnP xRqQYuo8ztR73Txm5hHmPvyvoHZ3yNi0joKEOMyuPKUgW2/V0GEAJ3LbSqLAJuwD IGr5lPXG6oClV4dbgWVn3QZZQwG+e8fq6wXO6R2hsIRAUATN5mAwlGjQowR8HkEa w/2kbCmEMyzSUL+ZcL1qJzaNeSdGUmqMcCojGnlniK8MQuvLT9ZOS/mXrlJTXAVQ M9qc+QAON3v4VkLtYw2MkLNmAaucRG3pirj/tLsMr1BGkJLO8QKf2d5F0xkgZbTR THZeVsOD6PqSuxfW+kdIkRaGwhYMWfdBP0qVu3a3MthI0p55EJPgIHAHhYg8tMUJ kO84w+JeugyW9nChVrp0ZEgqJmTM1MBVt+DZjcS8koUJLnRD9WB+HS4dVzSJq7iv tTWSzQwbQgWiPo117dpyX8LBTiQXs7DolEUU2ruqPQO6JnooijN3jJKpb/96D3E6 /KIohyxHpBcPg8w4ZAd406UW5ws0njWXeDhmA9fm/lhgtZP/bbY8Y9W8aGZgnfzd v2jW6OS/b+X3CCCOgbTRNPFzDY+khxUou+qBf5X2ysd3I0LkO5/+DnzWCVsrbVG0 TjeRFpN9SymKGQFuZWAL =XIHN -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 16:48:03 2018 Received: (at 29881) by debbugs.gnu.org; 10 Jan 2018 21:48:04 +0000 Received: from localhost ([127.0.0.1]:51437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZOE6-0003aI-HA for submit@debbugs.gnu.org; Wed, 10 Jan 2018 16:48:03 -0500 Received: from world.peace.net ([50.252.239.5]:56976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZOE4-0003Zp-S4 for 29881@debbugs.gnu.org; Wed, 10 Jan 2018 16:48:01 -0500 Received: from [98.216.255.118] (helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZODy-00024t-5x; Wed, 10 Jan 2018 16:47:54 -0500 From: Mark H Weaver To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> Date: Wed, 10 Jan 2018 16:47:26 -0500 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") Message-ID: <87inc9bd3l.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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, 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. Here's the error I got: --8<---------------cut here---------------start------------->8--- mhw@jojen ~$ (guix system build /etc/config-sddm.scm --keep-going --keep-fa= iled --no-grafts; guix system build /etc/config-sddm.scm --keep-going --kee= p-failed; guix package -m mhw-manifest.scm --keep-going --keep-failed) Backtrace: In guix/store.scm: 1443:24 19 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/system.scm: 1031:13 18 (_ _) 736:18 17 (perform-action build #< kernel: # =E2=80=A6) In gnu/system.scm: 813:19 16 (operating-system-derivation _ #:container? _) In gnu/services.scm: 697:26 15 (loop #< type: # =E2=80= =A6>) In srfi/srfi-1.scm: 592:17 14 (map1 (#< type: #= =E2=80=A6)) In gnu/services.scm: 697:26 13 (loop #< type: #=E2=80= =A6>) In srfi/srfi-1.scm: 592:17 12 (map1 (#< type: #= =E2=80=A6)) In gnu/services.scm: 698:26 11 (loop #< type: #) In srfi/srfi-1.scm: 592:29 10 (map1 (#< type: #= =E2=80=A6)) 592:29 9 (map1 (#< type: #= =E2=80=A6)) 592:29 8 (map1 (#< type: #= =E2=80=A6)) 592:29 7 (map1 (#< type: #= =E2=80=A6)) 592:29 6 (map1 (#< type: #= =E2=80=A6)) 592:29 5 (map1 (#< type: #= =E2=80=A6)) 592:29 4 (map1 (#< type: #= =E2=80=A6)) 592:29 3 (map1 (#< type: #= =E2=80=A6)) 592:17 2 (map1 (#< type: #= =E2=80=A6)) In gnu/services/base.scm: 1471:43 1 (guix-shepherd-service _) In unknown file: 0 (symbol->string ("--gc-keep-derivations=3Dyes" "--gc-ke=E2=80= =A6")) ERROR: In procedure symbol->string: ERROR: In procedure symbol->string: Wrong type argument in position 1 (expe= cting symbol): ("--gc-keep-derivations=3Dyes" "--gc-keep-outputs=3Dyes") Backtrace: In guix/store.scm: 1443:24 19 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/system.scm: 1031:13 18 (_ _) 736:18 17 (perform-action build #< kernel: # =E2=80=A6) In gnu/system.scm: 813:19 16 (operating-system-derivation _ #:container? _) In gnu/services.scm: 697:26 15 (loop #< type: # =E2=80= =A6>) In srfi/srfi-1.scm: 592:17 14 (map1 (#< type: #= =E2=80=A6)) In gnu/services.scm: 697:26 13 (loop #< type: #=E2=80= =A6>) In srfi/srfi-1.scm: 592:17 12 (map1 (#< type: #= =E2=80=A6)) In gnu/services.scm: 698:26 11 (loop #< type: #) In srfi/srfi-1.scm: 592:29 10 (map1 (#< type: #= =E2=80=A6)) 592:29 9 (map1 (#< type: #= =E2=80=A6)) 592:29 8 (map1 (#< type: #= =E2=80=A6)) 592:29 7 (map1 (#< type: #= =E2=80=A6)) 592:29 6 (map1 (#< type: #= =E2=80=A6)) 592:29 5 (map1 (#< type: #= =E2=80=A6)) 592:29 4 (map1 (#< type: #= =E2=80=A6)) 592:29 3 (map1 (#< type: #= =E2=80=A6)) 592:17 2 (map1 (#< type: #= =E2=80=A6)) In gnu/services/base.scm: 1471:43 1 (guix-shepherd-service _) In unknown file: 0 (symbol->string ("--gc-keep-derivations=3Dyes" "--gc-ke=E2=80= =A6")) ERROR: In procedure symbol->string: ERROR: In procedure symbol->string: Wrong type argument in position 1 (expe= cting symbol): ("--gc-keep-derivations=3Dyes" "--gc-keep-outputs=3Dyes") --8<---------------cut here---------------end--------------->8--- and the relevant excerpt from my system configuration: --8<---------------cut here---------------start------------->8--- (modify-services (remove (lambda (svc) (eq? (service-kind svc) wicd-service-type)) %base-services) (guix-service-type config =3D> (guix-configuration (inherit config) (use-substitutes? #f) (authorized-keys '()) (substitute-urls '()) (extra-options '("--gc-keep-derivations=3Dyes" "--gc-keep-outputs=3Dyes")))= )) --8<---------------cut here---------------end--------------->8--- I guess that maybe the 'guix-configuration' record was changed, but I haven't taken the time to find the commit that broke my cached etc/config-sddm.go. Mark From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 12 16:53:34 2018 Received: (at control) by debbugs.gnu.org; 12 Jan 2018 21:53:34 +0000 Received: from localhost ([127.0.0.1]:54220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ea7GY-0003P5-NC for submit@debbugs.gnu.org; Fri, 12 Jan 2018 16:53:34 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ea7GW-0003Ox-5X for control@debbugs.gnu.org; Fri, 12 Jan 2018 16:53:33 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2782B10A22 for ; Fri, 12 Jan 2018 22:53:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u2QtU0_w-G9S for ; Fri, 12 Jan 2018 22:53:30 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 35716108C9 for ; Fri, 12 Jan 2018 22:53:30 +0100 (CET) Date: Fri, 12 Jan 2018 22:53:28 +0100 Message-Id: <87fu7arbfr.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #29881 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) retitle 29881 Disabled fresh-auto-compile leads to ABI breakage in user config files From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 12 16:53:39 2018 Received: (at control) by debbugs.gnu.org; 12 Jan 2018 21:53:39 +0000 Received: from localhost ([127.0.0.1]:54223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ea7Gc-0003PN-Ss for submit@debbugs.gnu.org; Fri, 12 Jan 2018 16:53:38 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ea7GZ-0003PD-T5 for control@debbugs.gnu.org; Fri, 12 Jan 2018 16:53:37 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6321210A22 for ; Fri, 12 Jan 2018 22:53:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JDjlvHL0zcLc for ; Fri, 12 Jan 2018 22:53:35 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B38D9108C9 for ; Fri, 12 Jan 2018 22:53:34 +0100 (CET) Date: Fri, 12 Jan 2018 22:53:33 +0100 Message-Id: <87efmurbfm.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #29881 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 29881 important From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 15 17:33:55 2018 Received: (at 29881) by debbugs.gnu.org; 15 Jan 2018 22:33:55 +0000 Received: from localhost ([127.0.0.1]:57872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebDKE-0006FZ-VC for submit@debbugs.gnu.org; Mon, 15 Jan 2018 17:33:55 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:44366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ebDKC-0006FR-Lg for 29881@debbugs.gnu.org; Mon, 15 Jan 2018 17:33:53 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 1CFB010B76; Mon, 15 Jan 2018 23:33:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eB_bfRCi1YRs; Mon, 15 Jan 2018 23:33:51 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id ABC4010B20; Mon, 15 Jan 2018 23:33:50 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> <87inc9bd3l.fsf@netris.org> Date: Mon, 15 Jan 2018 23:33:49 +0100 In-Reply-To: <87inc9bd3l.fsf@netris.org> (Mark H. Weaver's message of "Wed, 10 Jan 2018 16:47:26 -0500") Message-ID: <87d12ag3aq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 29881 Cc: 29881@debbugs.gnu.org, Diego Nicola Barbato X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hi Mark, 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, 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=E2=80=99ve 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=E2=80=99ll release 2.2.4 shortly: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29226#25 I=E2=80=99m not sure we can do much better for 2.2.3, or perhaps we should always use (compile-file file #:to 'value) in =E2=80=98load*=E2=80=99? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 05 04:58:59 2018 Received: (at 29881-done) by debbugs.gnu.org; 5 Mar 2018 09:58:59 +0000 Received: from localhost ([127.0.0.1]:45142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esmtX-0000bI-6x for submit@debbugs.gnu.org; Mon, 05 Mar 2018 04:58:59 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:35942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esmtV-0000b9-Kc for 29881-done@debbugs.gnu.org; Mon, 05 Mar 2018 04:58:58 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id E0EBD11E58; Mon, 5 Mar 2018 10:58:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0pK8RP_uBqIf; Mon, 5 Mar 2018 10:58:54 +0100 (CET) Received: from ribbon (unknown [193.50.110.134]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 75FA811E16; Mon, 5 Mar 2018 10:58:54 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Re: bug#29881: guix system reconfigure fails if config.scm contains LUKS mapped-devices References: <87tvwa33ab.fsf@GlaDOS.home> <878tdl4poe.fsf@gnu.org> <87inc9bd3l.fsf@netris.org> <87d12ag3aq.fsf@gnu.org> Date: Mon, 05 Mar 2018 10:58:54 +0100 In-Reply-To: <87d12ag3aq.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 15 Jan 2018 23:33:49 +0100") Message-ID: <87zi3mc081.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 29881-done Cc: 29881-done@debbugs.gnu.org, Diego Nicola Barbato X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > 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 t= he >>>> following error: >>>> >>>> guix system: error: failed to load '/etc/config.scm': >>>> /etc/config.scm:24:9: /etc/config.scm:24:9: In procedure allocate-stru= ct: Wrong type argument in position 2: 3 >>> >>> I=E2=80=99m afraid you=E2=80=99ll have to =E2=80=9Crm -rf ~/.cache/guil= e/ccache=E2=80=9D (Guile=E2=80=99s >>> 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=E2=80=99ve > arranged so that auto-compilation is turned off for Guile 2.2.3 only. [...] > I=E2=80=99m not sure we can do much better for 2.2.3, or perhaps we should > always use (compile-file file #:to 'value) in =E2=80=98load*=E2=80=99? In commit f44c7aaccd1942b8bf7916e4c8bb0f8f1abfcb58 I added an explicit =E2=80=98compile-file=E2=80=99 call to update the cached .go file for the u= ser=E2=80=99s config, when on 2.2.3. This should solve the problem most of the time. The only remaining issue is if you=E2=80=99re using 2.2.3 and your config spans several module= s: only the main .scm file is rebuilt, so there could be ABI issues in the other modules. I=E2=80=99m closing the bug now. Ludo=E2=80=99. From unknown Mon Aug 18 02:31:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 02 Apr 2018 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator