From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#28445: match-error in 'device-sexp->device' while building system Date: Wed, 13 Sep 2017 14:32:26 -0400 Message-ID: <87mv5ycuv9.fsf@netris.org> References: <87y3pid5jw.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsCTC-0003Nm-8B for bug-guix@gnu.org; Wed, 13 Sep 2017 14:33:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsCT8-0007QO-AX for bug-guix@gnu.org; Wed, 13 Sep 2017 14:33:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsCT8-0007QD-7s for bug-guix@gnu.org; Wed, 13 Sep 2017 14:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dsCT7-0006Eb-SD for bug-guix@gnu.org; Wed, 13 Sep 2017 14:33:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y3pid5jw.fsf@netris.org> (Mark H. Weaver's message of "Wed, 13 Sep 2017 10:41:39 -0400") 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: 28445@debbugs.gnu.org Mark H Weaver writes: > I just started getting this error while trying to build my x86_64 GuixSD > system: > > mhw@jojen ~$ guix system build -K /etc/config-new.scm [...] > gnu/system.scm:238:4: In procedure device-sexp->device: > gnu/system.scm:238:4: Throw to key `match-error' with args `("match" "no matching pattern" #f)'. This is ultimately caused by the fact that /var/guix/profiles/system-*-link/parameters, for every system I have, includes: (store (device #f) (mount-point "/")) It's worth noting that my root device is unusual: it is a btrfs filesystem within a LUKS-encrypted partition. See below for the relevant excerpts of my OS configuration: > (operating-system [...] > ;; Specify a mapped device for the encrypted root partition. > ;; The UUID is that returned by 'cryptsetup luksUUID'. > (mapped-devices > (list (mapped-device > (source (uuid "a56c53e7-b345-4e24-a17b-6cf158dbc7d3")) > (target "jojen-root") > (type luks-device-mapping)))) > > (file-systems (cons* (file-system > ;; XXX This doesn't seem to work > ;; (device "jojen-root") > ;; (title 'label) > (device "/dev/mapper/jojen-root") > (title 'device) > (mount-point "/") > (type "btrfs") > (dependencies mapped-devices)) > %base-file-systems)) Mark