From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagrant Cascadian Subject: bug#30021: system build: unable to parse multi-line device-mapping Date: Sun, 07 Jan 2018 19:24:27 -0800 Message-ID: <87efn11190.fsf@aikidev.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYO3b-0000hV-VD for bug-guix@gnu.org; Sun, 07 Jan 2018 22:25:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYO3b-0006pp-1H for bug-guix@gnu.org; Sun, 07 Jan 2018 22:25:03 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYO3a-0006pf-Tg for bug-guix@gnu.org; Sun, 07 Jan 2018 22:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eYO3a-00079J-Kz for bug-guix@gnu.org; Sun, 07 Jan 2018 22:25:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYO3J-0000VF-Te for bug-guix@gnu.org; Sun, 07 Jan 2018 22:24:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYO3I-0006kD-R7 for bug-guix@gnu.org; Sun, 07 Jan 2018 22:24:45 -0500 Received: from cascadia.aikidev.net ([2600:3c01::f03c:91ff:fedf:64ce]:35490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYO3I-0006gh-LE for bug-guix@gnu.org; Sun, 07 Jan 2018 22:24:44 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id D9ED61AC75 for ; Sun, 7 Jan 2018 19:24:40 -0800 (PST) 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: 30021@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable After several weeks of not using a machine, and updating guix to guix (GNU Guix) c04ffadbed7412545555b8be6b78f23eed150d26 Running "guix build system /etc/config.scm" resulted in: guix system: error: failed to load '/etc/config.scm': /etc/config.scm:23:9: /etc/config.scm:23:9: In procedure allocate-struct:= Wrong type argument in\ position 2: 3 This roughly corresponded to my mapped device section in /etc/config.scm: (mapped-devices (list (mapped-device (source (uuid "c106e43e-0479-4135-a1a8-b5221312bf74")) (target "cryptic") (type luks-device-mapping)))) Moving it all into a single line worked around the issue, but is a good deal harder to read: (mapped-devices (list (mapped-device (source (uuid "c106e43e-0479-4135-a1= a8-b5221312bf74")) (target "cryptic") (type luks-device-mapping)))) My guess is it has something to do with some commits relating to validating mapped devices: 42ff7d3be642d66ba567f64882a1f2301b1a7bd9 mapped-devices: 'luks-device-mapping' checks its source device. 4ca90ff5976434a2b6e758df38df54387ae70c1b=20 mapped-devices: Add 'location' and 'check' fields. Hope that helps! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlpS5GsACgkQt4uC1IFL kbZKRg/5AeAFlktpOMf67jqWyaY7tbNiT0yTXI8vE35tpJfdRu1YbBp5Fgwv6zPP uVDkyeObjIppWMgtSvb6y7PHCm/7tJUKIZCOSd3GIAjfcCU9TcH9QZjYAqr8HjZy rnX1MFkLasx98cLrLEsovhLMAbTiprgYmUjKO3grEfqRzfJqlVVKS7aFSTUncdw6 5aJSPGpfmdbhoYO21aghYUFk+ZA7M7xYk8pOdQYojZ/w8x06IehQOKnuQp/eMjEx skrcR0btd6HVWBR64lSBf3B+BRzuCjIMY0DWsz4dn2fQmvSuXgdjYfVUFps55WZG 8FGroDY30/aNxwx1d7GoxuOG1r4zApgkpIt/52RZhoFu9uT1YGhiUsINEg/DRXPd QTisN5RehYeJka6YY9J1rL/iT2GYfjmvCLHwdVP7T+N9+Ju8VNpZAWc+7+hGi8en /Ytn3tzb9iCUgbrpTfYPL9cYZ34LHdUUmp3PISQSmAVM6Rmm6BOJKMKF1Eb3+CWG Mu0VUxG8ZYjyrxOjhKwHAVJLd5gjJXFxGZNgsMjEzHx4wYkfyW5QYLEsnfZ2aEP8 n0OgPhHX/VNtLsLXRNbpN5mj3NpIk3VHCc6gXIQsii1PQTL9QKZNAyhu4DIIVcP7 EwwdT7XFPT5syAdk9dyV/EjKjHA5h/W1Ep2HAO1YRR/Lif/vM7I= =dC4Y -----END PGP SIGNATURE----- --=-=-=--