GNU bug report logs - #78133
`./pre-inst-env guix lint` does not work at all

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: "nomike (they/them)" <nomike@HIDDEN>; Keywords: moreinfo; dated Tue, 29 Apr 2025 14:04:06 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) moreinfo. Request was from Simon Tournier <zimon.toutoune@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 78133) by debbugs.gnu.org; 29 Apr 2025 23:24:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 29 19:24:26 2025
Received: from localhost ([127.0.0.1]:37338 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9uJO-0004bK-Ch
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 19:24:26 -0400
Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:52526)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1u9uJL-0004b2-LH
 for 78133 <at> debbugs.gnu.org; Tue, 29 Apr 2025 19:24:24 -0400
Received: by mail-pl1-x633.google.com with SMTP id
 d9443c01a7336-223fd89d036so83174045ad.1
 for <78133 <at> debbugs.gnu.org>; Tue, 29 Apr 2025 16:24:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1745969056; x=1746573856; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=kPa47k6SLtwx1FQdu9vUu0yvxVQ9qp8G1kXR4/tPCWk=;
 b=R4yerMQp6+yesEqM+btHvpx/rMa0Jm3Ze37YL2lhGBsS3iinmbpdg/Hg6nQdngw3X3
 UNRZpu2+H+1GEt6XgbEE6MguSAWcVVO5k0j6oUCYScnblITz7LiomrE600x4suJ6DKce
 /Z44UPodB3t7jivcM7NPBLOjqagQttNaln6MZz37axnXS0cpIJR1yYDtzJg9Jt4ifjoR
 fVDzuuL7lWZVeic3xxm63Z1cav7/z506lEDIzpR4ifedMfHxKxr5uy1a7+Z2LZvNXC5b
 Yb5czBJCbLnRfOjYMV9jbeN1C3RYjioXET0cLgi1wvuZFkmlzrcZAHwzR8ha9ntQMwWV
 YP1g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745969056; x=1746573856;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=kPa47k6SLtwx1FQdu9vUu0yvxVQ9qp8G1kXR4/tPCWk=;
 b=mBh0neMh5h2/YWxfe6S2+PQtKUk61m5rXePHRG3lnOBumGuGylxJXsvVztnjB5x2Za
 IMG6KiKUXKG3kLFr/IBdl/9v9Q6WUxzMuQ828Xqgq2KK1DWPNn+PGZRs7yz7MJgdDrvn
 2RsBE+7QJgfZAn84GBUoU3wLYodLYIhgBPAZUF8zyxf51bkn8o1YpkRpjYX6zcbgTQFw
 /mwE0uInLwCrfckL4p1XHW5AMB8Z2rx5R5MOBbEWnn9f7oS8nIFKwJr91A7SA4WPZpzu
 y9udVJyk18yfa9g0s87RNnJUyBrGT45CKb59GnwEeobj5rPZORqjSZ1tVuXBGIlD88TN
 QGAg==
X-Gm-Message-State: AOJu0Yy9l/T+1jaNHxSJc0wDkZ5+XwEkkkdCtAFB4Mgnf9KFuaHfekW5
 iHpEzW+AtQtgZlFSr8dP5KBl84b7FCPZVgRJkIKymDsWmupgQbdPaUegzg==
X-Gm-Gg: ASbGncv5YMUji/1BzsgDZ7TPy5EJHBzmUZYH+XpKdTOiM8J27Qi0FKF4nBpll2AKFxg
 8r3PdE4/GbZDbed9CdB1D9pv41xpHtrEIaExZyd8bhO4lhrWKIN93cOJjDb7kdXFySyx08HgD+4
 X0RQ/Yc/Grx8hWk82VIcnPrrw8/gzw2R8xIspx9eXXSHgjKI1uphlAKKOH7aiY47iBxliCxI86z
 r4ZjQus8jgaTVeuVGjoKJZYnFpvmeKx7RdfNoUmJNkuFvlBjpCuGo3vYH+DteXI1XjDqSIapQgv
 9VN3LdP4UczRavGXJ/PlsC/1geWxb2IEHQhBTcE=
