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 10:41:39 -0400 Message-ID: <87y3pid5jw.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]:44326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds8sc-0005n4-O8 for bug-guix@gnu.org; Wed, 13 Sep 2017 10:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ds8sY-00030v-Lu for bug-guix@gnu.org; Wed, 13 Sep 2017 10:43:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ds8sY-00030n-H4 for bug-guix@gnu.org; Wed, 13 Sep 2017 10:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ds8sY-0007Ph-Bm for bug-guix@gnu.org; Wed, 13 Sep 2017 10:43:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ds8rP-0004ZE-Ju for bug-guix@gnu.org; Wed, 13 Sep 2017 10:41:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ds8rL-0002Ia-7n for bug-guix@gnu.org; Wed, 13 Sep 2017 10:41:51 -0400 Received: from world.peace.net ([50.252.239.5]:60634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ds8rL-0002I9-33 for bug-guix@gnu.org; Wed, 13 Sep 2017 10:41:47 -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 I just started getting this error while trying to build my x86_64 GuixSD system: --8<---------------cut here---------------start------------->8--- mhw@jojen ~$ guix system build -K /etc/config-new.scm Backtrace: 14 (primitive-load "/home/mhw/guix/scripts/guix") In guix/ui.scm: 1331:12 13 (run-guix-command _ . _) In ice-9/boot-9.scm: 837:9 12 (catch _ _ # =E2=80=A6) 837:9 11 (catch _ _ # =E2=80=A6) In guix/scripts/system.scm: 1025:8 10 (_) 908:6 9 (process-action _ _ _) In guix/store.scm: 1443:24 8 (run-with-store _ _ #:guile-for-build _ #:system _ # _) In guix/scripts/system.scm: 661:31 7 (_ _) In srfi/srfi-1.scm: 705:23 6 (filter-map #boot-parameters (sys=E2=80=A6>= . #) In ice-9/boot-9.scm: 837:9 5 (catch system-error # =E2=80=A6) In guix/scripts/system.scm: 385:30 4 (_) In gnu/system.scm: 307:17 3 (read-boot-parameters-file "/var/guix/profiles/system-9=E2=80= =A6") In ice-9/ports.scm: 444:17 2 (call-with-input-file _ _ #:binary _ #:encoding _ # _) In gnu/system.scm: 282:10 1 (read-boot-parameters _) 238:4 0 (device-sexp->device _) gnu/system.scm:238:4: In procedure device-sexp->device: gnu/system.scm:238:4: Throw to key `match-error' with args `("match" "no ma= tching pattern" #f)'. --8<---------------cut here---------------end--------------->8--- I'm on commit 01ef804d69b2e57dd7b1d3d13e66e3f67e7c548a plus some local patches that are likely not relevant to this issue. Here's my config file /etc/config-new.scm: --8<---------------cut here---------------start------------->8--- ;; This is an operating system configuration template ;; for a "desktop" setup with GNOME and Xfce where the ;; root partition is encrypted with LUKS. (use-modules (gnu) (gnu system nss) (srfi srfi-1) (guix packages)) (use-service-modules base desktop networking xorg dbus) (use-package-modules certs gnome cryptsetup linux admin guile firmware xdis= org libusb) (define keymap (plain-file "keymap" "keymaps 0-255 keycode 42 =3D Shift keycode 54 =3D Shift keycode 29 =3D Control keycode 58 =3D Control keycode 56 =3D Alt keycode 100 =3D Alt alt shift keycode 1 =3D Meta_Escape alt shift keycode 2 =3D Meta_exclam alt shift keycode 3 =3D Meta_at alt shift keycode 4 =3D Meta_numbersign alt shift keycode 5 =3D Meta_dollar alt shift keycode 6 =3D Meta_percent alt shift keycode 7 =3D Meta_asciicircum shift control keycode 7 =3D Control_asciicircum control alt keycode 7 =3D Meta_Control_asciicircum shift control alt keycode 7 =3D Meta_Control_asciicircum alt shift keycode 8 =3D Meta_ampersand alt shift keycode 9 =3D Meta_asterisk alt shift keycode 10 =3D Meta_parenleft alt shift keycode 11 =3D Meta_parenright alt shift keycode 12 =3D Meta_underscore shift control keycode 12 =3D Control_underscore control alt keycode 12 =3D Meta_Control_underscore shift control alt keycode 12 =3D Meta_Control_underscore alt shift keycode 13 =3D Meta_plus alt shift keycode 14 =3D Meta_Delete alt shift keycode 15 =3D Meta_Tab alt shift keycode 16 =3D Meta_Q alt shift keycode 17 =3D Meta_W alt shift keycode 18 =3D Meta_E alt shift keycode 19 =3D Meta_R alt shift keycode 20 =3D Meta_T alt shift keycode 21 =3D Meta_Y alt shift keycode 22 =3D Meta_U alt shift keycode 23 =3D Meta_I alt shift keycode 24 =3D Meta_O alt shift keycode 25 =3D Meta_P alt shift keycode 26 =3D Meta_braceleft control alt keycode 26 =3D Meta_Escape alt shift keycode 27 =3D Meta_braceright control alt keycode 27 =3D Meta_Control_bracketright alt shift keycode 28 =3D Meta_Return alt shift keycode 29 =3D Meta_Control alt shift keycode 30 =3D Meta_A alt shift keycode 31 =3D Meta_S alt shift keycode 32 =3D Meta_D alt shift keycode 33 =3D Meta_F alt shift keycode 34 =3D Meta_G alt shift keycode 35 =3D Meta_H alt shift keycode 36 =3D Meta_J alt shift keycode 37 =3D Meta_K alt shift keycode 38 =3D Meta_L alt shift keycode 39 =3D Meta_colon alt shift keycode 40 =3D Meta_quotedbl alt shift keycode 41 =3D Meta_asciitilde alt shift keycode 43 =3D Meta_bar control alt keycode 43 =3D Meta_Control_backslash alt shift keycode 44 =3D Meta_Z alt shift keycode 45 =3D Meta_X alt shift keycode 46 =3D Meta_C alt shift keycode 47 =3D Meta_V alt shift keycode 48 =3D Meta_B alt shift keycode 49 =3D Meta_N alt shift keycode 50 =3D Meta_M alt shift keycode 51 =3D Meta_less alt shift keycode 52 =3D Meta_greater alt shift keycode 53 =3D Meta_question alt shift keycode 57 =3D Meta_space ")) (operating-system (host-name "jojen") (timezone "US/Eastern") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) (kernel linux-libre) (firmware (list ath9k-htc-firmware)) ;; 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)) (users (cons* (user-account (name "mhw") (uid 1000) (group "mhw") (supplementary-groups '("wheel" "users" "netdev" "audio" "video" "dialout")) (home-directory "/home/mhw")) %base-user-accounts)) (groups (cons* (user-group (name "mhw") (id 1000)) %base-groups)) (setuid-programs (list (file-append shadow "/bin/passwd") (file-append inetutils "/bin/ping"))) ;; This is where we specify system-wide packages. (packages (cons* nss-certs ;for HTTPS access gvfs ;for user mounts cryptsetup btrfs-progs wpa-supplicant network-manager network-manager-applet (delete sudo %base-packages))) (services (cons* (console-keymap-service keymap) ;;(xfce-desktop-service) (gnome-desktop-service) (service network-manager-service-type (network-manager-configuration)) (service wpa-supplicant-service-type wpa-supplicant) ;; Desktop services follow (slim-service) ;;(screen-locker-service slock) (screen-locker-service xlockmore "xlock") (simple-service 'mtp udev-service-type (list libmtp)) ;;(avahi-service) ; I don't trust this ;;(wicd-service) ; using NetworkManager instead (udisks-service) (upower-service) (colord-service) ;;(geoclue-service) ; I don't want this (polkit-service) (elogind-service) (dbus-service) ;;(ntp-service) ; I don't trust this (modify-services (remove (lambda (svc) (eq? (service-kind svc) wicd-service-type)) %base-services) ;; This is for debugging #; (nscd-service-type config =3D> (nscd-configuration (inherit config) (debug-level 3) (log-file "/var/log/nscd.log"))) ;; I don't trust the build farm (guix-service-type config =3D> (guix-configuration (inherit config) (use-substitutes? #f) (authorized-keys '()) (substitute-urls '()) (extra-options '("--gc-keep-deriv= ations=3Dyes" "--gc-keep-outpu= ts=3Dyes"))))))) ;; Allow resolution of '.local' host names with mDNS. ;;(name-service-switch %mdns-host-lookup-nss) ; disabled for now ) --8<---------------cut here---------------end--------------->8---