From debbugs-submit-bounces@debbugs.gnu.org Fri May 22 10:59:14 2020 Received: (at submit) by debbugs.gnu.org; 22 May 2020 14:59:15 +0000 Received: from localhost ([127.0.0.1]:60021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc98k-0002Jl-OM for submit@debbugs.gnu.org; Fri, 22 May 2020 10:59:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:34050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jc98i-0002Jd-77 for submit@debbugs.gnu.org; Fri, 22 May 2020 10:59:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc98h-0001Qs-Sh for bug-guix@gnu.org; Fri, 22 May 2020 10:59:11 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:59973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jc98g-0006xl-EL for bug-guix@gnu.org; Fri, 22 May 2020 10:59:11 -0400 X-Originating-IP: 91.169.127.99 Received: from elite (91-169-127-99.subs.proxad.net [91.169.127.99]) (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 67D9240009 for ; Fri, 22 May 2020 14:59:06 +0000 (UTC) Message-ID: Subject: Misleading error message when call guix command using pre-inst-env script From: =?ISO-8859-1?Q?J=E9r=E9my?= Korwin-Zmijowski To: bug-guix@gnu.org Date: Fri, 22 May 2020 16:59:05 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.183.194; envelope-from=jeremy@korwin-zmijowski.fr; helo=relay2-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/22 10:25:19 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit 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 (---) Dear Guixters, According to Rekado, the error message, I get when using pre-inst-env script, is irrevelant. I quote : « the lack of an appropriate error message is not good. […] The error message should say what things are missing instead of printing a misleading error message about the package. » Here is my command line history : $ git clone https://git.savannah.gnu.org/git/guix.git $ cd guix $ guix environment --pure guix [dev]$ ./bootstrap && ./configure --localstatedir=/var && make && exit … $ ./pre-inst-env guix build artanis guix: build: command not found Try `guix --help' for more information. For what it worth, I run Guix on Ubuntu 20.04. Cheers, Jérémy