GNU bug report logs - #46303
Typo helper doesn't always know which command is missing

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Leo Famulari <leo@HIDDEN>; dated Thu, 4 Feb 2021 19:54:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Feb 2021 19:53:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 04 14:53:50 2021
Received: from localhost ([127.0.0.1]:42310 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l7khK-0000oI-0r
	for submit <at> debbugs.gnu.org; Thu, 04 Feb 2021 14:53:50 -0500
Received: from lists.gnu.org ([209.51.188.17]:55926)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1l7khG-0000o6-RH
 for submit <at> debbugs.gnu.org; Thu, 04 Feb 2021 14:53:48 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:58914)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1l7khG-00026q-GZ
 for bug-guix@HIDDEN; Thu, 04 Feb 2021 14:53:46 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:56587)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1l7khE-0003S8-Oq
 for bug-guix@HIDDEN; Thu, 04 Feb 2021 14:53:46 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 8B9C95C0087;
 Thu,  4 Feb 2021 14:53:43 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Thu, 04 Feb 2021 14:53:43 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:in-reply-to; s=mesmtp; bh=E+VeGl9Axk0kkkjNT64zGW5V
 cTaVfOFLRIVKdmDW8Dg=; b=BnfHZHKKo2yg8q1sNhGCR6AmGPChqTUCzdHreeBq
 Mu4gHJFJTXkunJr04sxcn52IfJ+jInYZxhmAJuKrdgnz00Ul6PMTUKLAgnN0uUAt
 RJH+eqOl1VDsSS/xJM1HPwd1sHBM99/8WR0ApkxBo4PJgHHSTeznnUz1ldlublHS
 HYg=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=E+VeGl
 9Axk0kkkjNT64zGW5VcTaVfOFLRIVKdmDW8Dg=; b=vYc7yVYKHA1BMptimROgF5
 9Glhos0Pd9RhlB8HwUjRXgp3+QHFuZJ+x8sZTi8TTBjVDt3p8vIqonHUgfx89my2
 YmR0qfJv87kAIenJiVUMXpJB9Qfd4ORD67nn1gL8nvoUlnbVP1l9QeO+6vEroZTz
 paUtd8GNANvsp6aVJOLRujErOFwIxvYZrhVPbP05wc5SEhsSdzBWTBQiNHwddGJf
 e5ZDoBSQBVB/6wUSK6TLiDNWOr2RigmSzp5L2eQT+tgvs9i3Uls6wgk/TeiqRvzX
 UepO8orlK32H2+Ncf2G/iIqtAdmELbAeOaZTBXHXOmz1dhseIXLCaw8cMtNt/unw
 ==
X-ME-Sender: <xms:x1AcYBdNNx3n5Hk7KPosYILmOhDObM_VZy0rkJB2pwmtqNPy3RGVeg>
 <xme:x1AcYI0vl_5TrMHsh4vsiecrBH6wIs7zUzQfXIcFph-YuiWEHVhkhGtjrqfSHDvyH
 UeDXBYWYofT58eapA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeeggdduvddvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre
 dttddtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr
 rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepvddvudegffefiedttdfhfedvuefhgf
 ekieekgeekveetgefhfeetgfegueduffeinecuffhomhgrihhnpehgnhhurdhorhhgnecu
 kfhppedutddtrdduuddrudeiledruddukeenucevlhhushhtvghrufhiiigvpedtnecurf
 grrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv
X-ME-Proxy: <xmx:x1AcYKjk5QhKnWc5DWTxRHxdIq-bBk0kEZV4S9jyjotnOApWa6uM1w>
 <xmx:x1AcYORTrwRZwiI4mYCYUCB8rRPJk8NyGbmGONSP9CTOiHweA_X8rA>
 <xmx:x1AcYLgTAHsBSuRKfqeyor7fIUFo1ADa0ViB6nRQ0C0jtSqDtcPV4w>
 <xmx:x1AcYM8PeUY6LfgGeH-uzHbZxf0gQDaCRX3Chp73IMA0gmEgD7NU2A>
Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net
 [100.11.169.118])
 by mail.messagingengine.com (Postfix) with ESMTPA id 2A5731080064;
 Thu,  4 Feb 2021 14:53:43 -0500 (EST)
Date: Thu, 4 Feb 2021 14:53:41 -0500
From: Leo Famulari <leo@HIDDEN>
To: zimoun <zimon.toutoune@HIDDEN>
Subject: Typo helper doesn't always know which command is missing
Message-ID: <YBxQxSO57N4kV4N0@HIDDEN>
References: <20210115163732.53665-1-zimon.toutoune@HIDDEN>
 <20210119212810.20681-1-zimon.toutoune@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20210119212810.20681-1-zimon.toutoune@HIDDEN>
Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@HIDDEN;
 helo=out5-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: bug-guix@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

On Tue, Jan 19, 2021 at 10:28:08PM +0100, zimoun wrote:
> * guix/utils.scm (string-distance): New procedure.
> (string-closest): New procedure.
> * tests/utils.scm: Test it.

This is a great feature, but I found a tricky failure:

------
$ ./pre-inst-env guix system vm --no-grafts doc/os-config-bare-bones.texi --substitute-urls=https://ci.guix.gnu.org -d
guix: system: command not found                                                                                                          
hint: Did you mean `system'?

Try `guix --help' for more information.
$ guix environment guix
$ ./pre-inst-env guix system vm --no-grafts doc/os-config-bare-bones.texi -d
/gnu/store/pw453xpixcll02w1nz9mfggm2cn0jqpx-run-vm.sh.drv
------

It will only be seen by developers, so not a big deal, but it would
still be nice to correctly report which command is missing. Some
run-time dependency of guix is missing.




Acknowledgement sent to Leo Famulari <leo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#46303; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 4 Feb 2021 20:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.