X-Google-Smtp-Source: AGHT+IG8JZSaoZpefatXk+89vtTkRKYFsfBgoBNJJYbRZRzsCcS2hQsIQJAp0mWWJ6sk5usE4GHnXw==
X-Received: by 2002:a17:902:d589:b0:223:2cae:4a96 with SMTP id
 d9443c01a7336-22df583868fmr4645415ad.42.1745969056577; 
 Tue, 29 Apr 2025 16:24:16 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-22db5221a82sm108712365ad.257.2025.04.29.16.24.15
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 29 Apr 2025 16:24:16 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: "nomike (they/them)" <nomike@HIDDEN>
Subject: Re: bug#78133: `./pre-inst-env guix lint` does not work at all
In-Reply-To: <f773dc2f-58f5-4883-9420-caf885793c2a@HIDDEN>
 (nomike@HIDDEN's message of "Tue, 29 Apr 2025 15:57:41 +0200")
References: <f773dc2f-58f5-4883-9420-caf885793c2a@HIDDEN>
Date: Wed, 30 Apr 2025 08:24:13 +0900
Message-ID: <87frhqa6w2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78133
Cc: 78133 <at> debbugs.gnu.org
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: -1.0 (-)

Hi,

"nomike (they/them)" <nomike@HIDDEN> writes:

> Hi!
>
> I get an error when running =guix lint=:
>
> #+BEGIN_EXAMPLE text
> $ ./pre-inst-env guix lint catch2@HIDDEN
> guix: lint: command not found
> hint: Did you mean `lint'?
>
> Try `guix --help' for more information.
> #+END_EXAMPLE

I don't reproduce:

--8<---------------cut here---------------start------------->8---
~/src/guix$ ./pre-inst-env guix lint catch2@HIDDEN
guix lint: error: catch2: package not found for version 3.8.1
--8<---------------cut here---------------end--------------->8---

I'm not in a Guix shell environment, though I have a few Guile packages
installed in my user profile:

--8<---------------cut here---------------start------------->8---
$ guix package -I ^guile
guile-ssh     	0.18.0         	out	/gnu/store/mz4ib7rlcwxqahrbcg7njbi6r9ivjchb-guile-ssh-0.18.0
guile-sqlite3 	0.1.3          	out	/gnu/store/fjn1zy1hp882ss7k76w2jv7ma3r3d99v-guile-sqlite3-0.1.3
guile-readline	3.0.9          	out	/gnu/store/krbmim8zwwihgdn6jfyxzhnk320qfajz-guile-readline-3.0.9
guile-lib     	0.2.8          	out	/gnu/store/p7qx1yhxlz61r1hpcgdvdhqq343cryyp-guile-lib-0.2.8
guile-json    	4.7.3          	out	/gnu/store/711y2zrpg0ygxaghy72v8hzwla7mjaqg-guile-json-4.7.3
guile-hall    	0.4.1-1.7558ba9	out	/gnu/store/q2clfp1c8hghxnpddfsbgcq4qa2z02s4-guile-hall-0.4.1-1.7558ba9
guile-charting	0.2.0-1.75f755b	out	/gnu/store/bw0zq2f49q7yjspckd6gdwm7fsqvv9aw-guile-charting-0.2.0-1.75f755b
guile-ac-d-bus	1.0.0-beta.0   	out	/gnu/store/ssf3zj7cbaypqgwm48k3z3hlpifjz3ir-guile-ac-d-bus-1.0.0-beta.0
guile         	3.0.9          	out	/gnu/store/2dqynvxbfhw39bq8phw3kbpxcpd5yg0a-guile-3.0.9
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#78133; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 29 Apr 2025 14:03:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 29 10:03:10 2025
Received: from localhost ([127.0.0.1]:55085 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9lYC-0003L0-5a
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 10:03:09 -0400
Received: from lists.gnu.org ([2001:470:142::17]:39822)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <nomike@HIDDEN>) id 1u9lXs-0003H4-DP
 for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 10:02:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nomike@HIDDEN>) id 1u9lXR-00079Z-An
 for bug-guix@HIDDEN; Tue, 29 Apr 2025 10:02:22 -0400
