emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#30021: closed (system build: unable to parse multi


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#30021: closed (system build: unable to parse multi-line device-mapping)
Date: Mon, 08 Jan 2018 05:50:01 +0000

Your message dated Mon, 08 Jan 2018 00:49:19 -0500
with message-id <address@hidden>
and subject line Re: bug#30021: system build: unable to parse multi-line 
device-mapping
has caused the debbugs.gnu.org bug report #30021,
regarding system build: unable to parse multi-line device-mapping
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
30021: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30021
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: system build: unable to parse multi-line device-mapping Date: Sun, 07 Jan 2018 19:24:27 -0800
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-a1a8-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 
  mapped-devices: Add 'location' and 'check' fields.


Hope that helps!

live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#30021: system build: unable to parse multi-line device-mapping Date: Mon, 08 Jan 2018 00:49:19 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
Vagrant Cascadian <address@hidden> writes:

> 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

I forgot to mention that there's already a bug filed for this issue:

  https://bugs.gnu.org/29881

I'm closing this bug now.

     Thanks,
       Mark


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]