From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 KBdVB3S9uWLxrAAAbAwnHQ (envelope-from ) for ; Mon, 27 Jun 2022 16:23:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2LhYB3S9uWI/0AAA9RJhRA (envelope-from ) for ; Mon, 27 Jun 2022 16:23:48 +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 A71CB192D3 for ; Mon, 27 Jun 2022 16:23:47 +0200 (CEST) Received: from localhost ([::1]:34534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o5peT-0003X8-DL for larch@yhetil.org; Mon, 27 Jun 2022 10:23:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5pdn-0003Ua-87 for bug-guix@gnu.org; Mon, 27 Jun 2022 10:23:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5pdm-0001UA-PV for bug-guix@gnu.org; Mon, 27 Jun 2022 10:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o5pdm-0002mQ-MJ for bug-guix@gnu.org; Mon, 27 Jun 2022 10:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51466: bug#53355: bug#51466: bug#53355: guix shell --check: confusing error message Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Jun 2022 14:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51466 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 53355@debbugs.gnu.org, Chris Marusich , 51466@debbugs.gnu.org Received: via spool by 51466-submit@debbugs.gnu.org id=B51466.165633977810644 (code B ref 51466); Mon, 27 Jun 2022 14:23:02 +0000 Received: (at 51466) by debbugs.gnu.org; 27 Jun 2022 14:22:58 +0000 Received: from localhost ([127.0.0.1]:52952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5pdi-0002lb-C7 for submit@debbugs.gnu.org; Mon, 27 Jun 2022 10:22:58 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:43380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5pdg-0002lL-OK; Mon, 27 Jun 2022 10:22:57 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 357A561982; Mon, 27 Jun 2022 14:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1656339771; bh=/DS8GQv1lVbNd+mwQyXBv50kfZT099/d5DhXerAEr7o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kPR1VE9/TnDQDzCC2Vc08GoVXzrmeYFDerzVIi6gc41CGodbZFpeIjtEmrhLZf9Vp 3OVMAUIfdcWvJaZKXHjgHafBpKToFVyI5txfMtEcO8dJAWxfbkLCpVW3ufjQX1MAmy QDVWD+3f+LpRmoIdhSVuhVQbq8wZIJ3rlanoWOx/rm4IBM/zLaRlmNWUk7qjkgoRB+ dj4eEFwEQ+KG0kg3zzkVCW5wlmbCfmNLNvPSZU439iRPNkR21IdfXSdEyTmBM0Zq18 HQ6ZlQHzSdUU5tah9Nba9jlqYfw0mfDN2VuVKi1HKFmURcLlKsH4X1Azquvr0hdSF+ 2IHZeZJk1q6tQ== X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d6Ghaey34i0f; Mon, 27 Jun 2022 14:22:51 +0000 (UTC) Received: from localhost (m90-129-205-252.cust.tele2.se [90.129.205.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 6361761884; Mon, 27 Jun 2022 14:22:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1656339770; bh=/DS8GQv1lVbNd+mwQyXBv50kfZT099/d5DhXerAEr7o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=H3j3eatWlHvGQrebEtt3F89w6lE/T0kk4c/CXfJX0XdgcK2WUSUnV8blj9LDwwfyo C8baLyMG2Z7b/OlJC9xWFxeNBPp9Gs7q4MnIq0uVXIaQDnyrUFxUG9qMKQ0EYgnxbn kwe4tdvT4/qpwkAbUMWIF45qki5nuhF7ZowEmOHljJLn0euxzP1nv6dPIOE9exblbV FCj5E0jlyqw2Bx6Lwy7Fbn+8eiaDXfdEOrrhO96onulyZnI2BoykcL2mEuH5sbhtAq KBci3ES1jHuEk6g266coq4P3CSfOA5fO79XRgwEebfigRfiCh1axg/H1p/pMESNd1c INZPxwZ+gboYQ== Date: Mon, 27 Jun 2022 16:22:32 +0200 From: Bengt Richter Message-ID: <20220627142232.GA17131@LionPure> References: <87sftc4osu.fsf@gmail.com> <87h79slysd.fsf@gnu.org> <87sft13dyv.fsf@gmail.com> <874k59d802.fsf@gnu.org> <87wnhy2w73.fsf_-_@gmail.com> <878rudzsmv.fsf@gnu.org> <87sfozzglf.fsf_-_@gmail.com> <875ykpdsbd.fsf_-_@gmail.com> <87mtdyif6j.fsf@gnu.org> <20220627112315.GA7679@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220627112315.GA7679@LionPure> User-Agent: Mutt/1.10.1 (2018-07-13) 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656339827; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=VC1mUhupUDwJzEGHWthJFZjzsekvQypcLk+Q3LLikrI=; b=SBb5EX9dnf1DgmfUxUHnLIJFGRticlpEmnyre4Q5q2C9MGjsCQnyANwMWzj21fv8r5Uopx ONaP6ZTOsHRi8fUpUzEL2ev7WhggCoKg+mAcZN/tWSx3jMtglu6hM1uhgzzDNfcag5Efbd 7Ke1eeHWx4X/1zzH3XF/0Jt50PkdYm4s2V+PSsYw9+wICbJSsnguhgcExyKsEnS9QR1X2R 6T+ghtTEuJl7W6d4DRiZuAyI9SI9qKeqr1wqzrak8++StaXpuqW8XgN96sTyI76xsgZNKh TJr8mqlDIHRgadm8W+a68xvNZvjN7b0ZOGQnzCnXlfkwakBZPzpxpSlpxpnXZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656339827; a=rsa-sha256; cv=none; b=JrWbliXMlEWw3YGU5bbXlIyAOXMCgfrZkoeRnYewK2hE+IcekWjDYbsdpd1lYeKXAutFim skbCbQsw3Ga+40F3fE1QWpmQLPUdBrmM7eFlLwEnlNYAXUdIfXMjF1licuibhRgoXs3HGv gSQ90t9U1v6ykptixpE56iMNQ/9n/Co3v6W2jMZ/GiTO/1RnSwgP2on/stRNNgXdSi1eZK WilS8aKljruYC4wvAmcq5KNMAtDipolaXm8aeUQtWFL5OIjGkcB3vrgjOKUeavdYby3oEj 3kZg72noScAfoHrfbcZtlaGo/LkdBjsXvI+MHg2F2C5lQ7GRf+xo02PGhBFZ1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b="kPR1VE9/"; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=H3j3eatW; 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: 0.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b="kPR1VE9/"; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=H3j3eatW; 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: A71CB192D3 X-Spam-Score: 0.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: PsdikL2mA4W/ On +2022-06-27 13:23:15 +0200, bokr@bokr.com wrote: > > > If this is all about capturing an environment as text, > how about > > --8<---------------cut here---------------start------------->8--- > xargs -0 < /proc/$$/environ > --8<---------------cut here---------------end--------------->8--- > > [...] > Actually, why fight shell stuff when guile can read it? Or are these modules not available in your context? --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (use-modules (ice-9 textual-ports)) scheme@(guile-user)> (define ep (open-input-file "/proc/12430/environ")) scheme@(guile-user)> (define es (get-string-all ep)) --8<---------------cut here---------------end--------------->8--- es from above got it all, when I tried manually as above. FWIW I also did the same with (use-modules (rnrs bytevectors)) and the nulls show up as the expected zeroes. -- Regards, Bengt Richter