From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4E6VCR/qNGPtTgEAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 02:43:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oFKkCR/qNGMgYwAA9RJhRA (envelope-from ) for ; Thu, 29 Sep 2022 02:43:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D28183A46C for ; Thu, 29 Sep 2022 02:43:10 +0200 (CEST) Received: from localhost ([::1]:57236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odhdt-00010b-N9 for larch@yhetil.org; Wed, 28 Sep 2022 20:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odhdm-0000zv-UI for bug-guix@gnu.org; Wed, 28 Sep 2022 20:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36223) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odhdm-0003wz-MM for bug-guix@gnu.org; Wed, 28 Sep 2022 20:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odhdm-0001vn-Fw for bug-guix@gnu.org; Wed, 28 Sep 2022 20:43:02 -0400 Subject: bug#41929: Missing root file system in OS leads to backtrace Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 29 Sep 2022 00:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41929 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jan Synacek Cc: 41929-done@debbugs.gnu.org Mail-Followup-To: 41929@debbugs.gnu.org, maxim.cournoyer@gmail.com, jsynacek@redhat.com Received: via spool by 41929-done@debbugs.gnu.org id=D41929.16644121767407 (code D ref 41929); Thu, 29 Sep 2022 00:43:02 +0000 Received: (at 41929-done) by debbugs.gnu.org; 29 Sep 2022 00:42:56 +0000 Received: from localhost ([127.0.0.1]:35299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odhdg-0001vP-0E for submit@debbugs.gnu.org; Wed, 28 Sep 2022 20:42:56 -0400 Received: from mail-qk1-f181.google.com ([209.85.222.181]:39564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odhdc-0001vB-VR for 41929-done@debbugs.gnu.org; Wed, 28 Sep 2022 20:42:54 -0400 Received: by mail-qk1-f181.google.com with SMTP id x18so8936929qkn.6 for <41929-done@debbugs.gnu.org>; Wed, 28 Sep 2022 17:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=eskMTS98y+4luaJL1ieQXIUVSZmttxji64CgS+4ZO74=; b=ekXrd94hT93EUQhJQcWhCzbIC7qx/1eUrnFXsz8Laj9jYFBJktLp0UeJUeD+U14zRQ XsbuBSwoW1iPn/nDo0aDMySlddR8pj7C0Vf2mgzvzCxwa0SJfEGGooHYhPhv/IIony/j uc7rKNN6lsGOJ3BBx5hAFyYmTWcnQsPxqRYKHUuubnacPbdmdiDmfYBdkiu3ECeHc2Gq WioyK1Py1+Tz8IlboGe4fvrDZ9PFsCbfYZw46Hnz1YCna12cCK92kXk0EPcSp4vJVVnk 2x430tuWtq//hu5fqsHDDAxJbk0jA+oqQUT1cS9NaDEBgquyHNV4vTdvCBSZrno4zIpK pU1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=eskMTS98y+4luaJL1ieQXIUVSZmttxji64CgS+4ZO74=; b=C92N2WcRNPyjHlhR7hkiXo+j4RniG6u2K+CwrOa6/U8EL4cqh8G1ZZ4UuzVDcGRkx0 ZzYFN52Ho3M4ClEn+kvlT3etVxiExo2b/WqlzFRcYNXgoi49AjHqj24w1tS42arOcWvd VsO627rOkgvsDVc3UHPJqVRdtRlJrRZ+kjDx+GFDw2VJmRX42StIQKLlbHr5VhIZ1eMK EWODicJq4tj6Iqf1Y8Y1pBWAchE4vM/947CvJ2+xfiedoTTvpgpF8wUG1hAYvQquswx7 g2udqBN+fx7Q7qS1oGzgVNoabro3V8J5LU4h017fCdvkwWYbRoRzqZDi9iV6NOXCQi19 znAA== X-Gm-Message-State: ACrzQf02B14lFF06+5FH9OWMm66R3ta0jIRGmCL1v/2Vvh/aspqfkZFH 05Lke1A6msHGCqHAamRZ0UlFRCTDDZfgew== X-Google-Smtp-Source: AMsMyM6qAM+vL7luBy7Er2vQJyBeEVBXuzwZSrAfqwrj8khNut5m1YV9ljOStbyHdiBShYpnZC/jRg== X-Received: by 2002:a05:620a:bc5:b0:6ce:bc87:9253 with SMTP id s5-20020a05620a0bc500b006cebc879253mr577978qki.486.1664412167253; Wed, 28 Sep 2022 17:42:47 -0700 (PDT) Received: from hurd (dsl-148-95.b2b2c.ca. [66.158.148.95]) by smtp.gmail.com with ESMTPSA id gb11-20020a05622a598b00b0034035e73be0sm3867947qtb.4.2022.09.28.17.42.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 17:42:46 -0700 (PDT) From: Maxim Cournoyer References: Date: Wed, 28 Sep 2022 20:42:46 -0400 In-Reply-To: (Jan Synacek's message of "Thu, 18 Jun 2020 09:29:24 +0200") Message-ID: <87bkqzovsp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664412190; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=eskMTS98y+4luaJL1ieQXIUVSZmttxji64CgS+4ZO74=; b=bneEws6mjW+SMEfjabjyDlYgutVI74URZJrlHFVLJ/ezclZ6Ijb3yONL9pe/sS7WifmTRl V8EaKoTsLIFMbsXb/vvOIMQlE5riMufiyfXwzTfbAsTqVW0h/o5rOJ/nPdoGZRlFs/Na7P E7goNqTDSrOBjdeBxvzEUa+trsRJNqeBx/kkMTDc1ViEZMXEJkGHsV9nAw3gOhqpg8eJdd 9RweGKmShslKbHZo8HYUC+kRTZMI2bduXZuuRL8kGJ5nupQmyHPisPFRi3xdlILkXQ1952 io02+xI/XpeQhEYqyX+j3mri2lezh7v1VCqQkdmLkUs4ZirBI2rbpFR8ufMBmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664412190; a=rsa-sha256; cv=none; b=fZySU2d9QXWJoyq64i0k9+qg8+DFVZlMYDu+A5Tc4U958HuyOvgrIMpRTCMxodLo7lsFmi ny0CTsTlOLdUD/fvA+VQrRJzWIGBpb0QmvYYCYqkD/xarBDtdV+4nhsVwxXPXPMprT+63x qx0CXIAgNWwOJbeFVQsqtlsSgze21oPUiF/+qG09UP2pz04h0X4rAXPhHWb+OS+hb2IUQn AQWwIQyQILyR9Tvc+4oex0Kefys0zhjxOWJl6PDaJHlItCtgNS66nUYoEGoKEVKvkvZPdX 4hwX/0cWzmJcMvlX6qOK/zfoq40c8TbFw04Fdplv0Eczsz0p3n/7+QUuDLemvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ekXrd94h; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ekXrd94h; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D28183A46C X-Spam-Score: 7.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: VZyjezktW93k Hi, Jan Synacek writes: > $ cat guix-os.scm > (use-modules (gnu bootloader) > (gnu bootloader grub) > (gnu system file-systems)) > > (operating-system > (host-name "jsynacek-guix-os") > (timezone "Europe/Prague") > (locale "en_US.utf8") > (bootloader > (bootloader-configuration > (bootloader grub-efi-bootloader) > (target "/dev/sdx"))) > (file-systems > (list (file-system (mount-point "/home") > (device "/dev/sda33") > (type "ext4"))))) > > $ guix system build guix-os.scm > Backtrace: > In ice-9/boot-9.scm: > 1736:10 4 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) > In unknown file: > 3 (apply-smob/0 #) > In ice-9/boot-9.scm: > 718:2 2 (call-with-prompt _ _ #) > In ice-9/eval.scm: > 619:8 1 (_ #(#(#))) > In guix/ui.scm: > 1936:12 0 (run-guix-command _ . _) > > guix/ui.scm:1936:12: In procedure run-guix-command: > In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f > > Note that 'guix system init ...' and maybe other commands don't work > too. 'guix system vm' with the above config file works without a > backtrace. > > This is on guix 1.1.0 running on Fedora 32. I also tried to 'guix pull' > but the result is the same. Not reproducible using the latest Guix: --8<---------------cut here---------------start------------->8--- $ guix system build /tmp/os.scm /tmp/os.scm:12:14: warning: the 'target' field is deprecated, please use 'targets' instead /tmp/os.scm:5:0: error: missing root file system --8<---------------cut here---------------end--------------->8--- Closing. Thanks! Maxim