From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6AeZF5NGDl9ldQAA0tVLHw (envelope-from ) for ; Tue, 14 Jul 2020 23:58:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MIhwE5NGDl+GbAAAB5/wlQ (envelope-from ) for ; Tue, 14 Jul 2020 23:58:11 +0000 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 C74E09403C7 for ; Tue, 14 Jul 2020 23:58:10 +0000 (UTC) Received: from localhost ([::1]:40778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvUoK-0004Wh-Fi for larch@yhetil.org; Tue, 14 Jul 2020 19:58:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvUoE-0004WX-0x for bug-guix@gnu.org; Tue, 14 Jul 2020 19:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jvUoD-0000dY-Nk for bug-guix@gnu.org; Tue, 14 Jul 2020 19:58:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jvUoD-0000bD-Mb for bug-guix@gnu.org; Tue, 14 Jul 2020 19:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42161: Confusing '' error message Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Jul 2020 23:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Denis 'GNUtoo' Carikli Received: via spool by 42161-submit@debbugs.gnu.org id=B42161.15947710582255 (code B ref 42161); Tue, 14 Jul 2020 23:58:01 +0000 Received: (at 42161) by debbugs.gnu.org; 14 Jul 2020 23:57:38 +0000 Received: from localhost ([127.0.0.1]:51798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvUno-0000aF-KZ for submit@debbugs.gnu.org; Tue, 14 Jul 2020 19:57:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jvUne-0000Zi-4C for 42161@debbugs.gnu.org; Tue, 14 Jul 2020 19:57:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43404) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvUnY-0000JH-CA; Tue, 14 Jul 2020 19:57:20 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41480 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jvUnW-00046q-JJ; Tue, 14 Jul 2020 19:57:19 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200702064045.13d48e76@primarylaptop.localdomain> <87v9j6tl11.fsf@gnu.org> <20200703015335.728becb2@primarylaptop.localdomain> Date: Wed, 15 Jul 2020 01:57:13 +0200 In-Reply-To: <20200703015335.728becb2@primarylaptop.localdomain> (Denis Carikli's message of "Fri, 3 Jul 2020 01:53:34 +0200") Message-ID: <87365tlkfa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42161@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: vEnwYOQw9rJz Hi, Denis 'GNUtoo' Carikli skribis: > And again I've the same error: >> guix system --on-error=3Ddebug -v3 --no-bootloader init system.scm >> /mnt/ guile: warning: failed to install locale >> Backtrace: >> 1 (primitive-load "/root/.config/guix/current/bin/guix") >> In guix/ui.scm: >> 1949:12 0 (run-guix-command _ . _) >>=20 >> guix/ui.scm:1949:12: In procedure run-guix-command: >> In procedure struct-vtable: Wrong type argument in position 1 >> (expecting struct): #f > > Is that part of my system.scm really correct: >> (file-systems %base-file-systems) > > I hope that I'm not polluting bugreports for issues that I'm responsible > of, but I don't have enough knowledge to know that in advance, and I > was advised to bugreport on #guix IRC channel. Sorry for taking so long to get back to you. You were right: the root cause here is that the =E2=80=98file-systems=E2=80=99 field does not specif= y a root file system. Could you add one and let me know how it goes? I=E2=80=99ve done two things to improve the situation: 1. Commit a168c3e4f8d580f70e1c26bcdfc5b8378b2fa42d fixes a longstanding issues where we=E2=80=99d get useless backtraces like the= one above in such circumstances. 2. Commit d7e9e0bbc9aadec3e1830767a8771bfbe9c43155 changes =E2=80=98guix system=E2=80=99 so that a =E2=80=9Cmissing root file system=E2=80=9D e= rror message is printed in this case. Thanks, Ludo=E2=80=99.