Received: from shrimp.cherry.relay.mailchannels.net ([23.83.223.164])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <nomike@HIDDEN>) id 1u9lXO-0005Hv-NF
 for bug-guix@HIDDEN; Tue, 29 Apr 2025 10:02:20 -0400
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 83FC825441
 for <bug-guix@HIDDEN>; Tue, 29 Apr 2025 13:57:44 +0000 (UTC)
Received: from pdx1-sub0-mail-a290.dreamhost.com
 (trex-5.trex.outbound.svc.cluster.local [100.110.177.8])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id A0F72267AB
 for <bug-guix@HIDDEN>; Tue, 29 Apr 2025 13:57:43 +0000 (UTC)
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1745935063; a=rsa-sha256;
 cv=none;
 b=FyEs+mAEgbFArOmR7gtfJIHyWDEvysJKvDosqKowHYZ3ogmSb9FVsE+hn/qKqZaD6bNdo3
 0dsmWKoOPQAXVxHtXNEEh4FzRrUTwHjgOsU+btDFxZq+rp09JBbQ5Wb1b73lZ7D68T8Evh
 WgzIQnAf/T1Bmu3U/KrDXr4Ot7/39G3j4OdgbjEZqWayLCt6YGpUzc0SuzvV8S9qXmNBFN
 5OPe+BzhCjpwEHlSEA1PAPxDn/eJuCTRuAKOM+xOua7Wzmqg275AGmhEw+GaIWrWyvnC23
 Ih86pupdUp53OfFbQQ/7UVDye9O9SwKlfIT4Jxh9H3O5eGApmt9qfqKTgQ7ZQQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1745935063;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:dkim-signature:autocrypt:autocrypt;
 bh=lqX/7FH2anoVyk7ADDG6Bae80Ysn8i1dm3NowesUu0o=;
 b=O2b9KdjprXKmwF4kv9C/5bUYng1Eqm93dmrBhW7chNZNq9cNWjOowO2YHEyhd4U2itpR76
 owyLTsD8TOyIw2uQv+nSLY57/BiSN7a1xro2uTErV67hC+scw8PsXIZkB2r3NWmRSX0wdr
 7bFKqQ6RGwCr8CQVfCipy4R84zANGayZwO4s4Np46B/9XzhhaW4Ap1sdPS1DxTzftf7SV6
 wGY6VjlqdvgBAu6woGKtufhbIFaaUQG/d3mnbuHlY+4Z6rOUiilvCC0Ne+qQe/5uVn7lNS
 gKoOUxUYSj7mg7lAy4XCdyzIyWOLIAKyiyn0BELK8crEgjtTslAEmQ4Y2WesZA==
ARC-Authentication-Results: i=1; rspamd-5b9d6b59fc-c89dm;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=nomike@HIDDEN
X-Sender-Id: dreamhost|x-authsender|nomike@HIDDEN
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|nomike@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Left-Irritate: 0e52ad8446f28657_1745935064261_3485409725
X-MC-Loop-Signature: 1745935064261:856982891
X-MC-Ingress-Time: 1745935064261
Received: from pdx1-sub0-mail-a290.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384)
 by 100.110.177.8 (trex/7.0.3); Tue, 29 Apr 2025 13:57:44 +0000
Received: from [10.131.252.172] (unknown [81.16.158.36])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 (Authenticated sender: nomike@HIDDEN)
 by pdx1-sub0-mail-a290.dreamhost.com (Postfix) with ESMTPSA id 4Zn22H0y2lz1Q
 for <bug-guix@HIDDEN>; Tue, 29 Apr 2025 06:57:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomike.com;
 s=dreamhost; t=1745935063;
 bh=lqX/7FH2anoVyk7ADDG6Bae80Ysn8i1dm3NowesUu0o=;
 h=Date:To:From:Subject:Content-Type:Content-Transfer-Encoding;
 b=Sm+C/tf/PUqClJykXbhMGAX5loC6eXpfnyRmdaTsmL4Ni5PUq6WC99Y+rdvXdZexg
 PUgdsWlWdBLSYBArJ2k+oSU23ng+PD0uD98weaZaJ5xApgyDHoBxE5vKbbasbTp+o4
 L+00E+dDmFMKC6AwOidmfGRHP0cmA35B0VeHCTet/cwk3q7iRcFMrqAojpNX1ZZIj0
 KIr+dYnLo6eM40YAX3AF7Y0U3punGId73YxVFweQAK9vSsChcpE/QtgL1NDOrdOTwh
 M7aOvoxibYbXSg164UdcEaNmSRVdb8Uv7N0xb0ojycDCfsgHdKez2rdS3VJAkiUYKJ
 NujJJeSRhuQFg==
