From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +DIJIdqsIGO/kwAAbAwnHQ (envelope-from ) for ; Tue, 13 Sep 2022 18:16:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yIVBINqsIGPm4gAAG6o9tA (envelope-from ) for ; Tue, 13 Sep 2022 18:16:26 +0200 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 C38F420984 for ; Tue, 13 Sep 2022 18:16:25 +0200 (CEST) Received: from localhost ([::1]:60042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY8aG-0004de-6j for larch@yhetil.org; Tue, 13 Sep 2022 12:16:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY8Zv-0004bO-W3 for bug-guix@gnu.org; Tue, 13 Sep 2022 12:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oY8Zu-0003g5-PP for bug-guix@gnu.org; Tue, 13 Sep 2022 12:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oY8Zu-0001T4-GV for bug-guix@gnu.org; Tue, 13 Sep 2022 12:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57775: guix shell --root fails Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Sep 2022 16:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57775 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57775@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16630857545589 (code B ref -1); Tue, 13 Sep 2022 16:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Sep 2022 16:15:54 +0000 Received: from localhost ([127.0.0.1]:52757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY8Zl-0001S4-OZ for submit@debbugs.gnu.org; Tue, 13 Sep 2022 12:15:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:38726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oY8Zh-0001Ru-Ep for submit@debbugs.gnu.org; Tue, 13 Sep 2022 12:15:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY8ZS-0004PY-E6 for bug-guix@gnu.org; Tue, 13 Sep 2022 12:15:44 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY8ZK-0003UW-ND for bug-guix@gnu.org; Tue, 13 Sep 2022 12:15:30 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1663085720; cv=none; d=zohomail.com; s=zohoarc; b=jQE547euyKcjC3PZxunphgPK0ao4Zn6uP1oepciPK7hpWcjWMthTrHoOGG+/hHb7UD/Qg64GJK1GTOEVEXt0Pu0h8WWAgaDT5fQnVqW7vKZ/p05Qv2v30SrkR5geSSmlIwfAf1lI5AV0rvPn+d7VdTH1DsS8h94GJ709I+Dl4Y0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663085720; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=G+8Rz3y2HDAah2AXGE7mMbVehBpGOZYnTGVzMTMQJAU=; b=m5QiDowVEpw/GRI0healU0rFHQNSH6675VkccYkac86fkLUtyssmsUvggIL+07CgPHX9/vS9bMFOvz4aq9OUfcdI1kv+MSNrRp01MNUY4DX1E4U0wONE0Tuxwwwd7fYAKq7txkCCKAtoVH+Y/yzqBMcqEpEIDSBkfaffA/QwoRI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1663085720; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=G+8Rz3y2HDAah2AXGE7mMbVehBpGOZYnTGVzMTMQJAU=; b=Qz8zMkBqTY8JqRgGpTO08/PwKCN+6rPKxcfa7gZXtLseqPuwzn6RdnWmGYBIC2hP YFjdJifRJ0vYR7dsF2+jsD9BFaztUKLVYxnwV1w8L7v3/mz8RdM9lU0tQeoRrxaUm+X z3ZEM/CS/p2U2n++O1tNwU8dwg3to/L7cPhLwUeo= Received: from localhost (112-111-142-46.pool.kielnet.net [46.142.111.112]) by mx.zohomail.com with SMTPS id 1663085717135768.1397528542452; Tue, 13 Sep 2022 09:15:17 -0700 (PDT) User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus Date: Tue, 13 Sep 2022 18:14:19 +0200 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87wna7l08d.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663085786; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=G+8Rz3y2HDAah2AXGE7mMbVehBpGOZYnTGVzMTMQJAU=; b=NfNvyCbVwoDR3vDjoQliA0zUqrL/I6JeaT5kqjO2igmEvz9cmw0r80NzpQzPEu9Z79aEXE SVqq0BpBIGRN4eI+V6gJFwvqC0/XQTAbF+xrOYaCO0zTm7IEdo2qiAjcxKHUPBEdsLC/sZ rF1E1+Pqo7ZVjWo1L3fwfimKNx/thOaJiI8gsG+u59961PLz8LB9VwTHOcpO/70IA7cDoI +/S178YqFG6qsnm9tq6xAWNv9WGMmuuGlAy7RCqrtmJ7PHZ3Al7H9bFcj9mGUxD73jT30K wJPd+IL/omDfiWs0IsVfecX8IY/BL3rsEaDOBkmiP7JcQH8XmQceEAGrZohLsA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1663085786; a=rsa-sha256; cv=fail; b=ey7A45viOH804MGJzbNPuhJDr2PgkFAZLTINCUDg44L27ci+Tzqo6mAnQ0mSC6sj6lYdnQ Jt8MEd+AcpAerGqkagViBwLcB/OHH2uIha68XGUwO1Ru7SfP39q/Nsotw0kPdSXwz+tq9E RRF6rrVyoSOrjAnBCgYaJ1ZhbyAWGe3vdgOumEODQPz1ACZmB3fvKzX7BQGOQDOwLCLu4/ FTmsW78NRJ++3DpMFC3lfIYA4GIgBx+j/hLGMdpc9QWVm3b/LF6Fgs/Lc17z6z6uDrVl8v Dh/JE6OVLODf9UewJmq6TQqIcpPDC+1iX0jNSxCRJzpqv1BkhU8QO46uYbjOSA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=Qz8zMkBq; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=Qz8zMkBq; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C38F420984 X-Spam-Score: 1.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6QgzaUOqmyDW This fails on the first try: --8<---------------cut here---------------start------------->8--- $ guix shell -D -f guix.scm --root=env-test Backtrace: 10 (primitive-load "/home/rekado/.config/guix/current/bin/guix") In guix/ui.scm: 2238:7 9 (run-guix . _) 2201:10 8 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/status.scm: 815:4 6 (call-with-status-report _ _) In guix/scripts/environment.scm: 946:13 5 (_) In guix/store.scm: 2168:25 4 (run-with-store #f # #:guile-for-build _ #:system _ # _) In guix/scripts/environment.scm: 963:16 3 (_ _) In guix/store.scm: 2040:38 2 (_ #f) 1475:0 1 (add-indirect-root #f "/home/rekado/dev/pigx/pigx_bsseq/env-test") In ice-9/boot-9.scm: 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: In procedure struct-vtable: Wrong type argument in position 1 (expecting struct): #f --8<---------------cut here---------------end--------------->8--- On the second try it does work and links the profile to ./env-test. -- Ricardo