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 KOZpMneR/V6vLQAA0tVLHw (envelope-from ) for ; Thu, 02 Jul 2020 07:49: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 eNY8LneR/V52cAAAB5/wlQ (envelope-from ) for ; Thu, 02 Jul 2020 07:49: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 11D15940215 for ; Thu, 2 Jul 2020 07:49:10 +0000 (UTC) Received: from localhost ([::1]:50456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqty0-0006cS-Is for larch@yhetil.org; Thu, 02 Jul 2020 03:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqtxu-0006cF-1u for bug-guix@gnu.org; Thu, 02 Jul 2020 03:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqtxt-0007Rs-PO for bug-guix@gnu.org; Thu, 02 Jul 2020 03:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqtxt-00057u-Mf for bug-guix@gnu.org; Thu, 02 Jul 2020 03:49: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: Thu, 02 Jul 2020 07:49: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.159367611719675 (code B ref 42161); Thu, 02 Jul 2020 07:49:01 +0000 Received: (at 42161) by debbugs.gnu.org; 2 Jul 2020 07:48:37 +0000 Received: from localhost ([127.0.0.1]:54326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqtxU-00057H-PZ for submit@debbugs.gnu.org; Thu, 02 Jul 2020 03:48:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqtxS-000574-AX for 42161@debbugs.gnu.org; Thu, 02 Jul 2020 03:48:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56889) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqtxM-0007O7-L6; Thu, 02 Jul 2020 03:48:28 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52460 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jqtxM-00036O-4J; Thu, 02 Jul 2020 03:48:28 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200702064045.13d48e76@primarylaptop.localdomain> Date: Thu, 02 Jul 2020 09:48:26 +0200 In-Reply-To: <20200702064045.13d48e76@primarylaptop.localdomain> (Denis Carikli's message of "Thu, 2 Jul 2020 06:40:45 +0200") Message-ID: <87v9j6tl11.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: -1.01 X-TUID: sdg0a0DnXqR4 Hello, Denis 'GNUtoo' Carikli skribis: > When doing guix system system.scm /path/to/empty/directory, I have the > following error message: > >> # guix system --verbosity=3D99 --debug=3D99 --no-bootloader init >> system.scm /srv/distros/guix/ guile: warning: failed to install locale >> acquiring global GC lock `/var/guix/gc.lock' >> acquiring read lock on `/var/guix/temproots/14408' >> acquiring write lock on `/var/guix/temproots/14408' > [...] >> acquiring write lock on `/var/guix/temproots/14408' >> downgrading to read lock on `/var/guix/temproots/14408' >> 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 Ah, I think it=E2=80=99s a longstanding bug having to do with =E2=80=98--de= bug=E2=80=99 for levels greater than 4 or something. In general, I recommend not using =E2=80=98--debug=E2=80=99: it=E2=80=99s r= arely of any use, even for someone working on Guix (but I reckon it=E2=80=99s logical to give= it a try when you=E2=80=99re trying to debug something!). Perhaps we should just rename it to =E2=80=98--daemon-debug=E2=80=99 or something. If you=E2=80=99re having troubles building your system, I=E2=80=99d try bui= lding with =E2=80=98-v3=E2=80=99 (verbose mode) for example, or =E2=80=98--on-error=3D= debug=E2=80=99 if the problem is in your =E2=80=98system.scm=E2=80=99 file. > so I'm probably doing something wrong here as I'm probably not supposed > to abuse guix system init to create chroots for lxc. I=E2=80=99m not familiar with lxc, but it looks like it should work. HTH! Ludo=E2=80=99.