Message-ID: <f773dc2f-58f5-4883-9420-caf885793c2a@HIDDEN>
Date: Tue, 29 Apr 2025 15:57:41 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: bug-guix@HIDDEN
From: "nomike (they/them)" <nomike@HIDDEN>
Subject: `./pre-inst-env guix lint` does not work at all
Autocrypt: addr=nomike@HIDDEN; keydata=
 xjMEZ+8bGhYJKwYBBAHaRw8BAQdAnX/6ThbmnmGYDNklZjA0bz600QNUdP+ajuwTe4TVe4PN
 L25vbWlrZSBQb3N0bWFubiAodGhleS90aGVtKSA8bm9taWtlQG5vbWlrZS5jb20+wpkEExYK
 AEECGwMFCQWjmoACHgcCF4AWIQRDQfMGyihCx53NO0tbWPztpJIHVwUCZ+8vPgULCQgHAgIi
 AgYVCgkICwIEFgIDAQAKCRBbWPztpJIHV6A3APoCTSYs7uR0ZoxGMoEFdDUdgbdmPFNZSNoA
 3J5js9FQwgD/UUGwD9PCILmGZTeyG1BmUUFIDshW/NlKtgzc38AeRQ3OOARn7xsaEgorBgEE
 AZdVAQUBAQdAQYFr4LDmq9tDyrJ1hmbnQ18nN/TEzmM+X0Dc84f+51UDAQgHwn4EGBYKACYW
 IQRDQfMGyihCx53NO0tbWPztpJIHVwUCZ+8bGgIbDAUJBaOagAAKCRBbWPztpJIHV549AQCo
 MLaLPJ8OhIRvEJkvS2nVEn+D/DKG7bxxbyvB5gwaqgEA3aVP643HUqWDp2u9q+57SCycExVI
 mOW3VG9jxDNJlAc=
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=23.83.223.164; envelope-from=nomike@HIDDEN;
 helo=shrimp.cherry.relay.mailchannels.net
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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
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: -0.1 (/)

Hi!

I get an error when running =guix lint=:

#+BEGIN_EXAMPLE text
$ ./pre-inst-env guix lint catch2@HIDDEN
guix: lint: command not found
hint: Did you mean `lint'?

Try `guix --help' for more information.
#+END_EXAMPLE

I'm not in a guix shell though.

The guix handbook talks a lot about running =guix style=, =guix lint=, 
etc.  in chapter 22.10 Submitting Patches[0] but nowhere mentions the 
use of `./pre-inst-env` or `guix shell`, so there is some room for 
improvement here, I guess.

Chaper 22.2 Building from Git[1] mentions to run =guix shell -D guix 
-CPW=, but if I try to run =guix lint= in there, I'm getting errors 
about network access. If I add the =--network= parameter, it still 
complains about SSL certificates not being verifiable, so I needed to 
run this in the end, which finally worked:

#+BEGIN_EXAMPLE text
$ guix shell --container --link-profile --nesting --network 
--development guix nss-certs
#+END_EXAMPLE

IMHO this should be documented somewhere.

It took me, reading a lot of documentation, asking a friend who is a 
seasoned guix developer and asking on IRC a number of times to piece all 
the necessary bits together.

And the error message about =lint= not existing and asking whether I 
have misspelled it and rather meant =lint=  doesn't make sense and IMHO 
should never happen.

Cheers

nomike

[0] https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html
[1] https://guix.gnu.org/manual/devel/en/html_node/Building-from-Git.html





Acknowledgement sent to "nomike (they/them)" <nomike@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#78133; 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: Mon, 16 Jun 2025 13:15:04 UTC

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