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 uPU8Lnxv/V49FAAA0tVLHw (envelope-from ) for ; Thu, 02 Jul 2020 05:24:12 +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 uGMZKnxv/V5WDwAAB5/wlQ (envelope-from ) for ; Thu, 02 Jul 2020 05:24:12 +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 13FD1940704 for ; Thu, 2 Jul 2020 05:24:11 +0000 (UTC) Received: from localhost ([::1]:40162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqrhh-00040V-Gy for larch@yhetil.org; Thu, 02 Jul 2020 01:24:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqrha-00040N-5k for bug-guix@gnu.org; Thu, 02 Jul 2020 01:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42619) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqrhZ-0003Ye-T0 for bug-guix@gnu.org; Thu, 02 Jul 2020 01:24:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqrhZ-0001VQ-PF for bug-guix@gnu.org; Thu, 02 Jul 2020 01:24:01 -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: Thu, 02 Jul 2020 05:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42161 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42161@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15936674085738 (code B ref -1); Thu, 02 Jul 2020 05:24:01 +0000 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 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-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 X-Spam-Score: -2.4 (--) 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-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: dLVwk7NE7VaC --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--