From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 02 01:23:28 2020 Received: (at submit) by debbugs.gnu.org; 2 Jul 2020 05:23:28 +0000 Received: from localhost ([127.0.0.1]:54165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqrh0-0001UT-BR for submit@debbugs.gnu.org; Thu, 02 Jul 2020 01:23:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:57104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqrAR-0000YD-7H for submit@debbugs.gnu.org; Thu, 02 Jul 2020 00:49:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqrAQ-0003LG-Ug for bug-guix@gnu.org; Thu, 02 Jul 2020 00:49:46 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1]:46248 helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1jqrAO-000299-RP for bug-guix@gnu.org; Thu, 02 Jul 2020 00:49:46 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 6c2b75ff for ; Thu, 2 Jul 2020 04:46:30 +0000 (UTC) Received: from primarylaptop.localdomain (localhost.localdomain [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id 164b03c2 for ; Thu, 2 Jul 2020 04:46:30 +0000 (UTC) Date: Thu, 2 Jul 2020 06:40:45 +0200 From: Denis 'GNUtoo' Carikli To: bug-guix@gnu.org Subject: Confusing '' error message Message-ID: <20200702064045.13d48e76@primarylaptop.localdomain> 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_/=R=BQSKEJCZzYu=RvGg2qLs"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 02 Jul 2020 01:23:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --Sig_/=R=BQSKEJCZzYu=RvGg2qLs Content-Type: multipart/mixed; boundary="MP_/1rBLm3DX+d880FevLv4k/vZ" --MP_/1rBLm3DX+d880FevLv4k/vZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, 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 so I'm probably doing something wrong here as I'm probably not supposed to abuse guix system init to create chroots for lxc. However the issue is that there is no clear error message nor backtrace telling me what exactly is wrong here. I don't even have a line in my file that tells me what line is wrong. I've attached the system.scm used for reference. Denis. --MP_/1rBLm3DX+d880FevLv4k/vZ Content-Type: text/x-scheme Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=system.scm (use-modules (gnu)) (use-service-modules networking ssh) (use-package-modules irc screen ssh tor) (operating-system (host-name "test") (timezone "Europe/Paris") (locale "en_US.utf8") (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sdX"))) (file-systems %base-file-systems) (users (cons (user-account (name "irssi") (group "users") (home-directory "/home/irssi")) %base-user-accounts)) (packages (cons* irssi openssh screen tor %base-packages )) (services (cons* (service dhcp-client-service-type) (service openssh-service-type (openssh-configuration (port-number 222) (permit-root-login #t) ; No passwords logins (password-authentication? #f) (challenge-response-authentication? #f) (use-pam? #f) ) ) ; (service tor-service) ; (service tor-hidden-service ((222 "127.0.0.1:222")) ) %base-services))) --MP_/1rBLm3DX+d880FevLv4k/vZ-- --Sig_/=R=BQSKEJCZzYu=RvGg2qLs Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAl79ZU0ACgkQX138wUF3 4mPLRBAApwv/nT//Wp+Sd23Oxghfsa61PETp+1KQawYzuhhMPTyJ4zODjCt1yi/y VkFCZhm9u7quOudBxG2HBL/92TD1/RZ5RB8k5wBJnYrxzf9wRzPpEtjfaF2mJpPi T2y2KjJVtNidZFzm9cQDTOdriP+UC1CKCm71Yq3iS3mOGG08LDH4XFaa+cCIGSlU Rdr1aS/SMxgIX9Xs8MMQMLBFR01BFYt960Fi6/jpcOHM0hV+s5+sdjo2RDqWx5Qq 9SaHWUO2xCqNd4eOXByTPXuIxyeROdaPBS1qU3MfUJhJwCS+SGAwVFX0vLDT5B5I BoPuOYsEr5IQOMHZCzal1ORreLfnBHTjKZMQA7iKAUO1HaBZyc3bpnoKI1C6quWy vX2oPuCmqdVpikSnu75mPS+NvDysZimt6bbsBcW94BNl4qe3t2QzqRQDh++p/x6i 8MR0CkPsn6dVPTnNE09g+3ge59qs5/X6mGp6HA9wgpItBqsBpOjEt516eAHsVGW5 iqeSt0ygkqivsJGb+Mw2yI5Zj5SyabgCDam8XogdxTNy7JKm5g1g7mUGI14rJ9G7 dGtZsTSMSx71lQMDYDtAl4ldWoSacM4RXH2qSBhcs1ko09mJAXlikZDT1QYF4cJt Vgl2GZIZ/ZVDePPMq4QAZ5Ar8j8HuNT7/arPNcpQFHd7ghDUPO8= =74PI -----END PGP SIGNATURE----- --Sig_/=R=BQSKEJCZzYu=RvGg2qLs-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 02 03:48:37 2020 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Denis 'GNUtoo' Carikli Subject: Re: bug#42161: Confusing '' error message 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-Debbugs-Envelope-To: 42161 Cc: 42161@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 03 00:41:13 2020 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 To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Subject: Re: bug#42161: Confusing '' error message 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-Debbugs-Envelope-To: 42161 X-Mailman-Approved-At: Fri, 03 Jul 2020 00:41:12 -0400 Cc: 42161@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --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-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 14 19:57:38 2020 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Denis 'GNUtoo' Carikli Subject: Re: bug#42161: Confusing '' error message 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-Debbugs-Envelope-To: 42161 Cc: 42161@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 15 06:06:49 2020 Received: (at control) by debbugs.gnu.org; 15 Jul 2020 10:06:49 +0000 Received: from localhost ([127.0.0.1]:52179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jveJN-0006sf-I9 for submit@debbugs.gnu.org; Wed, 15 Jul 2020 06:06:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jveJI-0006sN-MN for control@debbugs.gnu.org; Wed, 15 Jul 2020 06:06:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54684) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jveJD-0003wV-Gq for control@debbugs.gnu.org; Wed, 15 Jul 2020 06:06:39 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41936 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jveJD-0003HQ-4f for control@debbugs.gnu.org; Wed, 15 Jul 2020 06:06:39 -0400 Date: Wed, 15 Jul 2020 12:06:37 +0200 Message-Id: <871rldks7m.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #42161 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) retitle 42161 Confusing 'guix system' backtrace when root file system is missing quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 10 14:26:30 2021 Received: (at 42161-done) by debbugs.gnu.org; 10 Jan 2021 19:26:30 +0000 Received: from localhost ([127.0.0.1]:54977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kygMA-0004M5-9O for submit@debbugs.gnu.org; Sun, 10 Jan 2021 14:26:30 -0500 Received: from mail-io1-f49.google.com ([209.85.166.49]:41607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kygM8-0004Lq-Nj for 42161-done@debbugs.gnu.org; Sun, 10 Jan 2021 14:26:29 -0500 Received: by mail-io1-f49.google.com with SMTP id q1so1142114ion.8 for <42161-done@debbugs.gnu.org>; Sun, 10 Jan 2021 11:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=+ppVZrRIJVA8Dfc9mgfmGiON/2a0KYWvK4A7Iro9ths=; b=VYgKp4dXg+Yhw6lA2nJKQdiauD+pZz20YLAAQGbL1yVp7ktWODExMe3OEHb0ySojYT V4JaslkLeq3y4RNL624O9EONM/L+Wk3/B8aYgxGUnZjv/U9wOwozmrHlfwpsx4QtAbv5 ZCkcB343hUiQ2mrnvgn3azfvGgabjEw1PjIP70trGNccRKvnp6mKhv0umUEAA1RRv41r EERfi3sbofh6h+cmNsJrv4phGWKBu9FyShyMCzIjIeGt5SweyilThuco5l1pkTU+8Hom XvRmhGuw2lCa+RbbaXYNVVPY3I9Kzn0Ws6W70aGjt64Sk4aQeuVKu3oqe04d+jZqOXr6 TKkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=+ppVZrRIJVA8Dfc9mgfmGiON/2a0KYWvK4A7Iro9ths=; b=NIIezOsDKGoG3wSzs3Mb94+Sz3vbRBIU0PXNDH77erSzSUeRRxnpSVShSTXgVR+Sno +rN/OBUsntOS3UVPDqHQRNoIgbXgHVyGEvg8ykNCY34RA9m5FGjcBreeaupELUZ+rQ2o ipaX+QY8DAK4puPXKHOMFvymqzyMwrmDc9LGq8pcDpvfumTqtWoIYRIh8IuDCEmaEHcb 7jcF5WTBPvFSmlwJavgfUiTELIXjrtFURFoaPrUlSUjW28uHhhkE4hEagTfBEU3emezA QJ5y9FJY18XujuBEB68KyGJuodsowmxwvZgLox1ytmNpsj6eZ9n5lAqn4uu/WsDQd0Z7 ayVQ== X-Gm-Message-State: AOAM532lbUsrcDR+WTimy5+5lTC3w196z7NL0gLV0LnyTwIsuQi1RiNm hxqajK5I3N65E4Lss5x8YImNIehFne4= X-Google-Smtp-Source: ABdhPJzPWAcBR0+rJa1lmQ9CX5u445XTlkn74qsIkN5MwjNm9Hme/XfqZXKwM1Mgt3ldGAoPCYv/wQ== X-Received: by 2002:a02:5581:: with SMTP id e123mr11628519jab.98.1610306783071; Sun, 10 Jan 2021 11:26:23 -0800 (PST) Received: from hurd (dsl-205-233-124-188.b2b2c.ca. [205.233.124.188]) by smtp.gmail.com with ESMTPSA id b82sm14213168ilg.44.2021.01.10.11.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jan 2021 11:26:22 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#42161: Confusing 'guix system' backtrace when root file system is missing References: <20200702064045.13d48e76@primarylaptop.localdomain> <87v9j6tl11.fsf@gnu.org> <20200703015335.728becb2@primarylaptop.localdomain> <87365tlkfa.fsf@gnu.org> Date: Sun, 10 Jan 2021 14:26:21 -0500 In-Reply-To: <87365tlkfa.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 15 Jul 2020 01:57:13 +0200") Message-ID: <875z4461b6.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42161-done Cc: 42161-done@debbugs.gnu.org, Denis 'GNUtoo' Carikli X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Ludovic, Ludovic Court=C3=A8s writes: > 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 spec= ify 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 t= he 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= error message is > printed in this case. It seems you've addressed the problem thoroughly, thank you! Closing, Maxim From unknown Thu Aug 14 22:21:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Feb 2021 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator