From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6MSrLii3/l5gGAAA0tVLHw (envelope-from ) for ; Fri, 03 Jul 2020 04:42:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uCtMKii3/l4+egAA1q6Kng (envelope-from ) for ; Fri, 03 Jul 2020 04:42:16 +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 5ACED9403C6 for ; Fri, 3 Jul 2020 04:42:16 +0000 (UTC) Received: from localhost ([::1]:47762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrDWh-0004IC-BW for larch@yhetil.org; Fri, 03 Jul 2020 00:42:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrDWV-0004Gt-0J for bug-guix@gnu.org; Fri, 03 Jul 2020 00:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jrDWU-0002Vm-Nx for bug-guix@gnu.org; Fri, 03 Jul 2020 00:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jrDWU-0006pc-MT for bug-guix@gnu.org; Fri, 03 Jul 2020 00:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42161: Confusing '' error message Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 03 Jul 2020 04:42:02 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 42161-submit@debbugs.gnu.org id=B42161.159375127326145 (code B ref 42161); Fri, 03 Jul 2020 04:42:02 +0000 Received: (at 42161) by debbugs.gnu.org; 3 Jul 2020 04:41:13 +0000 Received: from localhost ([127.0.0.1]:56107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jrDVh-0006nb-0I for submit@debbugs.gnu.org; Fri, 03 Jul 2020 00:41:13 -0400 Received: from cyberdimension.org ([80.67.179.20]:42346 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jr99c-000878-SV for 42161@debbugs.gnu.org; Thu, 02 Jul 2020 20:02:10 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id bd3fab94; Thu, 2 Jul 2020 23:58:49 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 727080b4; Thu, 2 Jul 2020 23:58:49 +0000 (UTC) Date: Fri, 3 Jul 2020 01:53:34 +0200 From: Denis 'GNUtoo' Carikli Message-ID: <20200703015335.728becb2@primarylaptop.localdomain> In-Reply-To: <87v9j6tl11.fsf@gnu.org> References: <20200702064045.13d48e76@primarylaptop.localdomain> <87v9j6tl11.fsf@gnu.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/j_isr8cLbUcC_j10IUp8ke1"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Fri, 03 Jul 2020 00:41:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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.11 X-TUID: pPqdQ5SJnW27 --Sig_/j_isr8cLbUcC_j10IUp8ke1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 02 Jul 2020 09:48:26 +0200 Ludovic Court=C3=A8s wrote: > Hello, Hi, > If you=E2=80=99re having troubles building your system, I=E2=80=99d try b= uilding with > =E2=80=98-v3=E2=80=99 (verbose mode) for example, or =E2=80=98--on-error= =3Ddebug=E2=80=99 if the problem > is in your =E2=80=98system.scm=E2=80=99 file. Here's with -v3 > # guix system -v3 --no-bootloader init system.scm /srv/distros/guix/ > 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 And with -v3 and --on-error=3Ddebug: > # guix system --on-error=3Ddebug -v3 --no-bootloader init system.scm > /srv/distros/guix/ 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 In both cases it doesn't point to my system.scm, so I'm trying to start suspecting that the issue is somewhere else. Though you need to keep in mind that I just read the Scheme crashcourse from the GuiX cookbook days ago, so I'm really far from being fluent in Scheme. > > so I'm probably doing something wrong here as I'm probably not > > supposed to abuse guix system init to create chroots for lxc. >=20 > I=E2=80=99m not familiar with lxc, but it looks like it should work. In a nutshell I'm trying to install GuiX: - without a bootloader - in a directory that isn't the root of a filesystem I've tried also on /mnt which is backed by a partition: > /dev/sdb4 on /mnt type ext4 (rw,relatime) 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. Denis. --Sig_/j_isr8cLbUcC_j10IUp8ke1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAl7+c38ACgkQX138wUF3 4mO1vw/+OibJ2YnWV3kyJllfpWzrSDavbpMLUHXtF7keNiTxjgaydxH0K5vsnpkJ 9QidwXUEcV9/sxDnN8w7obGgCE1qQtkzmzYsGoikgm7bll1OUq3XL80H1SOBAjG2 A80lvZBCSzm8Bi9MtkpaFT+/11j9hGqwqOIHLSN8JCdIhZTSYVKLQiqD5Bm5aDbg AEVKK+8Xl1oHGvpevsP+yns2AyhbTPNnyk2HSAL65HsgGFtfL5vzZ4BevVJ2Vn+6 KV9+7uc5flGINm9yE/yM/wQssrD/9WCpEqIIzrcSKuUL7L1QC6fMYUEooGHEJ2cE e1901oNlwUidJBZdcmfo9FdWlNIglVdf83QL6MufS8uqf4AioIs4LEtO8B7lPGls cNhEqtJyQlrqHFiCvQl2f0fvmCCzC7MVQzWKus35g4yRFCO9mWkStzGlwLOWSm3v L69ZenCBHEU4I5ecqEwdrK5/UzRVQjXCgI/SrCp5V2m32rBCeVnDNCw2mMCeotSm tpZ2AM5eCa7G8SlIIFNMVsa9nT8kk0W9fa8OIec+bNgh5DmYE3VzNFx8paTLgvuX kvObirNIUXzh8zD4JoipBNr0uW8K7r+sL3IAnYt0u2vGcNDJWLBUoQn19lHcfFgi QiHjjEKlKlXDl/j/43yVGrr3qgwNZpV/XoY9yNllU4GVRKExanA= =rBYn -----END PGP SIGNATURE----- --Sig_/j_isr8cLbUcC_j10IUp8ke1--