From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WIhPFscfaWB8AgAAgWs5BA (envelope-from ) for ; Sun, 04 Apr 2021 04:09:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2KAmEMcfaWBKFgAAbx9fmQ (envelope-from ) for ; Sun, 04 Apr 2021 02:09:11 +0000 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 B3144E3E7 for ; Sun, 4 Apr 2021 04:09:10 +0200 (CEST) Received: from localhost ([::1]:60040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSsCL-0003ty-Rz for larch@yhetil.org; Sat, 03 Apr 2021 22:09:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSsCE-0003te-S7 for bug-guix@gnu.org; Sat, 03 Apr 2021 22:09:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSsCE-0004c3-L9 for bug-guix@gnu.org; Sat, 03 Apr 2021 22:09:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lSsCE-0006GL-GQ for bug-guix@gnu.org; Sat, 03 Apr 2021 22:09:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47496: Very slow `guix environment -l nyxt/build-scripts/guix.scm Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Apr 2021 02:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47496 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Received: via spool by 47496-submit@debbugs.gnu.org id=B47496.161750210524007 (code B ref 47496); Sun, 04 Apr 2021 02:09:02 +0000 Received: (at 47496) by debbugs.gnu.org; 4 Apr 2021 02:08:25 +0000 Received: from localhost ([127.0.0.1]:34684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSsBc-0006F8-PM for submit@debbugs.gnu.org; Sat, 03 Apr 2021 22:08:25 -0400 Received: from imta-36.everyone.net ([216.200.145.36]:60844 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lSsBZ-0006Ey-CE for 47496@debbugs.gnu.org; Sat, 03 Apr 2021 22:08:23 -0400 Received: from pps.filterd (m0004960.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.43/8.16.0.43) with SMTP id 13423bLp029146; Sat, 3 Apr 2021 19:08:17 -0700 X-Eon-Originating-Account: 5xnY-mx1e_YGygGkuvttNu5c8BAJaGYnuNgIAvRU1uk X-Eon-Dm: m0116952.ppops.net Received: by m0116952.mta.everyone.net (EON-AUTHRELAY2 - 53b92b82) id m0116952.60622040.78a23; Sat, 3 Apr 2021 19:08:16 -0700 X-Eon-Sig: AQMHrIJgaR+QPZL9YgIAAAAD,5453dbe1afaf0af5ce6c7fc4f4317641 X-Eip: 1-pOUxrzJmBtbeOi0rXaze-WvobE6eV_kfaOiiUfK6E Date: Sun, 4 Apr 2021 04:08:08 +0200 From: Bengt Richter Message-ID: <20210404020808.GA10840@LionPure> References: <87tuotez7x.fsf@ambrevar.xyz> <874kgp3ze2.fsf@gnu.org> <87k0plw1bg.fsf@ambrevar.xyz> <87mtufp5vj.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87mtufp5vj.fsf@ambrevar.xyz> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-ORIG-GUID: fxm7ES2YYjY4DNaPQveXxbw2No08mhlM X-Proofpoint-GUID: fxm7ES2YYjY4DNaPQveXxbw2No08mhlM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-04-03_13:2021-04-01, 2021-04-03 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 adultscore=0 suspectscore=0 phishscore=0 mlxlogscore=911 spamscore=0 bulkscore=0 priorityscore=1501 clxscore=1034 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104030000 definitions=main-2104040013 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: , Reply-To: Bengt Richter Cc: 47496@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617502150; h=from:from:sender:sender:reply-to: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; bh=t/B85LdE66f7TKQN2+uJhDJMH24rhMf6mvQfgiT8Fh4=; b=bpBSE4NA0Rl02RuoKgDyImdpGbrml3o2e2sErWVSmrB1XXCa/L3fxQKRGOUJGJBbF0xBxa x0u26VpZG74jEe4CrsFlQ05IRtSs8E67uCZnDnUDl/1uCKSOJbKFxq0XdASY7kEvPN/FSB FmV7V5Zh/mGkX/+HNGex49dRcpDvbhX2hxEVTufRM1WhCGHZZgttjvztxxZcO03J/uaZHp AQQO0BWTnuxrz5vT/0WjMNojaTxViHmZlVeA4Y2k426I1BBkih0SYXokD7hQiyRRF3ZNAt mJV+auUiGagKHvhe0J01vPHodpg3jmz/ju1umcg/vC8e6FCfctPAKbwkEpwa3g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617502150; a=rsa-sha256; cv=none; b=HtuLn3jZAitYa+GZ1Et1vdrTl0GPQU9dIccYyL88KZRzt4YFSmas5Eei4F/Ho0W1Hy9v2Y HpO+r5w8bh/dcU6vRFEFl15Rn0p3G9AfFURxTfdO0HBf2Ih/Ea4mhxaSxcsnTY6fOt1SRy ignDjA7U5sx3FFLWikvOOTJ8Yce1FY3xZrZvmGq7L+J/UDvSZMmjzm+/lX4dlA/CmYBtW7 kFA1Vhl2VRw+T1JXwcZ/EFtBxmCSAFOprbyDvfIhOzwI51idc1fZazLXgEA6Rc+hf+B+Yv yW1N+4d6Z9TMu7yz0jejRieSusOY+KySSDkhT6aeyocxNCgld44/ArcZ7UjC7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B3144E3E7 X-Spam-Score: -1.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: SdvKCGI167V4 Hi, On +2021-04-03 20:42:08 +0200, Pierre Neidhardt wrote: > I just tried the following: > > --8<---------------cut here---------------start------------->8--- > guix environment -l ... > --8<---------------cut here---------------end--------------->8--- > > was forever until I stopped it. > Then > > > --8<---------------cut here---------------start------------->8--- > guix environment --no-grafts -l ... > --8<---------------cut here---------------end--------------->8--- > > completed in a few seconds. > > After this, > > --8<---------------cut here---------------start------------->8--- > guix environment -l ... > --8<---------------cut here---------------end--------------->8--- > > again completed in just a few seconds too. > Could bash have cached a reference somwhere that made the difference? If you are running in bash, type hash to get a listing of things it has hash-table reference to see also help bash (unless your shell context is different, in which case, for convenience, the expected output is: --8<---------------cut here---------------start------------->8--- hash: hash [-lr] [-p pathname] [-dt] [name ...] Remember or display program locations. Determine and remember the full pathname of each command NAME. If no arguments are given, information about remembered commands is displayed. Options: -d forget the remembered location of each NAME -l display in a format that may be reused as input -p pathname use PATHNAME as the full pathname of NAME -r forget all remembered locations -t print the remembered location of each NAME, preceding each location with the corresponding NAME if multiple NAMEs are given Arguments: NAME Each NAME is searched for in $PATH and added to the list of remembered commands. Exit Status: Returns success unless NAME is not found or an invalid option is given. --8<---------------cut here---------------end--------------->8--- Usually this bites me by keeping on doing something old in spite of PATH changes, but if "something old" got established by your > --8<---------------cut here---------------start------------->8--- > guix environment --no-grafts -l ... > --8<---------------cut here---------------end--------------->8--- maybe it could have gotten hash-cached and remembered to make --8<---------------cut here---------------start------------->8--- > guix environment -l ... > --8<---------------cut here---------------end--------------->8--- > "work" ?? Anyway, apparently some state change is "remembered" in your sequence above, so I was reminded :) > -- > Pierre Neidhardt > https://ambrevar.xyz/ -- Regards, Bengt Richter